@syncfusion/ej2-fabric-theme 34.2.9 → 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 +419 -2
  40. package/styles/grid/_theme.scss +4 -1
  41. package/styles/grid/grid-lite.css +454 -2
  42. package/styles/grid/grid.css +515 -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,45 @@
1
+ @use 'variables' as *;
2
+
3
+ .e-richtexteditor-ui {
4
+ .e-rte-ui-toolbar .e-toolbar-item {
5
+ .e-rte-ui-dropdown-btn {
6
+ &:hover,
7
+ &:focus,
8
+ &:active,
9
+ &.e-active {
10
+ @if $theme-name =='FluentUI' or $theme-name =='fluentui-dark' or $theme-name =='bootstrap' or $theme-name =='fluent2' or $theme-name =='fluent2-dark' {
11
+ border-color: transparent;
12
+ }
13
+
14
+ @if $theme-name =='Material3' or $theme-name =='Material3-dark' {
15
+ background: $rte-ui-split-btn-span-hover-bg;
16
+ }
17
+
18
+ @if $theme-name =='FluentUI' or $theme-name =='fluentui-dark' or $theme-name =='tailwind' or $theme-name =='tailwind-dark' {
19
+ background: $rte-ui-split-btn-hover-bg;
20
+ }
21
+ }
22
+
23
+ &:focus-visible {
24
+ @if $theme-name =='fabric' or $theme-name =='fabric-dark' {
25
+ outline: none;
26
+ }
27
+ }
28
+ }
29
+ }
30
+
31
+ @if $skin-name =='material-dark' or $skin-name =='fabric' or $skin-name =='fabric-dark' or $skin-name =='bootstrap' or $skin-name =='bootstrap-dark' or $skin-name =='bootstrap4' {
32
+ .e-toolbar,
33
+ .e-toolbar .e-toolbar-pop {
34
+ border: $rte-ui-toolbar-pop-border;
35
+ }
36
+ }
37
+
38
+ @if $skin-name =='fluent2' {
39
+ .e-richtexteditor-ui {
40
+ .e-toolbar .e-hor-nav {
41
+ min-height: 40px;
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,653 @@
1
+ @use 'variables' as *;
2
+ @use 'mixin' as *;
3
+
4
+ @mixin toolbar-button-base-theme {
5
+ &:hover,
6
+ &:focus,
7
+ &:active,
8
+ &.e-active {
9
+ border: $rte-ui-hover-split-btn-border;
10
+ }
11
+
12
+ .e-icons {
13
+ color: $rte-ui-dropdown-color;
14
+ }
15
+
16
+ &:hover,
17
+ &:focus {
18
+ @if $theme-name =='tailwind' or $theme-name =='bootstrap4' or $theme-name =='bootstrap5.3' or $theme-name =='tailwind-dark' or $theme-name =='tailwind3' {
19
+ background: $rte-ui-split-btn-hover-bg;
20
+ }
21
+
22
+ .e-icons {
23
+ color: $rte-ui-icon-color;
24
+ }
25
+ }
26
+
27
+ &:hover {
28
+ .e-icons {
29
+ @if $theme-name =='bootstrap5.3' {
30
+ color: $rte-ui-hover-icons-color;
31
+ }
32
+ }
33
+ }
34
+
35
+ &:active {
36
+ .e-icons {
37
+ color: $rte-ui-active-btn-icons-color;
38
+ }
39
+ }
40
+
41
+ @if $theme-name =='FluentUI' or $theme-name =='fluentui-dark' {
42
+ border-color: transparent;
43
+ }
44
+ }
45
+
46
+ @mixin toolbar-button-active-theme {
47
+ .e-icons {
48
+ @if $theme-name !='bootstrap5.3' {
49
+ color: $rte-ui-icon-color;
50
+ }
51
+
52
+ @if $theme-name =='bootstrap5.3' {
53
+ color: $rte-ui-hover-icons-color;
54
+ }
55
+ }
56
+ border: $rte-ui-hover-split-btn-border;
57
+
58
+ @if $theme-name !='fluent2-highcontrast' {
59
+ background: $rte-ui-btn-active-bg;
60
+ }
61
+
62
+ @if $theme-name =='fluent2-highcontrast' {
63
+ background: $rte-ui-split-btn-hover-bg;
64
+ }
65
+ }
66
+
67
+ @mixin toolbar-split-wrapper-theme {
68
+ border-radius: $rte-ui-split-btn-border-radius;
69
+
70
+ .e-rte-ui-dropdown {
71
+ background: $rte-ui-default-btn-bg;
72
+ border: $rte-ui-split-btn-border;
73
+ }
74
+
75
+ .e-rte-ui-dropdown {
76
+ color: $rte-ui-dropdown-color;
77
+ }
78
+
79
+ &:hover {
80
+ background: $rte-ui-split-btn-hover-bg;
81
+
82
+ .e-rte-ui-dropdown {
83
+ border: $rte-ui-hover-split-btn-border;
84
+
85
+ @if $theme-name =='Material3' or $theme-name =='Material3-dark' {
86
+ border-image: none;
87
+ }
88
+ }
89
+
90
+ .e-split-btn:hover,
91
+ .e-dropdown-btn:hover {
92
+ @if $theme-name !='fluent2-highcontrast' {
93
+ background: $rte-ui-split-btn-span-hover-bg;
94
+ }
95
+
96
+ @if $theme-name =='fluent2-highcontrast' {
97
+ background: $rte-ui-split-btn-hover-bg;
98
+ }
99
+ }
100
+
101
+ .e-split-btn,
102
+ .e-dropdown-btn {
103
+ &:not(:hover) {
104
+ background: transparent;
105
+ }
106
+ }
107
+
108
+ .e-icons {
109
+ @if $theme-name !='bootstrap5.3' {
110
+ color: $rte-ui-icon-color;
111
+ }
112
+
113
+ @if $theme-name =='bootstrap5.3' {
114
+ color: $rte-ui-hover-icons-color;
115
+ }
116
+ }
117
+ }
118
+
119
+ &:active {
120
+ .e-rte-ui-dropdown {
121
+ border: $rte-ui-hover-split-btn-border;
122
+
123
+ &:active {
124
+ @if $theme-name =='Material3' or $theme-name =='Material3-dark' {
125
+ border-image: none;
126
+ }
127
+ }
128
+ }
129
+
130
+ .e-icons {
131
+ color: $rte-ui-active-btn-icons-color;
132
+ }
133
+ }
134
+
135
+ &:focus {
136
+ background: $rte-ui-split-btn-span-hover-bg;
137
+
138
+ .e-rte-ui-dropdown {
139
+ border: $rte-ui-hover-split-btn-border;
140
+
141
+ &:focus {
142
+ @if $theme-name =='Material3' or $theme-name=='Material3-dark' {
143
+ border-image: none;
144
+ }
145
+ }
146
+ }
147
+
148
+ .e-split-btn:focus,
149
+ .e-dropdown-btn:focus {
150
+ background: $rte-ui-split-btn-span-hover-bg;
151
+ }
152
+
153
+ .e-split-btn,
154
+ .e-dropdown-btn {
155
+ &:not(:focus) {
156
+ background: transparent;
157
+ }
158
+ }
159
+
160
+ .e-icons {
161
+ color: $rte-ui-icon-color;
162
+
163
+ @if ($theme-name =='fluent2' or $theme-name =='tailwind3') {
164
+ color: $rte-ui-default-icon-color;
165
+ }
166
+ }
167
+ }
168
+
169
+ &:has(.e-dropdown-btn.e-active) {
170
+
171
+ .e-split-btn,
172
+ .e-dropdown-btn {
173
+ @if $theme-name =='bootstrap-dark' or $theme-name =='tailwind' or $theme-name =='tailwind-dark' {
174
+ border: $rte-ui-hover-split-btn-border;
175
+ }
176
+
177
+ @if $theme-name !='bootstrap5.3' {
178
+ color: $rte-ui-icon-color;
179
+ }
180
+
181
+ @if $theme-name =='bootstrap5.3' {
182
+ color: $rte-ui-hover-icons-color;
183
+ }
184
+ }
185
+ }
186
+
187
+ .e-split-btn + .e-dropdown-btn.e-active {
188
+ background: $rte-ui-drop-btn-active-bg;
189
+ }
190
+
191
+ &:has(.e-dropdown-btn.e-active) .e-split-btn {
192
+ background: $rte-ui-split-btn-hover-bg;
193
+ }
194
+ }
195
+
196
+ @mixin toolbar-dropdown-button-theme {
197
+ box-shadow: none;
198
+ color: $rte-ui-dropdown-color;
199
+
200
+ &:hover,
201
+ &:focus,
202
+ &:active,
203
+ &.e-active {
204
+ border: $rte-ui-hover-split-btn-border;
205
+ color: $rte-ui-dropdown-transition-color;
206
+ }
207
+
208
+ &:focus-visible {
209
+ box-shadow: $rte-ui-button-focus-box-shadow;
210
+ }
211
+ }
212
+
213
+ @include export-module('richtexteditor-ui-themes') {
214
+ .e-richtexteditor-ui {
215
+ .e-rte-ui-container {
216
+ border: $rte-ui-container-border;
217
+
218
+ .e-rte-ui-content-container {
219
+ background: $rte-ui-content-bg;
220
+ color: $rte-ui-content-color;
221
+
222
+ .e-content {
223
+ blockquote {
224
+ border-left: $rte-ui-content-blockquote-border-left-color;
225
+ }
226
+
227
+ a {
228
+ color: $rte-ui-anchor-color;
229
+ }
230
+ }
231
+ }
232
+
233
+ .e-rte-ui-toolbar-wrapper {
234
+ &.e-toolbar-position-top {
235
+ border-bottom: $rte-ui-toolbar-wrapper-container-border-bottom;
236
+ }
237
+ background: $rte-ui-tbar-default-bg;
238
+
239
+ .e-rte-ui-toolbar.e-toolbar {
240
+ .e-tbar-btn {
241
+ border: $rte-ui-split-btn-border;
242
+ }
243
+
244
+ .e-toolbar-pop:not(.e-toolbar-extended) {
245
+ .e-toolbar-item {
246
+ display: inline-flex;
247
+ margin: $rte-ui-popup-item-padding;
248
+ }
249
+ }
250
+
251
+ .e-toolbar-pop.e-popup-open:not(.e-toolbar-extended) {
252
+ display: inline-flex;
253
+ flex-wrap: wrap;
254
+ max-width: 75%;
255
+ width: max-content;
256
+ padding: $rte-ui-popup-padding;
257
+ }
258
+
259
+ // Prevents flickering caused by dynamic max-width when popup opens
260
+ // Removes inherited max-height from toolbar component to ensure all items are visible
261
+ .e-toolbar-pop:not(.e-toolbar-extended) {
262
+ max-width: 75%;
263
+ max-height: none !important; /* stylelint-disable-line declaration-no-important */
264
+ }
265
+
266
+ .e-toolbar-pop:not(.e-toolbar-extended) {
267
+ .e-toolbar-item {
268
+ display: inline-flex;
269
+ margin: $rte-ui-popup-item-padding;
270
+ }
271
+ }
272
+
273
+ .e-toolbar-pop {
274
+ border: $rte-ui-toolbar-pop-border;
275
+ }
276
+ }
277
+
278
+ // @if $skin-name == 'tailwind' {
279
+ // .e-richtexteditor-ui .e-rte-ui-toolbar .e-toolbar-extended {
280
+ // background: $rte-ui-extended-toolbar-background;
281
+ // }
282
+ // }
283
+
284
+ .e-rte-ui-toolbar,
285
+ .e-rte-ui-container .e-rte-ui-quick-toolbar {
286
+ .e-toolbar-item:not(.e-overlay) {
287
+ .e-tbar-btn {
288
+ @include toolbar-button-base-theme();
289
+ }
290
+ }
291
+
292
+ .e-toolbar-item.e-active:not(.e-overlay) {
293
+ .e-tbar-btn {
294
+ @include toolbar-button-active-theme();
295
+ }
296
+ }
297
+
298
+ .e-toolbar-item {
299
+ .e-split-btn-wrapper {
300
+ @include toolbar-split-wrapper-theme();
301
+ }
302
+
303
+ .e-rte-ui-dropdown {
304
+ box-shadow: none;
305
+ }
306
+ }
307
+ }
308
+ }
309
+
310
+ .e-rte-ui-toolbar-wrapper.e-toolbar-position-bottom {
311
+ border-top: $rte-ui-wrapper-tb-bottom-border-top;
312
+ }
313
+ }
314
+
315
+ // Dropdown styles
316
+ .e-rte-ui-toolbar .e-toolbar-item {
317
+ .e-rte-ui-dropdown-btn:not(:hover):not(:focus):not(:active):not(.e-active) {
318
+ background: $rte-ui-default-btn-bg;
319
+ border: $rte-ui-split-btn-border;
320
+ }
321
+ }
322
+
323
+ .e-rte-ui-toolbar .e-toolbar-item {
324
+ .e-rte-ui-dropdown-btn {
325
+ box-shadow: none;
326
+ color: $rte-ui-dropdown-color;
327
+
328
+ &:hover,
329
+ &:focus,
330
+ &:active,
331
+ &.e-active {
332
+ border: $rte-ui-hover-split-btn-border;
333
+ color: $rte-ui-dropdown-transition-color;
334
+ }
335
+
336
+ &:focus-visible {
337
+ box-shadow: $rte-ui-button-focus-box-shadow;
338
+ }
339
+ }
340
+ }
341
+ }
342
+ .e-rte-ui-table-popup.e-popup.e-popup-open {
343
+ background-color: $rte-ui-content-bg;
344
+ color: $rte-ui-item-color;
345
+ }
346
+ @if $skin-name == 'bootstrap5' {
347
+ .e-rte-table-popup.e-popup.e-popup-open {
348
+ background-color: $rte-ui-table-popup-bg;
349
+ }
350
+ }
351
+ .e-rte-table-popup.e-popup.e-popup-open {
352
+ background-color: $rte-ui-table-popup-bg;
353
+ color: $rte-ui-table-popup-color;
354
+ }
355
+ .e-rte-ui-table-popup .e-span-border {
356
+ @if $skin-name != 'Material3' {
357
+ border: $rte-ui-container-border;
358
+ }
359
+ display: block;
360
+ margin-bottom: $rte-ui-table-span-margin-bottom;
361
+ margin-top: $rte-ui-table-span-margin-top;
362
+ }
363
+ .e-rte-ui-table-popup .e-rte-ui-table-popup-header {
364
+ color: $rte-ui-table-header-color;
365
+ font-family: $rte-ui-font-family;
366
+ font-size: $rte-ui-table-header-font-size;
367
+ text-align: center;
368
+ }
369
+ .e-rte-ui-table-popup.e-popup-open .e-rte-ui-table-popup-cell.e-default {
370
+ background-color: $rte-ui-table-span-bg-color;
371
+ }
372
+
373
+ .e-rte-ui-table-popup.e-popup-open .e-rte-ui-table-popup-cell.e-active {
374
+ background-color: $rte-ui-table-span-active-bg-color;
375
+ border: $rte-ui-table-span-active-border;
376
+ }
377
+ .e-rte-ui-dropdown-popup {
378
+ & ul {
379
+ & .e-item.e-active {
380
+ background: $rte-ui-dropdown-selection-bgcolor;
381
+ color: $rte-ui-dropdown-selection-color;
382
+ }
383
+ }
384
+ }
385
+
386
+ .e-rte-ui-toolbar .e-toolbar-item:not(.e-overlay),
387
+ .e-rte-ui-quick-popup .e-rte-ui-quick-toolbar .e-toolbar-item:not(.e-overlay) {
388
+ .e-rte-ui-dropdown {
389
+ box-shadow: none;
390
+ }
391
+ }
392
+ }
393
+
394
+ @mixin quick-toolbar-background-color {
395
+ @if $theme-name == 'bootstrap5' {
396
+ background: $content-bg-color;
397
+ }
398
+ @else if $theme-name == 'bootstrap5-dark' {
399
+ background: $content-bg-color-alt2;
400
+ }
401
+ @else {
402
+ background: $rte-ui-quick-popup-bg-color;
403
+ }
404
+ }
405
+
406
+ @mixin tip-pointer-color {
407
+ .e-rte-ui-tip-pointer {
408
+ &.e-rte-tip-top::before {
409
+ border-left: 8px solid transparent;
410
+ border-right: 8px solid transparent;
411
+
412
+ @if $theme-name == 'Material3' {
413
+ border-bottom: 10px solid rgb(244, 242, 247);
414
+ }
415
+ @else if $theme-name == 'Material3-dark' {
416
+ border-bottom: 10px solid rgb(44, 42, 54);
417
+ }
418
+ @else if $theme-name == 'bootstrap5' {
419
+ border-bottom: 10px solid $content-bg-color;
420
+ }
421
+ @else if $theme-name == 'bootstrap5-dark' {
422
+ border-bottom: 10px solid $content-bg-color-alt2;
423
+ }
424
+ @else {
425
+ border-bottom: 10px solid $rte-ui-quick-toolbar-tip-pointer-border;
426
+ }
427
+ }
428
+
429
+ &.e-rte-tip-top::after {
430
+ border-left: 7.5px solid transparent;
431
+ border-right: 7.5px solid transparent;
432
+ border-bottom: 9px solid $rte-ui-quick-toolbar-tip-pointer-content;
433
+ }
434
+
435
+ &.e-rte-tip-bottom::before {
436
+ border-left: 8px solid transparent;
437
+ border-right: 8px solid transparent;
438
+
439
+ @if $theme-name == 'Material3' {
440
+ border-top: 10px solid rgb(244, 242, 247);
441
+ }
442
+ @else if $theme-name == 'Material3-dark' {
443
+ border-top: 10px solid rgb(44, 42, 54);
444
+ }
445
+ @else if $theme-name == 'bootstrap5' {
446
+ border-top: 10px solid $content-bg-color;
447
+ }
448
+ @else if $theme-name == 'bootstrap5-dark' {
449
+ border-top: 10px solid $content-bg-color-alt2;
450
+ }
451
+ @else {
452
+ border-top: 10px solid $rte-ui-quick-toolbar-tip-pointer-border;
453
+ }
454
+ }
455
+
456
+ &.e-rte-tip-bottom::after {
457
+ border-left: 7.5px solid transparent;
458
+ border-right: 7.5px solid transparent;
459
+ border-top: 9px solid $rte-ui-quick-toolbar-tip-pointer-content;
460
+ }
461
+ }
462
+ }
463
+
464
+ @include export-module('richtexteditor-ui-quick-toolbar-theme') {
465
+ .e-rte-ui-quick-popup.e-rte-ui-elements {
466
+ box-shadow: $rte-ui-quick-popup-box-shadow;
467
+
468
+ @if $theme-name == 'fabric' or $theme-name == 'material' or $theme-name == 'Material3' or $theme-name == 'FluentUI' or $theme-name == 'bootstrap' or $theme-name == 'bootstrap5' {
469
+ filter: drop-shadow(0 2px 6px $rte-ui-quick-popup-filter-color);
470
+ }
471
+
472
+ .e-rte-ui-quick-toolbar.e-rte-ui-toolbar.e-toolbar {
473
+ @include quick-toolbar-background-color;
474
+
475
+ @if $skin-name == 'FluentUI' {
476
+ box-shadow: none;
477
+ }
478
+
479
+ @if $theme-name == 'highcontrast' {
480
+ border: $rte-ui-quick-popup-toolbar-border;
481
+ }
482
+
483
+ .e-toolbar-items:not(.e-tbar-pos) {
484
+ @include quick-toolbar-background-color;
485
+
486
+ .e-toolbar-item.e-overlay {
487
+ @include quick-toolbar-background-color;
488
+ }
489
+
490
+ .e-toolbar-item:not(.e-active) {
491
+ .e-tbar-btn,
492
+ .e-rte-ui-dropdown-btn {
493
+ &:not(.e-active):not(:hover):not(:focus):not(:active) {
494
+ @include quick-toolbar-background-color;
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+
501
+ @include tip-pointer-color();
502
+ }
503
+
504
+ // Apply toolbar button and dropdown styling to quick-toolbar popup
505
+ .e-rte-ui-quick-popup .e-rte-ui-quick-toolbar {
506
+ .e-toolbar-item:not(.e-overlay):not(.e-active) {
507
+ .e-tbar-btn {
508
+ @include toolbar-button-base-theme();
509
+ @include quick-toolbar-background-color;
510
+ }
511
+ }
512
+
513
+ .e-toolbar-item.e-active:not(.e-overlay) {
514
+ .e-tbar-btn {
515
+ @include toolbar-button-base-theme();
516
+ @include toolbar-button-active-theme();
517
+ }
518
+ }
519
+
520
+ .e-toolbar-item {
521
+ .e-split-btn-wrapper {
522
+ @include toolbar-split-wrapper-theme();
523
+ border-radius: $rte-ui-split-btn-border-radius;
524
+
525
+ .e-rte-ui-dropdown {
526
+ @include quick-toolbar-background-color;
527
+
528
+ &:hover {
529
+ background: $rte-ui-quick-tb-btn-hover;
530
+ }
531
+
532
+ &:focus {
533
+ background: $rte-ui-quick-pop-item-focus-bg;
534
+ }
535
+
536
+ &:active {
537
+ background: $rte-ui-quick-item-active-bg;
538
+ }
539
+ }
540
+ }
541
+
542
+ .e-rte-ui-dropdown-btn {
543
+ @include toolbar-dropdown-button-theme();
544
+
545
+ &:not(:hover):not(:focus):not(:active):not(.e-active) {
546
+ background: $rte-ui-quick-pop-bg;
547
+ border: $rte-ui-split-btn-border;
548
+ }
549
+ }
550
+
551
+ .e-tbar-btn {
552
+ border: $rte-ui-split-btn-border;
553
+ }
554
+ }
555
+ }
556
+ }
557
+
558
+ .e-rte-ui-font-colorpicker {
559
+ .e-custom-palette {
560
+ .e-tile.e-icons.e-custom-tile.e-selected::before {
561
+ color: $rte-ui-font-colorpicker-selection-icon-color;
562
+ }
563
+ }
564
+ }
565
+
566
+ .e-rte-ui-background-colorpicker {
567
+ .e-custom-palette {
568
+ .e-tile.e-icons.e-custom-tile.e-selected::before {
569
+ color: $rte-ui-background-colorpicker-selection-icon-color;
570
+ }
571
+ }
572
+ }
573
+
574
+ .e-richtexteditor-ui .e-rte-ui-container .e-rte-ui-toolbar-wrapper .e-rte-ui-toolbar,
575
+ .e-rte-ui-quick-popup .e-rte-ui-quick-toolbar {
576
+ .e-toolbar-item.e-active {
577
+ .e-split-btn-wrapper {
578
+ @if $theme-name == 'bootstrap-dark' or $theme-name == 'tailwind' or $theme-name == 'tailwind-dark' {
579
+ border: $rte-hover-split-btn-border;
580
+ }
581
+ @if $theme-name != 'fluent2-highcontrast' {
582
+ background: $rte-btn-active-bg;
583
+ }
584
+ @if $theme-name == 'fluent2-highcontrast' {
585
+ background: $rte-split-btn-hover-bg;
586
+ }
587
+ .e-split-btn,
588
+ .e-dropdown-btn {
589
+ background: transparent;
590
+ @if $theme-name != 'bootstrap5.3' {
591
+ color: $rte-icon-color;
592
+ }
593
+ @if $theme-name == 'bootstrap5.3' {
594
+ color: $rte-hover-icons-color;
595
+ }
596
+ }
597
+ }
598
+ }
599
+ }
600
+
601
+ .e-richtexteditor-ui .e-rte-ui-container .e-rte-ui-toolbar-wrapper .e-rte-ui-toolbar .e-toolbar-item,
602
+ .e-rte-ui-quick-popup .e-rte-ui-quick-toolbar .e-toolbar-item {
603
+ .e-colorpicker-wrapper:focus-visible,
604
+ .e-colorpicker-container:focus-visible,
605
+ .e-split-btn-wrapper:focus-visible,
606
+ .e-split-btn-wrapper:focus-visible {
607
+ @if $theme-name == 'bootstrap-dark' or $theme-name == 'tailwind' or $theme-name == 'tailwind-dark' {
608
+ border: $rte-hover-split-btn-border;
609
+ }
610
+ @if $theme-name != 'fluent2-highcontrast' {
611
+ background: $rte-split-btn-focus-bg;
612
+ }
613
+ @if $theme-name == 'fluent2-highcontrast' {
614
+ background: $rte-split-btn-hover-bg;
615
+ }
616
+ box-shadow: $rte-button-focus-box-shadow;
617
+ .e-split-btn,
618
+ .e-dropdown-btn {
619
+ &:not(:focus-visible) {
620
+ background: transparent;
621
+ @if $theme-name != 'bootstrap5.3' {
622
+ color: $rte-icon-color;
623
+ }
624
+ @if $theme-name == 'bootstrap5.3' {
625
+ color: $rte-hover-icons-color;
626
+ }
627
+ }
628
+ }
629
+ }
630
+ .e-split-btn-wrapper:not(:focus-visible):has(.e-dropdown-btn:focus-visible),
631
+ .e-split-btn-wrapper:not(:focus-visible):has(.e-split-btn:focus-visible) {
632
+ @if $theme-name == 'bootstrap-dark' or $theme-name == 'tailwind' or $theme-name == 'tailwind-dark' {
633
+ border: $rte-hover-split-btn-border;
634
+ }
635
+ @if $theme-name != 'fluent2-highcontrast' {
636
+ background: $rte-split-btn-focus-bg;
637
+ }
638
+ @if $theme-name == 'fluent2-highcontrast' {
639
+ background: $rte-split-btn-hover-bg;
640
+ }
641
+ box-shadow: $rte-button-focus-box-shadow;
642
+ .e-split-btn,
643
+ .e-dropdown-btn {
644
+ background: transparent;
645
+ @if $theme-name != 'bootstrap5.3' {
646
+ color: $rte-icon-color;
647
+ }
648
+ @if $theme-name == 'bootstrap5.3' {
649
+ color: $rte-hover-icons-color;
650
+ }
651
+ }
652
+ }
653
+ }
@@ -0,0 +1,2 @@
1
+ @forward '../base/common/_base-variables.scss';
2
+ @forward './_fabric-definition';
@@ -0,0 +1,13 @@
1
+ @use '../variables' as *;
2
+
3
+ /*! component's theme wise override definitions and variables */
4
+ @include export-module('richtexteditor-ui-fabric-icons') {
5
+
6
+ /*! richtexteditor-ui icons */
7
+ .e-rte-ui-toolbar-wrapper,
8
+ .e-rte-ui-quick-popup {
9
+ .e-create-table::before {
10
+ content: '\e294';
11
+ }
12
+ }
13
+ }