@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,902 @@
1
+ @use 'variables' as *;
2
+ @use 'mixin' as *;
3
+
4
+ @mixin toolbar-button-layout {
5
+ .e-tbar-btn.e-btn {
6
+ min-height: $rte-ui-split-btn-height;
7
+ min-width: $rte-ui-split-btn-height;
8
+ padding: $rte-ui-toolbar-tbar-btn-padding; //4.toolbar tbar-btn padding need to confirm and remove
9
+
10
+ &:hover,
11
+ &:active,
12
+ &:focus,
13
+ &.e-active {
14
+ border: $rte-ui-hover-split-btn-border;
15
+ padding: $rte-ui-toolbar-tbar-btn-hover-padding; //4.toolbar tbar-btn padding need to confirm and remove
16
+ }
17
+
18
+ .e-icons {
19
+ padding: $rte-ui-toolbar-tbar-btn-icons-padding; //4.toolbar tbar-btn padding need to confirm and remove
20
+ }
21
+ }
22
+ }
23
+
24
+ @mixin toolbar-button-default-border {
25
+ &:not(:hover):not(:focus):not(:active):not(.e-active) {
26
+ border: $rte-ui-split-btn-border;
27
+ }
28
+ }
29
+
30
+ @mixin toolbar-popup-layout {
31
+ background: $rte-ui-popup-bg;
32
+
33
+ .e-toolbar-item.e-toolbar-popup {
34
+ min-height: $rte-ui-popup-item-min-height;
35
+ }
36
+ }
37
+
38
+ @include export-module('richtexteditor-ui-layout') {
39
+
40
+ .e-richtexteditor-ui {
41
+ display: block;
42
+ position: relative;
43
+ background: $rte-ui-content-bg;
44
+
45
+ .e-disabled {
46
+ user-select: none;
47
+ pointer-events: none;
48
+ }
49
+
50
+ .tableWrapper {
51
+ overflow-x: auto;
52
+ }
53
+
54
+ table {
55
+ border-collapse: collapse;
56
+ table-layout: fixed;
57
+ width: 100%;
58
+ overflow: hidden;
59
+ margin: 12px 0;
60
+ }
61
+
62
+ td,
63
+ th {
64
+ vertical-align: top;
65
+ box-sizing: border-box;
66
+ position: relative;
67
+ border: 1px solid #d1d5db;
68
+ padding: 8px 12px;
69
+ min-width: 80px;
70
+ text-align: left;
71
+ }
72
+
73
+ th {
74
+ font-weight: 600;
75
+ }
76
+
77
+ td p,
78
+ th p {
79
+ margin: 0;
80
+ }
81
+
82
+ td:not([data-colwidth]):not(.column-resize-dragging),
83
+ th:not([data-colwidth]):not(.column-resize-dragging) {
84
+ min-width: var(--default-cell-min-width);
85
+ }
86
+
87
+ .column-resize-handle {
88
+ position: absolute;
89
+ right: -2px;
90
+ top: 0;
91
+ bottom: 0;
92
+ width: 4px;
93
+ z-index: 20;
94
+ background-color: rgb(170, 221, 255);
95
+ pointer-events: none;
96
+ }
97
+
98
+ .resize-cursor {
99
+ cursor: ew-resize;
100
+ cursor: col-resize;
101
+ }
102
+
103
+ .selectedCell::after {
104
+ z-index: 2;
105
+ position: absolute;
106
+ content: '';
107
+ left: 0;
108
+ right: 0;
109
+ top: 0;
110
+ bottom: 0;
111
+ background: rgba(200, 200, 255, .4);
112
+ pointer-events: none;
113
+ }
114
+
115
+ .e-rte-ui-table-popup.e-popup.e-popup-open {
116
+ border-radius: $rte-ui-table-popup-border-radius;
117
+ box-shadow: $rte-ui-table-popup-box;
118
+ font-size: $rte-ui-popup-open-font-size;
119
+ font-weight: $rte-ui-popup-open-font-weight;
120
+ min-width: 120px;
121
+ overflow: hidden;
122
+ padding: $rte-ui-table-popup-padding;
123
+ border: $rte-ui-table-popup-border;
124
+ }
125
+
126
+ .e-rte-ui-table-popup.e-popup-open .e-insert-table-btn {
127
+ width: $rte-ui-insert-table-btn-width;
128
+ }
129
+
130
+ .e-rte-ui-table-popup.e-popup-open .e-rte-ui-table-popup-cell {
131
+ border: $rte-ui-table-span-border;
132
+ display: inline-block;
133
+ height: $rte-ui-table-popup-tablecell-height;
134
+ margin: $rte-ui-table-popup-tablecell-margin;
135
+ overflow: hidden;
136
+ vertical-align: top;
137
+ width: $rte-ui-table-popup-tablecell-width;
138
+ }
139
+
140
+ // Editor container styles
141
+ .e-rte-ui-container {
142
+ position: relative;
143
+ display: flex;
144
+ flex-direction: column;
145
+ width: $rte-ui-container-width;
146
+ height: $rte-ui-container-height;
147
+ content: 'light-theme';
148
+
149
+ @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' {
150
+ content: 'dark-theme';
151
+ }
152
+
153
+ // Content conatainer styles
154
+ .e-rte-ui-content-container {
155
+ flex-grow: 1;
156
+ overflow: hidden;
157
+ transition: 100ms ease-out;
158
+ width: $rte-ui-content-width;
159
+ font-size: $rte-ui-content-font-size;
160
+
161
+ // e-content styles
162
+ .e-content {
163
+ width: $rte-ui-e-content-width;
164
+ display: block;
165
+ float: left;
166
+ background: unset;
167
+ box-sizing: border-box;
168
+ height: $rte-ui-content-height;
169
+ min-height: 100px;
170
+ outline: 0 solid transparent;
171
+ padding: $rte-ui-iframe-content-padding;
172
+ position: relative;
173
+ text-align: inherit;
174
+ z-index: 2;
175
+ font-weight: $rte-ui-content-font-weight;
176
+ line-height: $rte-ui-content-line-height;
177
+ font-size: 1em;
178
+ /* stylelint-disable property-no-vendor-prefix */
179
+ -webkit-overflow-scrolling: touch; //iOS devices scrolling smooth
180
+ // sass-lint:enabled no-vendor-prefixes
181
+ overflow: auto;
182
+ transition: 100ms ease-out;
183
+ }
184
+
185
+ // Placeholder styles
186
+ .e-placeholder-enabled::before {
187
+ content: attr(placeholder);
188
+ position: absolute;
189
+ opacity: .54;
190
+ left: 16px;
191
+ top: 16px;
192
+ color: $rte-ui-content-font-color;
193
+ pointer-events: none;
194
+ user-select: none;
195
+ font-size: $rte-ui-content-font-size;
196
+ }
197
+
198
+ [dir = 'rtl'].e-placeholder-enabled::before {
199
+ left: auto;
200
+ right: 16px;
201
+ direction: rtl;
202
+ text-align: right;
203
+ }
204
+ }
205
+
206
+ .e-rte-ui-content-container {
207
+ z-index: 1;
208
+ position: relative;
209
+ }
210
+
211
+ // Toolbar styles
212
+ .e-rte-ui-toolbar-wrapper {
213
+ height: $rte-ui-toolbar-wrapper-container-height;
214
+ z-index: 10;
215
+ white-space: nowrap;
216
+ border-radius: $rte-ui-toolbar-wrapper-border-radius;
217
+ border-top-left-radius: $rte-ui-top-left-border-radius;
218
+ border-top-right-radius: $rte-ui-top-right-border-radius;
219
+
220
+ .e-rte-ui-toolbar.e-toolbar {
221
+
222
+ @if $skin-name =='bootstrap5' {
223
+ &.e-toolbar .e-hor-nav {
224
+ min-height: $rte-ui-toolbar-expand-icon-min-height;
225
+ }
226
+ }
227
+
228
+ // Toolbar items stykes
229
+ .e-toolbar-items {
230
+
231
+ .e-hscroll-bar .e-hscroll-content .e-toolbar-item:first-child {
232
+ margin-left: $rte-ui-toolbar-item-first-child-margin-left;
233
+ }
234
+
235
+ .e-toolbar-item {
236
+ .e-rte-ui-dropdown-menu {
237
+ .e-rte-ui-dropdown-btn-text {
238
+ font-weight: normal;
239
+ overflow: hidden;
240
+ text-overflow: ellipsis;
241
+ white-space: nowrap;
242
+ }
243
+ }
244
+ }
245
+ }
246
+
247
+ .e-tbar-btn {
248
+ @include toolbar-button-default-border();
249
+ }
250
+
251
+ .e-toolbar-extended.e-visible {
252
+ display: block;
253
+ visibility: hidden;
254
+ }
255
+
256
+ .e-toolbar-pop.e-toolbar-extended {
257
+ margin-left: $rte-ui-toolbar-poup-extended-margin-left;
258
+ position: relative;
259
+ width: $rte-ui-pop-toolbar-extended-width;
260
+ top: 0 !important; /* stylelint-disable-line declaration-no-important */
261
+ left: 0 !important; /* stylelint-disable-line declaration-no-important */
262
+ }
263
+
264
+ //toolbar popup min height over riding start
265
+ .e-toolbar-pop:not(.e-toolbar-extended) {
266
+ @include toolbar-popup-layout();
267
+ }
268
+
269
+ .e-toolbar-pop.e-toolbar-extended.e-popup-open {
270
+ display: block;
271
+ }
272
+
273
+ @if $skin-name =='bootstrap5' {
274
+ &.e-toolbar .e-hor-nav {
275
+ min-height: $rte-ui-toolbar-expand-icon-min-height;
276
+ }
277
+ }
278
+
279
+ .e-toolbar-pop:not(.e-toolbar-extended) {
280
+ .e-toolbar-item.e-toolbar-popup:not(.e-overlay) .e-tbar-btn:hover .e-icons {
281
+ @if $theme-name =='bootstrap5.3' {
282
+ color: $rte-ui-hover-icons-color;
283
+ }
284
+ }
285
+
286
+ .e-toolbar-item.e-toolbar-popup .e-tbar-btn:not(:hover):not(:focus):not(:active):not(.e-active) {
287
+ @if $theme-name =='bootstrap4' {
288
+ background: $rte-ui-default-btn-bg;
289
+ }
290
+ }
291
+ }
292
+
293
+ // e-hor-nov styles
294
+ .e-hor-nav.e-expended-nav {
295
+ height: $rte-ui-expended-nav-min-height; //used toolbar component nav default min-height
296
+ min-height: $rte-ui-expended-nav-min-height; //used toolbar component nav default min-height
297
+ }
298
+
299
+ @if $skin-name =='fabric-dark' {
300
+ .e-toolbar .e-hor-nav {
301
+ min-height: 42px;
302
+ }
303
+ }
304
+
305
+ .e-colorpicker-wrapper {
306
+
307
+ .e-font-name,
308
+ .e-paint-bucket {
309
+ display: block;
310
+ font-family: 'e-icons';
311
+ font-weight: normal;
312
+ line-height: 1;
313
+ text-transform: none;
314
+ }
315
+
316
+ .e-split-btn-wrapper {
317
+ .e-split-colorpicker {
318
+ .e-selected-color {
319
+ background: none;
320
+ display: block;
321
+ margin-top: 3px;
322
+ width: 100%;
323
+ height: auto;
324
+
325
+ .e-split-preview {
326
+ height: 3px;
327
+ bottom: 0;
328
+ top: unset;
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+ }
335
+
336
+ .e-toolbar-extended .e-toolbar-item,
337
+ .e-toolbar-pop:not(.e-toolbar-extended) .e-toolbar-item.e-toolbar-popup,
338
+ .e-toolbar-item {
339
+ @include toolbar-button-layout();
340
+ }
341
+ }
342
+
343
+ // Floating toolbar
344
+ .e-rte-ui-toolbar-wrapper.e-toolbar-floating-enabled {
345
+ position: sticky;
346
+ top: 0;
347
+ overflow: visible;
348
+ }
349
+
350
+ // Bottom toolbar styles
351
+ .e-rte-ui-toolbar-wrapper.e-toolbar-position-bottom {
352
+ order: 999;
353
+ bottom: 0;
354
+ }
355
+ }
356
+
357
+ // RTL styles
358
+ .e-rtl {
359
+ .e-rte-ui-toolbar .e-hor-nav {
360
+ border-top-left-radius: $rte-ui-top-left-border-radius;
361
+ border-top-right-radius: $rte-ui-top-right-border-radius;
362
+ }
363
+
364
+ &.e-toolbar-expanded {
365
+ &.e-rte-fixed-tb-expand {
366
+ transition: none;
367
+ }
368
+ }
369
+ }
370
+
371
+ .e-rte-ui-linkcontent .e-rte-label {
372
+ padding-top: $rte-ui-insert-dialog-label-padding-top;
373
+ }
374
+
375
+ .e-dlg-content {
376
+ .e-rte-ui-label label,
377
+ .e-img-content .e-linkheader {
378
+ @if $skin-name =='tailwind3' {
379
+ font-weight: $font-weight-medium;
380
+ color: $rte-ui-content-font-color;
381
+ }
382
+ }
383
+ }
384
+
385
+ .e-rte-ui-linkcontent .e-rte-ui-label {
386
+ padding-top: $rte-ui-insert-dialog-label-padding-top;
387
+ }
388
+
389
+ .e-rte-ui-linkcontent .e-rte-ui-label:first-child {
390
+ padding-top: $rte-ui-link-label-first-child-padding-top;
391
+ }
392
+
393
+ .e-rte-ui-link-dialog {
394
+ .e-rte-ui-field:has(#protocolDropdownSlot) {
395
+ display: flex;
396
+ align-items: center;
397
+ gap: 10px;
398
+ }
399
+ .e-rte-ui-protocol-dropdown-slot .e-dropdown-btn {
400
+ min-width: $rte-ui-protocol-dropdown-width;
401
+ height: $rte-ui-protocol-dropdown-height;
402
+ border-top-right-radius: $rte-ui-protocol-dropdown-border-radius-top-right;
403
+ border-bottom-right-radius: $rte-ui-protocol-dropdown-border-radius-bottom-right;
404
+ }
405
+ .e-rte-ui-linkurl {
406
+ flex: 1;
407
+ border-top-left-radius: $rte-ui-protocol-dropdown-border-radius-bottom-right;
408
+ border-bottom-left-radius: $rte-ui-protocol-dropdown-border-radius-bottom-right;
409
+ }
410
+ }
411
+ }
412
+
413
+ .e-rte-ui-toolbar .e-remove-link::before {
414
+ content: '\e80c';
415
+ }
416
+ @if $skin-name == 'tailwind' {
417
+ .e-rte-table-popup.e-popup.e-popup-open {
418
+ box-shadow: $rte-ui-table-popup-box;
419
+ }
420
+ }
421
+ .e-rte-ui-insert-table-dialog .e-rte-field {
422
+ padding-top: $rte-ui-insert-dialog-label-padding-top;
423
+ }
424
+
425
+ .e-rte-ui-insert-table-dialog .e-rte-field:first-child {
426
+ padding-top: $rte-ui-table-dialog-label-padding-top;
427
+ }
428
+
429
+ .e-rte-ui-img-dialog .e-rte-ui-label {
430
+ padding-top: $rte-ui-insert-dialog-label-padding-top;
431
+ }
432
+
433
+ .e-rte-ui-img-dialog .e-rte-ui-label:first-child {
434
+ padding-top: $rte-ui-img-label-first-child-padding-top;
435
+ }
436
+
437
+ .e-rte-ui-full-screen {
438
+ .e-rte-ui-img-dialog {
439
+ max-height: $rte-ui-img-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
440
+ }
441
+ }
442
+
443
+ .e-rte-ui-img-dialog.e-dialog.e-device.e-dlg-modal {
444
+ .e-img-uploadwrap.e-droparea {
445
+ min-height: 50px;
446
+ position: relative;
447
+
448
+ .e-browsebtn {
449
+ display: block;
450
+ height: $rte-ui-dlg-modal-browse-btn-mobile-height;
451
+ margin: $rte-ui-dlg-modal-browse-btn-margin;
452
+ padding: $rte-ui-dlg-modal-browse-btn-padding;
453
+ position: relative;
454
+ top: 6px;
455
+ }
456
+
457
+ .e-upload {
458
+ border: $rte-ui-import-word-upload-border;
459
+ float: none;
460
+ }
461
+
462
+ .e-file-select-wrap {
463
+ display: none;
464
+ }
465
+ }
466
+ }
467
+
468
+ .e-dialog .e-img-uploadwrap.e-droparea {
469
+ min-height: 50px;
470
+ position: relative;
471
+
472
+ .e-rte-ui-upload-text {
473
+ display: inline-block;
474
+ line-height: $rte-ui-dialog-word-upload-text-line-height;
475
+ }
476
+
477
+ .e-browsebtn {
478
+ display: block;
479
+ height: $rte-ui-droparea-browsebtn-height;
480
+ margin: $rte-ui-droparea-browsebtn-margin;
481
+ padding: $rte-ui-droparea-browsebtn-padding;
482
+ position: relative;
483
+ top: 6px;
484
+ }
485
+ }
486
+
487
+ .e-rte-ui-img-dialog {
488
+ .e-img-uploadwrap.e-droparea {
489
+ .e-file-select-wrap {
490
+ display: none;
491
+ }
492
+
493
+ .e-upload {
494
+ border: $rte-ui-media-droparea-upload-border;
495
+ float: none;
496
+ }
497
+ }
498
+ }
499
+
500
+ .e-rte-ui-img-dialog .e-linkheader {
501
+ font-size: $rte-ui-insert-dialog-font-size;
502
+ opacity: .87;
503
+ padding-bottom: $rte-ui-insert-dialog-label-padding-bottom;
504
+ padding-top: $rte-ui-insert-dialog-label-padding-top;
505
+ }
506
+
507
+ .e-dialog .e-img-uploadwrap .e-droptext {
508
+ border: $rte-ui-drop-text-border;
509
+ border-radius: $rte-ui-upload-drag-border-radius;
510
+ font-size: $rte-ui-drop-text-font-size;
511
+ height: $rte-ui-drop-text-height;
512
+ text-align: center;
513
+ display: flex;
514
+ flex-direction: column;
515
+ justify-content: center;
516
+ align-items: center;
517
+ }
518
+ }
519
+
520
+ .e-rte-ui-dropdown-popup {
521
+
522
+ ul {
523
+ .e-item {
524
+
525
+ &.e-h1 {
526
+ font-size: 2em;
527
+ font-weight: bold;
528
+ height: 40px;
529
+
530
+ @if $skin-name =='fluent2' {
531
+ line-height: 24px;
532
+ }
533
+
534
+ @else {
535
+ line-height: 40px;
536
+ }
537
+ }
538
+
539
+ &.e-h2 {
540
+ font-size: 1.5em;
541
+ font-weight: bold;
542
+ height: 40px;
543
+
544
+ @if $skin-name =='fluent2' {
545
+ line-height: 24px;
546
+ }
547
+
548
+ @else {
549
+ line-height: 40px;
550
+ }
551
+ }
552
+
553
+ &.e-h3 {
554
+ font-size: 1.16em;
555
+ font-weight: bold;
556
+ }
557
+
558
+ &.e-h4 {
559
+ font-size: 1em;
560
+ font-weight: bold;
561
+ }
562
+
563
+ &.e-segoe-ui {
564
+ font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
565
+ }
566
+
567
+ &.e-arial {
568
+ font-family: 'Arial', 'Helvetica', sans-serif;
569
+ }
570
+
571
+ &.e-courier-new {
572
+ font-family: 'Courier New', 'Courier', monospace;
573
+ }
574
+
575
+ &.e-georgia {
576
+ font-family: 'Georgia', 'Times New Roman', 'Times', serif;
577
+ }
578
+
579
+ &.e-helvetica {
580
+ font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
581
+ }
582
+
583
+ &.e-impact {
584
+ font-family: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
585
+ }
586
+
587
+ &.e-lucida-console {
588
+ font-family: 'Lucida Console', 'Monaco', monospace;
589
+ }
590
+
591
+ &.e-tahoma {
592
+ font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
593
+ }
594
+
595
+ &.e-times-new-roman {
596
+ font-family: 'Times New Roman', 'Times', serif;
597
+ }
598
+
599
+ &.e-trebuchet-ms {
600
+ font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', sans-serif;
601
+ }
602
+
603
+ &.e-verdana {
604
+ font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
605
+ }
606
+
607
+ &.e-roboto {
608
+ font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif;
609
+ }
610
+ }
611
+ }
612
+
613
+ .e-container {
614
+ .e-custom-palette {
615
+ .e-palette {
616
+ display: grid;
617
+ grid-row-gap: 12px;
618
+ padding: 12px;
619
+
620
+ .e-tile {
621
+ border-radius: 50%;
622
+ }
623
+
624
+ .e-tile.e-icons.e-custom-tile.e-selected::before {
625
+ content: '\e774';
626
+ position: absolute;
627
+ inset: 0;
628
+ display: flex;
629
+ align-items: center;
630
+ justify-content: center;
631
+ font-size: 16px;
632
+ z-index: 10;
633
+ }
634
+
635
+ .e-tile.e-selected {
636
+ outline: var(--color-sf-primary) .5px solid;
637
+ }
638
+ }
639
+
640
+ .e-row {
641
+ display: flex;
642
+ gap: 12px;
643
+ justify-content: flex-start;
644
+ }
645
+ }
646
+ }
647
+ .e-rte-ui-dropdown-btn-text-wrapper {
648
+ display: inline-flex;
649
+
650
+ .e-rte-ui-dropdown-btn-text {
651
+ // Need to check this
652
+ $font-weight: 300 !default;
653
+ font-weight: $font-weight;
654
+ overflow: hidden;
655
+ text-overflow: ellipsis;
656
+ white-space: nowrap;
657
+ }
658
+ }
659
+ }
660
+
661
+ .e-rte-ui-elements.e-slash-command {
662
+ .e-rte-quotes::before {
663
+ content: open-quote;
664
+ font-size: $rte-ui-slash-command-content-font-size;
665
+ line-height: $rte-ui-slash-command-content-line-height;
666
+ }
667
+
668
+ .e-rte-paragraph::before {
669
+ content: 'T';
670
+ font-size: $rte-ui-slash-command-para-before-font-size;
671
+ }
672
+
673
+ .e-rte-h1::before {
674
+ content: 'H1';
675
+ font-size: $rte-ui-slash-command-h1-before-font-size;
676
+ }
677
+
678
+ .e-rte-h2::before {
679
+ content: 'H2';
680
+ font-size: $rte-ui-slash-command-h2-before-font-size;
681
+ }
682
+
683
+ .e-rte-h3::before {
684
+ content: 'H3';
685
+ font-size: $rte-ui-slash-command-h3-before-font-size;
686
+ }
687
+
688
+ .e-rte-h4::before {
689
+ content: 'H4';
690
+ font-size: $rte-ui-slash-command-h4-before-font-size;
691
+ }
692
+
693
+ .e-rte-slash-command-item-text {
694
+ font-size: $rte-ui-slash-command-item-text-font-size;
695
+ display: block;
696
+ line-height: $rte-ui-slash-command-item-text-line-height;
697
+ padding: $rte-ui-slash-command-item-text-padding;
698
+ }
699
+
700
+ .e-rte-slash-command-item-description {
701
+ display: block;
702
+ line-height: $rte-ui-slash-command-item-description-line-height;
703
+ font-size: $rte-ui-slash-command-item-description-font-size;
704
+ padding: $rte-ui-slash-command-item-description-padding;
705
+ }
706
+
707
+ .e-slash-command-icon {
708
+ display: inline-block;
709
+ width: 50px;
710
+ font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
711
+ }
712
+
713
+ .e-rte-slash-command-item-content-description {
714
+ display: grid;
715
+ grid-template-columns: auto 1fr;
716
+ gap: $rte-ui-slash-command-description-gap;
717
+ align-items: center;
718
+ }
719
+
720
+ .e-rte-slash-command-item-content-description .e-slash-command-icon {
721
+ padding: $rte-ui-slash-command-icon-padding;
722
+ }
723
+
724
+ .e-rte-slash-command-item-content-description .e-rte-slash-command-item-text-column {
725
+ display: flex;
726
+ flex-direction: column;
727
+ }
728
+
729
+ .e-rte-slash-command-item-content-description .e-rte-slash-command-item-text,
730
+ .e-rte-slash-command-item-content-text {
731
+ font-weight: $rte-ui-slash-command-content-text-font-weight;
732
+ }
733
+
734
+ .e-rte-slash-command-item-content-text {
735
+ display: flex;
736
+ flex-direction: row;
737
+ align-items: center;
738
+ height: 25px;
739
+ }
740
+
741
+ .e-rte-slash-command-item-content-text .e-slash-command-icon {
742
+ margin-left: $rte-ui-slash-command-icon-margin-left;
743
+ width: 30px;
744
+ }
745
+ }
746
+
747
+ @mixin tip-pointer-layout {
748
+ .e-rte-ui-tip-pointer {
749
+ position: absolute;
750
+
751
+ &::before,
752
+ &::after {
753
+ content: '';
754
+ position: absolute;
755
+ width: $rte-ui-tip-pointer-before-after-width;
756
+ height: $rte-ui-tip-pointer-before-after-height;
757
+ pointer-events: none;
758
+ }
759
+
760
+ &.e-rte-tip-top {
761
+ &::after,
762
+ &::before {
763
+ bottom: 0;
764
+ }
765
+ }
766
+
767
+ &.e-rte-tip-bottom {
768
+ bottom: 0;
769
+
770
+ &::before,
771
+ &::after {
772
+ top: 0;
773
+ }
774
+ }
775
+
776
+ &.e-rte-tip-center,
777
+ &.e-rte-tip-center::before,
778
+ &.e-rte-tip-center::after {
779
+ left: 50%;
780
+ transform: translateX(-50%);
781
+ }
782
+
783
+ &.e-rte-tip-left,
784
+ &.e-rte-tip-left::before,
785
+ &.e-rte-tip-left::after {
786
+ left: 8.5px;
787
+ transform: translateX(-50%);
788
+ }
789
+
790
+ &.e-rte-tip-right,
791
+ &.e-rte-tip-right::before,
792
+ &.e-rte-tip-right::after {
793
+ right: 8.5px;
794
+ transform: translateX(50%);
795
+ }
796
+
797
+ &.e-rte-tip-leftmiddle,
798
+ &.e-rte-tip-leftmiddle::before,
799
+ &.e-rte-tip-leftmiddle::after {
800
+ left: 25%;
801
+ transform: translateX(-50%);
802
+ }
803
+
804
+ &.e-rte-tip-rightmiddle,
805
+ &.e-rte-tip-rightmiddle::before,
806
+ &.e-rte-tip-rightmiddle::after {
807
+ right: 25%;
808
+ transform: translateX(50%);
809
+ }
810
+ }
811
+ }
812
+
813
+ @include export-module('richtexteditor-ui-quick-toolbar-layout') {
814
+ .e-rte-ui-quick-popup {
815
+ border-radius: $rte-ui-quick-popup-border-radius;
816
+ border: $rte-ui-quick-popup-border;
817
+
818
+ .e-rte-ui-quick-toolbar.e-rte-ui-toolbar.e-toolbar {
819
+ min-height: $rte-ui-quick-toolbar-min-height;
820
+ min-width: $rte-ui-quick-toolbar-min-width;
821
+
822
+ .e-toolbar-item {
823
+ .e-rte-font-colorpicker .e-split-colorpicker.e-icons::before,
824
+ .e-rte-background-colorpicker .e-split-colorpicker.e-icons::before {
825
+ display: block;
826
+ font-family: 'e-icons';
827
+ font-weight: $rte-ui-color-picker-font-weight;
828
+ line-height: $rte-ui-color-picker-line-height;
829
+ text-transform: none;
830
+ }
831
+
832
+ .e-split-btn-wrapper {
833
+ .e-split-colorpicker {
834
+ .e-selected-color {
835
+ background: none;
836
+ display: block;
837
+ margin-top: $rte-ui-color-picker-margin-top;
838
+ width: $rte-ui-color-picker-width;
839
+ height: $rte-ui-color-picker-height;
840
+
841
+ .e-split-preview {
842
+ height: 3px;
843
+ bottom: 0;
844
+ top: unset;
845
+ }
846
+ }
847
+ }
848
+ }
849
+ }
850
+ }
851
+
852
+ .e-rte-ui-quick-toolbar {
853
+ .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
854
+ display: inline-block;
855
+ white-space: normal;
856
+ }
857
+
858
+ &.e-remove-white-space {
859
+ .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
860
+ white-space: nowrap;
861
+ }
862
+ }
863
+
864
+ .e-toolbar-items:not(.e-tbar-pos) {
865
+ min-height: $rte-ui-quick-toolbar-items-not-tbar-pos-min-height;
866
+ min-width: $rte-ui-quick-toolbar-items-not-tbar-pos-min-width;
867
+ margin: $rte-ui-quick-popup-outer-margin;
868
+
869
+ .e-toolbar-item {
870
+ margin: $rte-ui-popup-toolbar-item-margin;
871
+ min-height: $rte-ui-popup-toolbar-item-min-height;
872
+ min-width: $rte-ui-popup-toolbar-item-min-width;
873
+ padding: $rte-ui-quick-popup-inner-padding;
874
+ }
875
+
876
+ .e-toolbar-item.e-rte-horizontal-separator,
877
+ .e-toolbar-item.e-separator.e-multirow-separator.e-rte-horizontal-separator {
878
+ display: block;
879
+ height: 1px;
880
+ margin: $rte-ui-quick-toolbar-horizontal-separator-margin;
881
+ min-height: 1px;
882
+ }
883
+
884
+ .e-toolbar-item {
885
+ margin: $rte-ui-toolbar-item-frist-last-child-margin;
886
+
887
+ &:first-child,
888
+ &:last-child {
889
+ margin: $rte-ui-quick-horizontal-separator-first-margin;
890
+ }
891
+ }
892
+ }
893
+ }
894
+
895
+ &.e-hide {
896
+ display: block;
897
+ visibility: hidden;
898
+ }
899
+
900
+ @include tip-pointer-layout();
901
+ }
902
+ }