@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.
- package/package.json +2 -2
- package/styles/ai-assistview/_bigger.scss +9 -1
- package/styles/ai-assistview/_fabric-definition.scss +3 -0
- package/styles/ai-assistview/_layout.scss +77 -11
- package/styles/ai-assistview/_theme.scss +12 -1
- package/styles/ai-assistview/ai-assistview-lite.css +129 -28
- package/styles/ai-assistview/ai-assistview.css +144 -30
- package/styles/base/base.css +76 -8
- package/styles/base/common/_core.scss +39 -6
- package/styles/base/definition/_fabric.scss +19 -0
- package/styles/compatibility/fabric.css +1 -1
- package/styles/document-editor-container/_layout.scss +2 -0
- package/styles/excel-filter/_bigger.scss +1 -1
- package/styles/fabric-lite.css +3 -0
- package/styles/fabric-lite.scss +3 -0
- package/styles/fabric.css +3 -0
- package/styles/fabric.scss +3 -0
- package/styles/file-manager/_layout.scss +14 -3
- package/styles/file-manager/file-manager-lite.css +10 -2
- package/styles/file-manager/file-manager.css +10 -2
- package/styles/form-builder/_all.scss +2 -0
- package/styles/form-builder/_fabric-definition.scss +84 -0
- package/styles/form-builder/_layout.scss +2550 -0
- package/styles/form-builder/_mixin.scss +26 -0
- package/styles/form-builder/_theme.scss +711 -0
- package/styles/form-builder/_variables.scss +2 -0
- package/styles/form-builder/form-builder.css +2872 -0
- package/styles/form-builder/form-builder.scss +2 -0
- package/styles/form-builder/index.css +53 -0
- package/styles/form-builder/index.scss +53 -0
- package/styles/form-renderer/_layout.scss +83 -83
- package/styles/form-renderer/_theme.scss +19 -14
- package/styles/form-renderer/form-renderer.css +96 -93
- package/styles/gantt/_layout.scss +4 -0
- package/styles/gantt/gantt-lite.css +3 -0
- package/styles/gantt/gantt.css +3 -0
- package/styles/grid/_bigger.scss +70 -3
- package/styles/grid/_fabric-definition.scss +29 -0
- package/styles/grid/_layout.scss +423 -2
- package/styles/grid/_theme.scss +4 -1
- package/styles/grid/grid-lite.css +458 -2
- package/styles/grid/grid.css +519 -4
- package/styles/grid/icons/_fabric.scss +4 -0
- package/styles/headless-editor/_all.scss +2 -0
- package/styles/headless-editor/_bigger.scss +138 -0
- package/styles/headless-editor/_fabric-definition.scss +217 -0
- package/styles/headless-editor/_layout.scss +672 -0
- package/styles/headless-editor/_theme.scss +260 -0
- package/styles/headless-editor/_variables.scss +2 -0
- package/styles/headless-editor/headless-editor-lite.css +859 -0
- package/styles/headless-editor/headless-editor-lite.scss +2 -0
- package/styles/headless-editor/headless-editor.css +1003 -0
- package/styles/headless-editor/headless-editor.scss +3 -0
- package/styles/headless-editor/index-lite.css +2 -0
- package/styles/headless-editor/index-lite.scss +2 -0
- package/styles/headless-editor/index.css +2 -0
- package/styles/headless-editor/index.scss +2 -0
- package/styles/icons/fabric.css +37 -1
- package/styles/icons/fabric.scss +13 -1
- package/styles/kanban/_layout.scss +1 -1
- package/styles/kanban/kanban-lite.css +1 -1
- package/styles/kanban/kanban.css +1 -1
- package/styles/multi-select/_layout.scss +9 -0
- package/styles/multi-select/multi-select-lite.css +8 -0
- package/styles/multi-select/multi-select.css +8 -0
- package/styles/pager/_layout.scss +4 -0
- package/styles/pager/pager-lite.css +3 -0
- package/styles/pager/pager.css +3 -0
- package/styles/pdfviewer/_bigger.scss +162 -0
- package/styles/pdfviewer/_fabric-definition.scss +9 -0
- package/styles/pdfviewer/_theme.scss +2012 -46
- package/styles/pdfviewer/icons/_fabric.scss +44 -0
- package/styles/pdfviewer/pdfviewer-lite.css +1088 -43
- package/styles/pdfviewer/pdfviewer.css +1122 -53
- package/styles/pivotview/_layout.scss +8 -0
- package/styles/pivotview/_theme.scss +12 -3
- package/styles/pivotview/pivotview-lite.css +6 -2
- package/styles/pivotview/pivotview.css +6 -2
- package/styles/radio-button/_bigger.scss +1 -1
- package/styles/radio-button/_layout.scss +2 -2
- package/styles/ribbon/_layout.scss +12 -0
- package/styles/ribbon/ribbon-lite.css +4 -0
- package/styles/ribbon/ribbon.css +4 -0
- package/styles/rich-text-editor/_bigger.scss +7 -7
- package/styles/rich-text-editor/_fabric-definition.scss +2 -2
- package/styles/rich-text-editor/_layout.scss +16 -12
- package/styles/rich-text-editor/_theme.scss +3 -1
- package/styles/rich-text-editor/rich-text-editor-lite.css +21 -18
- package/styles/rich-text-editor/rich-text-editor.css +35 -32
- package/styles/richtexteditor-ui/_all.scss +2 -0
- package/styles/richtexteditor-ui/_bigger.scss +178 -0
- package/styles/richtexteditor-ui/_fabric-definition.scss +275 -0
- package/styles/richtexteditor-ui/_layout.scss +902 -0
- package/styles/richtexteditor-ui/_mixin.scss +45 -0
- package/styles/richtexteditor-ui/_theme.scss +653 -0
- package/styles/richtexteditor-ui/_variables.scss +2 -0
- package/styles/richtexteditor-ui/icons/_fabric.scss +13 -0
- package/styles/richtexteditor-ui/index-lite.css +22 -0
- package/styles/richtexteditor-ui/index-lite.scss +22 -0
- package/styles/richtexteditor-ui/index.css +22 -0
- package/styles/richtexteditor-ui/index.scss +22 -0
- package/styles/richtexteditor-ui/richtexteditor-ui-lite.css +1104 -0
- package/styles/richtexteditor-ui/richtexteditor-ui-lite.scss +3 -0
- package/styles/richtexteditor-ui/richtexteditor-ui.css +1228 -0
- package/styles/richtexteditor-ui/richtexteditor-ui.scss +4 -0
- package/styles/schedule/_layout.scss +0 -5
- package/styles/schedule/schedule-lite.css +0 -4
- package/styles/schedule/schedule.css +0 -4
- package/styles/spreadsheet/_bigger.scss +13 -0
- package/styles/spreadsheet/_fabric-definition.scss +2 -1
- package/styles/spreadsheet/_layout.scss +530 -3
- package/styles/spreadsheet/_theme.scss +143 -0
- package/styles/spreadsheet/spreadsheet-lite.css +423 -3
- package/styles/spreadsheet/spreadsheet.css +430 -3
- package/styles/spreadsheet-ribbon/_fabric-definition.scss +2 -0
- package/styles/spreadsheet-ribbon/_layout.scss +12 -0
- package/styles/spreadsheet-ribbon/spreadsheet-ribbon-lite.css +9 -0
- package/styles/spreadsheet-ribbon/spreadsheet-ribbon.css +9 -0
- package/styles/treegrid/_bigger.scss +1 -1
- package/styles/treegrid/_layout.scss +1 -1
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
@use 'variables' as *;
|
|
2
|
+
@include export-module('headless-editor-theme') {
|
|
3
|
+
|
|
4
|
+
/* ======== Main Editor ======== */
|
|
5
|
+
.e-headless-editor {
|
|
6
|
+
background: $he-bg-color;
|
|
7
|
+
color: $he-color;
|
|
8
|
+
|
|
9
|
+
> :first-child {
|
|
10
|
+
&::selection {
|
|
11
|
+
background: $he-text-selection-bg-color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Task List */
|
|
16
|
+
ul[data-type = 'taskList'] {
|
|
17
|
+
li {
|
|
18
|
+
> label {
|
|
19
|
+
input {
|
|
20
|
+
&:checked {
|
|
21
|
+
accent-color: $he-checklist-marker-checked-bg-color;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-role = 'collapsible-header'] {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: $he-collapsible-header-gap;
|
|
32
|
+
|
|
33
|
+
/* Collapsible toggle button */
|
|
34
|
+
.e-toggle-btn {
|
|
35
|
+
border: none;
|
|
36
|
+
background: none;
|
|
37
|
+
color: none;
|
|
38
|
+
transition: background-color .15s ease, color .15s ease, border-color .15s ease;
|
|
39
|
+
|
|
40
|
+
&:focus-visible {
|
|
41
|
+
outline: none;
|
|
42
|
+
}
|
|
43
|
+
&:hover {
|
|
44
|
+
background: $he-toggle-btn-hover;
|
|
45
|
+
}
|
|
46
|
+
&:active {
|
|
47
|
+
background: $he-toggle-btn-pressed;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
blockquote {
|
|
53
|
+
border-left-color: $he-blockquote-border-color;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Callout */
|
|
57
|
+
[data-type = 'callout'] {
|
|
58
|
+
&[data-variant = 'tip'] {
|
|
59
|
+
color: $he-callout-tip-text-color;
|
|
60
|
+
background-color: $he-callout-tip-bg-color;
|
|
61
|
+
@if $theme-name == 'highcontrast' {
|
|
62
|
+
border: 1px solid rgba(26, 26, 26, 1);
|
|
63
|
+
}
|
|
64
|
+
svg path {
|
|
65
|
+
fill: $he-callout-tip-text-color;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&[data-variant = 'note'] {
|
|
70
|
+
color: $he-callout-note-text-color;
|
|
71
|
+
background-color: $he-callout-note-bg-color;
|
|
72
|
+
@if $theme-name == 'highcontrast' {
|
|
73
|
+
border: 1px solid rgba(255, 217, 57, 1);
|
|
74
|
+
}
|
|
75
|
+
svg path {
|
|
76
|
+
fill: $he-callout-note-text-color;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&[data-variant = 'info'] {
|
|
81
|
+
color: $he-callout-info-text-color;
|
|
82
|
+
background-color: $he-callout-info-bg-color;
|
|
83
|
+
@if $theme-name == 'highcontrast' {
|
|
84
|
+
border: 1px solid rgba(34, 248, 255, 1);
|
|
85
|
+
}
|
|
86
|
+
svg path {
|
|
87
|
+
fill: $he-callout-info-text-color;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&[data-variant = 'warning'] {
|
|
92
|
+
color: $he-callout-warning-text-color;
|
|
93
|
+
background-color: $he-callout-warning-bg-color;
|
|
94
|
+
@if $theme-name == 'highcontrast' {
|
|
95
|
+
border: 1px solid rgba(255, 91, 4, 1);
|
|
96
|
+
}
|
|
97
|
+
svg path {
|
|
98
|
+
fill: $he-callout-warning-text-color;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&[data-variant = 'error'] {
|
|
103
|
+
color: $he-callout-error-text-color;
|
|
104
|
+
background-color: $he-callout-error-bg-color;
|
|
105
|
+
@if $theme-name == 'highcontrast' {
|
|
106
|
+
border: 1px solid rgba(253, 1, 0, 1);
|
|
107
|
+
}
|
|
108
|
+
svg path {
|
|
109
|
+
fill: $he-callout-error-text-color;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&[data-variant = 'success'] {
|
|
114
|
+
color: $he-callout-success-text-color;
|
|
115
|
+
background-color: $he-callout-success-bg-color;
|
|
116
|
+
@if $theme-name == 'highcontrast' {
|
|
117
|
+
border: 1px solid rgba(117, 249, 76, 1);
|
|
118
|
+
}
|
|
119
|
+
svg path {
|
|
120
|
+
fill: $he-callout-success-text-color;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
a {
|
|
126
|
+
color: $he-link-anchor-color;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Inline code */
|
|
130
|
+
code {
|
|
131
|
+
&:not(pre *) {
|
|
132
|
+
background: $he-inline-code-bg-color;
|
|
133
|
+
color: $he-inline-code-text-color;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* ======== Code Block Styles ======== */
|
|
138
|
+
.e-code-block {
|
|
139
|
+
background: $he-code-block-container-bg-color;
|
|
140
|
+
border: $he-code-block-container-border-width solid $he-code-block-container-border-color;
|
|
141
|
+
|
|
142
|
+
pre {
|
|
143
|
+
background-color: $he-code-block-container-bg-color;
|
|
144
|
+
color: $he-color;
|
|
145
|
+
code {
|
|
146
|
+
background: transparent;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* ======== Divider Blocks Level styles ======== */
|
|
152
|
+
hr[contenteditable = 'false'] {
|
|
153
|
+
border: $he-divider-border solid $he-divider-border-color;
|
|
154
|
+
&:hover {
|
|
155
|
+
outline: 7px solid $he-divider-hover-bg-color;
|
|
156
|
+
}
|
|
157
|
+
&.ProseMirror-selectednode {
|
|
158
|
+
outline: 7px solid $he-divider-selected-bg-color;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* ======== Table Block Styles ======== */
|
|
163
|
+
.tableWrapper {
|
|
164
|
+
th,
|
|
165
|
+
td {
|
|
166
|
+
border: $he-table-block-border solid $he-table-border-color;
|
|
167
|
+
}
|
|
168
|
+
th {
|
|
169
|
+
background: $he-table-header-row-bg-color;
|
|
170
|
+
color: $he-table-header-color;
|
|
171
|
+
}
|
|
172
|
+
tr:has(th) {
|
|
173
|
+
background: $he-table-header-row-bg-color;
|
|
174
|
+
color: $he-table-header-color;
|
|
175
|
+
}
|
|
176
|
+
tr:has(td) {
|
|
177
|
+
background: $he-table-body-row-bg-color;
|
|
178
|
+
color: $he-table-body-color;
|
|
179
|
+
}
|
|
180
|
+
tr:hover:not(:has(> th.column-resize-dragging, > td.column-resize-dragging)) {
|
|
181
|
+
background: $he-table-row-hover-bg-color;
|
|
182
|
+
color: $he-table-row-hover-color;
|
|
183
|
+
.selectedCell {
|
|
184
|
+
@if $theme-name == 'fluent2-highcontrast'{
|
|
185
|
+
border-color: rgba(255, 255, 255, 1);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
tr:has(.selectedCell) {
|
|
190
|
+
color: $he-table-row-focus-color;
|
|
191
|
+
@if $theme-name == 'fluent2-highcontrast' {
|
|
192
|
+
color: rgba(255, 255, 255, 1);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.selectedCell {
|
|
196
|
+
border: $he-cell-focus-outline double $he-table-cell-focus-color;
|
|
197
|
+
background-color: $he-table-col-selected-bg;
|
|
198
|
+
@if $theme-name == 'fluent2-highcontrast' or $theme-name == 'highcontrast' {
|
|
199
|
+
border-color: rgba(255, 255, 255, 1);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* table row selection */
|
|
204
|
+
tr:not(:has(> th:not(.selectedCell), > td:not(.selectedCell))) {
|
|
205
|
+
background-color: $he-table-col-selected-bg;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* border style for row selection */
|
|
209
|
+
tr.e-row-selected td {
|
|
210
|
+
border: 1px double $he-table-row-col-selected-border;
|
|
211
|
+
@if $theme-name == 'fluent2-highcontrast' {
|
|
212
|
+
border-color: rgba(255, 255, 255, 1);
|
|
213
|
+
}
|
|
214
|
+
box-shadow: unset;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.column-resize-handle {
|
|
218
|
+
background-color: $he-table-row-col-hover-line;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* ======== Placeholder Styles ======== */
|
|
223
|
+
.e-placeholder-is-empty::before {
|
|
224
|
+
color: $he-block-placeholder-color;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Resizable NodeView */
|
|
228
|
+
.e-resizable-wrapper {
|
|
229
|
+
.e-resizable-handle {
|
|
230
|
+
background: $he-resizable-handle-bg-color;
|
|
231
|
+
border: 1px solid $he-resizable-handle-border-color;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* Selection ring — tight around the image, only visible when node is selected */
|
|
235
|
+
&.is-selected > img {
|
|
236
|
+
outline: 2px solid $he-resizable-wrapper-outline-color;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/* Prosemirror dynamic styles */
|
|
241
|
+
.ProseMirror-hideselection *::selection {
|
|
242
|
+
background: transparent;
|
|
243
|
+
}
|
|
244
|
+
.ProseMirror-hideselection {
|
|
245
|
+
caret-color: transparent;
|
|
246
|
+
}
|
|
247
|
+
.ProseMirror-selectednode {
|
|
248
|
+
outline: 3px solid $he-divider-selected-bg-color;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* ======== RTL Styles ======== */
|
|
252
|
+
&.e-rtl {
|
|
253
|
+
|
|
254
|
+
blockquote {
|
|
255
|
+
border-left-color: unset;
|
|
256
|
+
border-right-color: $he-blockquote-border-color;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|