devextreme-themebuilder 25.2.5 → 25.2.6

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 (35) hide show
  1. package/data/metadata/dx-theme-builder-metadata.js +6 -6
  2. package/data/scss/widgets/base/dataGrid/_common.scss +0 -30
  3. package/data/scss/widgets/base/dataGrid/_index.scss +7 -149
  4. package/data/scss/widgets/base/dataGrid/layout/cell.scss +286 -0
  5. package/data/scss/widgets/base/{_gridBase.scss → gridBase/_index.scss} +12 -239
  6. package/data/scss/widgets/base/gridBase/_variables.scss +12 -0
  7. package/data/scss/widgets/base/gridBase/layout/cell.scss +407 -0
  8. package/data/scss/widgets/base/scheduler/_index.scss +6 -2
  9. package/data/scss/widgets/base/treeList/_index.scss +9 -138
  10. package/data/scss/widgets/base/treeList/layout/cell.scss +223 -0
  11. package/data/scss/widgets/fluent/checkBox/_index.scss +1 -1
  12. package/data/scss/widgets/fluent/dataGrid/_index.scss +1 -46
  13. package/data/scss/widgets/fluent/dataGrid/layout/cell.scss +104 -0
  14. package/data/scss/widgets/fluent/gridBase/_index.scss +8 -342
  15. package/data/scss/widgets/fluent/gridBase/_variables.scss +10 -0
  16. package/data/scss/widgets/fluent/gridBase/layout/cell.scss +539 -0
  17. package/data/scss/widgets/fluent/treeList/_index.scss +1 -4
  18. package/data/scss/widgets/fluent/treeList/layout/cell.scss +8 -0
  19. package/data/scss/widgets/generic/dataGrid/_index.scss +1 -46
  20. package/data/scss/widgets/generic/dataGrid/layout/cell.scss +99 -0
  21. package/data/scss/widgets/generic/gridBase/_index.scss +8 -305
  22. package/data/scss/widgets/generic/gridBase/_variables.scss +1 -0
  23. package/data/scss/widgets/generic/gridBase/layout/cell.scss +478 -0
  24. package/data/scss/widgets/generic/scheduler/_sizes.scss +2 -2
  25. package/data/scss/widgets/generic/treeList/_index.scss +1 -7
  26. package/data/scss/widgets/generic/treeList/layout/cell.scss +20 -0
  27. package/data/scss/widgets/material/checkBox/_index.scss +1 -1
  28. package/data/scss/widgets/material/dataGrid/_index.scss +1 -45
  29. package/data/scss/widgets/material/dataGrid/layout/cell.scss +99 -0
  30. package/data/scss/widgets/material/gridBase/_index.scss +6 -344
  31. package/data/scss/widgets/material/gridBase/_variables.scss +10 -0
  32. package/data/scss/widgets/material/gridBase/layout/cell.scss +550 -0
  33. package/data/scss/widgets/material/treeList/_index.scss +1 -2
  34. package/data/scss/widgets/material/treeList/layout/cell.scss +8 -0
  35. package/package.json +1 -1
@@ -0,0 +1,539 @@
1
+
2
+ @use "sass:math";
3
+ @use "../colors" as *;
4
+ @use "../../colors" as *;
5
+ @use "../sizes" as *;
6
+ @use "../../sizes" as *;
7
+ @use "../../textEditor" as *;
8
+ @use "../../textEditor/sizes" as *;
9
+ @use "../variables" as *;
10
+
11
+ @mixin fluent-grid-base-cell($widget-name) {
12
+
13
+ // #region overflow
14
+
15
+ // (0,1,0)
16
+ .dx-cell-modified,
17
+ .dx-#{$widget-name}-invalid {
18
+ overflow: hidden;
19
+ text-overflow: ellipsis;
20
+ }
21
+
22
+ // (0,7,1) - (0,9,1)
23
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-select,
24
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-select,
25
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-select {
26
+ overflow: visible;
27
+ }
28
+
29
+ // #endregion
30
+
31
+ // #region sizing
32
+
33
+ // (0,1,0)
34
+ .dx-command-adaptive {
35
+ width: 2 * $fluent-grid-base-cell-horizontal-padding + $fluent-base-icon-size;
36
+ min-width: 2 * $fluent-grid-base-cell-horizontal-padding + $fluent-base-icon-size;
37
+ }
38
+
39
+ // (0,2,0)
40
+ .dx-#{$widget-name} .dx-command-drag {
41
+ width: 2 * $fluent-grid-base-cell-horizontal-padding + $fluent-base-icon-size;
42
+ min-width: 2 * $fluent-grid-base-cell-horizontal-padding + $fluent-base-icon-size;
43
+ }
44
+
45
+ // (0,7,1) - (0,9,1)
46
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-select,
47
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-select,
48
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-select {
49
+ width: $fluent-grid-base-command-select-column-width;
50
+ min-width: $fluent-grid-base-command-select-column-width;
51
+ }
52
+
53
+ // (0,7,1) - (0,9,1)
54
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-edit,
55
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-edit,
56
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-edit {
57
+ width: $fluent-grid-base-command-edit-column-width;
58
+ min-width: $fluent-grid-base-command-edit-column-width;
59
+ }
60
+
61
+ // (0,8,1) - (0,10,1)
62
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-edit.dx-command-edit-with-icons,
63
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-edit.dx-command-edit-with-icons,
64
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-edit.dx-command-edit-with-icons {
65
+ width: $fluent-grid-base-command-edit-column-with-icons-width;
66
+ min-width: $fluent-grid-base-command-edit-column-with-icons-width;
67
+ }
68
+
69
+ // #endregion
70
+
71
+ // #region border
72
+
73
+ // (0,2,1)
74
+ .dx-#{$widget-name} .dx-row-lines > td {
75
+ border-bottom: $datagrid-border;
76
+ border-bottom-color: $datagrid-border-color;
77
+ }
78
+
79
+ // (0,2,1)
80
+ .dx-#{$widget-name} .dx-column-lines > td {
81
+ border-left: $datagrid-border;
82
+ border-left-color: $datagrid-border-color;
83
+ border-right: $datagrid-border;
84
+ border-right-color: $datagrid-border-color;
85
+ }
86
+
87
+ // (0,3,0) - (0,4,0)
88
+ .dx-#{$widget-name}-rowsview .dx-master-detail-row > .dx-#{$widget-name}-group-space,
89
+ .dx-#{$widget-name}-rowsview .dx-master-detail-row .dx-master-detail-cell:not(.dx-row-lines) {
90
+ border-top: $datagrid-border;
91
+ border-top-color: $datagrid-border-color;
92
+ border-bottom: $datagrid-border;
93
+ border-bottom-color: $datagrid-border-color;
94
+ }
95
+
96
+ // (0,3,1)
97
+ .dx-#{$widget-name}-headers .dx-#{$widget-name}-table .dx-row > td {
98
+ border-bottom: $datagrid-border;
99
+ border-bottom-color: $datagrid-border-color;
100
+ }
101
+
102
+ // (0,3,1)
103
+ .dx-#{$widget-name}-rowsview .dx-row.dx-edit-row > td {
104
+ border-top: $datagrid-border;
105
+ border-top-color: $datagrid-border-color;
106
+ border-bottom: $datagrid-border;
107
+ border-bottom-color: $datagrid-border-color;
108
+ }
109
+
110
+ // (0,3,1)
111
+ .dx-#{$widget-name}-rowsview .dx-row-removed.dx-row-lines > td {
112
+ border-top: 1px solid;
113
+ border-top-color: $datagrid-cell-removed-border-color;
114
+ border-bottom: 1px solid;
115
+ border-bottom-color: $datagrid-cell-removed-border-color;
116
+ }
117
+
118
+ // (0,3,1)
119
+ .dx-#{$widget-name}-rowsview .dx-row-removed:not(.dx-row-lines) > td {
120
+ border-top: 1px solid;
121
+ border-top-color: $datagrid-hover-bg;
122
+ }
123
+
124
+ // (0,3,1) - (0,4,2)
125
+ .dx-#{$widget-name}-rowsview .dx-row-focused:not(.dx-row-lines) > td,
126
+ .dx-#{$widget-name}-rowsview .dx-row-focused:not(.dx-row-lines) > tr:first-child > td {
127
+ border-bottom: 1px solid;
128
+ border-bottom-color: $datagrid-row-focused-bg;
129
+ }
130
+
131
+ // (0,4,1)
132
+ .dx-#{$widget-name}-headers.dx-header-multi-row .dx-row.dx-header-row > td {
133
+ border-right: 1px solid;
134
+ border-right-color: $fluent-grid-base-border-color;
135
+ }
136
+
137
+ // (0,4,1)
138
+ .dx-#{$widget-name}-rowsview .dx-row.dx-edit-row:first-child > td {
139
+ border-top-width: 0;
140
+ border-bottom: $datagrid-border;
141
+ border-bottom-color: $datagrid-border-color;
142
+ }
143
+
144
+ // (0,4,1) - (0,5,1)
145
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-row-removed.dx-row-lines > td,
146
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-row.dx-row-lines.dx-edit-row > td {
147
+ border-top-width: 0;
148
+ }
149
+
150
+ // (0,5,1) - (0,6,1)
151
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td.dx-#{$widget-name}-group-space,
152
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td.dx-#{$widget-name}-group-space,
153
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td.dx-#{$widget-name}-group-space,
154
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td.dx-#{$widget-name}-group-space {
155
+ border-right-color: $datagrid-selection-bg;
156
+ }
157
+
158
+ // (0,5,1) - (0,6,1)
159
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td.dx-pointer-events-none,
160
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td.dx-pointer-events-none,
161
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td.dx-pointer-events-none,
162
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td.dx-pointer-events-none {
163
+ border-left-color: $datagrid-row-selected-border-color;
164
+ border-right-color: $datagrid-row-selected-border-color;
165
+ }
166
+
167
+ // (0,5,1) - (0,6,1)
168
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):not(.dx-row-lines) > td,
169
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover:not(.dx-row-lines) > td {
170
+ border-bottom: 1px solid;
171
+ border-bottom-color: $datagrid-selection-bg;
172
+ border-top: 1px solid;
173
+ border-top-color: $datagrid-selection-bg;
174
+ }
175
+
176
+ // (0,5,1) - (0,6,1)
177
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused).dx-row-lines > td,
178
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover.dx-row-lines > td {
179
+ border-bottom-color: $datagrid-row-selected-border-color;
180
+ }
181
+
182
+ // (0,7,1)
183
+ .dx-#{$widget-name}-headers.dx-header-multi-row:not(.dx-#{$widget-name}-sticky-columns) .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row.dx-header-row > td {
184
+ border-left: 1px solid;
185
+ border-left-color: $fluent-grid-base-border-color;
186
+ }
187
+
188
+ // (0,8,1)
189
+ .dx-#{$widget-name}-headers.dx-header-multi-row:not(.dx-#{$widget-name}-sticky-columns) .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row.dx-header-row > td:first-child {
190
+ border-left: none;
191
+ }
192
+
193
+ // (0,8,1)
194
+ .dx-#{$widget-name}-headers.dx-header-multi-row:not(.dx-#{$widget-name}-sticky-columns) .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row.dx-header-row > td:last-child {
195
+ border-right: none;
196
+ }
197
+
198
+ // (0,10,1)
199
+ .dx-rtl .dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-row-inserted):not(.dx-row-removed):not(.dx-edit-row):not(.dx-row-focused) > td:not(.dx-focused).dx-#{$widget-name}-group-space {
200
+ border-left-color: $datagrid-hover-bg;
201
+ border-right-color: transparent;
202
+ }
203
+
204
+ // RTL
205
+
206
+ // (0,4,1) - (0,5,2)
207
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row > td,
208
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row > tr > td,
209
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row:hover > td,
210
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row:hover > tr > td {
211
+ border-right-color: $datagrid-row-selected-border-color;
212
+ }
213
+
214
+ // (0,5,1) - (0,6,2)
215
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row > td.dx-pointer-events-none,
216
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row > tr > td.dx-pointer-events-none,
217
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row:hover > td.dx-pointer-events-none,
218
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row:hover > tr > td.dx-pointer-events-none {
219
+ border-left-color: $datagrid-row-selected-border-color;
220
+ }
221
+
222
+ // (0,6,1) - (0,7,2)
223
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row > td:not(.dx-focused).dx-#{$widget-name}-group-space,
224
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row > tr > td:not(.dx-focused).dx-#{$widget-name}-group-space,
225
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row:hover > td:not(.dx-focused).dx-#{$widget-name}-group-space,
226
+ .dx-rtl .dx-#{$widget-name}-rowsview .dx-selection.dx-row:hover > tr > td:not(.dx-focused).dx-#{$widget-name}-group-space {
227
+ border-left-color: $datagrid-selection-bg;
228
+ }
229
+
230
+ // #endregion
231
+
232
+ // #region border-radius
233
+
234
+ // (0,4,1)
235
+ .dx-#{$widget-name} .dx-#{$widget-name}-table .dx-header-row > td:first-child {
236
+ border-top-left-radius: $datagrid-border-radius;
237
+ }
238
+
239
+ // (0,4,1)
240
+ .dx-#{$widget-name} .dx-#{$widget-name}-table .dx-header-row > td:last-child {
241
+ border-top-right-radius: $datagrid-border-radius;
242
+ }
243
+
244
+ // #endregion
245
+
246
+ // #region padding
247
+
248
+ // (0,1,0)
249
+ .dx-cell-modified,
250
+ .dx-#{$widget-name}-invalid {
251
+ padding: $fluent-grid-base-cell-vertical-padding 0 $fluent-grid-base-cell-vertical-padding 0;
252
+ }
253
+
254
+ // (0,1,0)
255
+ .dx-editor-cell {
256
+ padding-top: 0;
257
+ padding-bottom: 0;
258
+ }
259
+
260
+ // (0,2,1)
261
+ .dx-#{$widget-name} .dx-row > td {
262
+ padding: $fluent-grid-base-cell-vertical-padding $fluent-grid-base-cell-horizontal-padding;
263
+ }
264
+
265
+ // (0,2,1)
266
+ .dx-#{$widget-name}-rowsview td.dx-validation-pending {
267
+ padding: 0;
268
+ }
269
+
270
+ // (0,3,0)
271
+ .dx-#{$widget-name}-rowsview .dx-master-detail-row > .dx-master-detail-cell {
272
+ padding: $grid-masterdetail-padding;
273
+ }
274
+
275
+ // (0,3,1)
276
+ .dx-#{$widget-name} .dx-#{$widget-name}-table .dx-header-row > td {
277
+ padding-top: $fluent-grid-base-header-cell-vertical-padding;
278
+ padding-bottom: $fluent-grid-base-header-cell-vertical-padding;
279
+ }
280
+
281
+ // (0,3,1)
282
+ .dx-#{$widget-name} .dx-#{$widget-name}-table .dx-#{$widget-name}-filter-row > td {
283
+ padding-top: 0;
284
+ padding-bottom: 0;
285
+ }
286
+
287
+ // (0,3,1)
288
+ .dx-#{$widget-name}-rowsview td.dx-validation-pending.dx-cell-modified,
289
+ .dx-#{$widget-name}-rowsview td.dx-validation-pending .dx-#{$widget-name}-invalid {
290
+ padding: $fluent-grid-base-cell-padding;
291
+ padding-right: $fluent-texteditor-invalid-badge-size;
292
+ }
293
+
294
+ // (0,4,0)
295
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-master-detail-row > .dx-master-detail-cell {
296
+ padding: 0;
297
+ }
298
+
299
+ // (0,4,1)
300
+ .dx-rtl.dx-#{$widget-name}-rowsview td.dx-validation-pending.dx-cell-modified,
301
+ .dx-rtl.dx-#{$widget-name}-rowsview td.dx-validation-pending .dx-#{$widget-name}-invalid,
302
+ .dx-rtl .dx-#{$widget-name}-rowsview td.dx-validation-pending.dx-cell-modified,
303
+ .dx-rtl .dx-#{$widget-name}-rowsview td.dx-validation-pending .dx-#{$widget-name}-invalid {
304
+ padding-left: $fluent-texteditor-invalid-badge-size;
305
+ padding-right: $fluent-grid-base-cell-horizontal-padding;
306
+ }
307
+
308
+ // (0,5,1)
309
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-data-row:not(.dx-row-lines, .dx-edit-row, .dx-selection, .dx-row-focused, .dx-row-removed) > td:not(.dx-editor-cell, .dx-master-detail-cell) {
310
+ padding-top: $fluent-grid-base-cell-vertical-padding + 1px;
311
+ }
312
+
313
+ // (0,5,1)
314
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-row.dx-edit-row > td.dx-command-edit {
315
+ padding-top: $fluent-grid-base-cell-vertical-padding - 1px;
316
+ }
317
+
318
+ // (0,6,1)
319
+ .dx-#{$widget-name}-headers.dx-header-multi-row .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row.dx-header-row > td {
320
+ padding-top: 12px;
321
+ padding-bottom: 12px;
322
+ }
323
+
324
+ // (0,6,1)
325
+ .dx-row.dx-group-row + .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-data-row td:not(.dx-command-expand, .dx-editor-cell),
326
+ .dx-row.dx-master-detail-row + .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-data-row td:not(.dx-command-expand, .dx-editor-cell) {
327
+ padding-top: $fluent-grid-base-cell-vertical-padding;
328
+ }
329
+
330
+ // (0,7,0)
331
+ .dx-#{$widget-name}-headers.dx-header-multi-row .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row.dx-header-row .dx-command-select {
332
+ padding-bottom: math.div($fluent-grid-base-header-height - $fluent-grid-base-checkbox-size, 2);
333
+ }
334
+
335
+ // (0,7,1)
336
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-row.dx-selection:not(.dx-edit-row):not(.dx-row-lines) > td:not(.dx-editor-cell, .dx-master-detail-cell),
337
+ .dx-#{$widget-name}-rowsview.dx-#{$widget-name}-sticky-columns .dx-row.dx-row-focused:not(.dx-edit-row):not(.dx-row-lines) > td:not(.dx-editor-cell, .dx-master-detail-cell) {
338
+ padding-bottom: $fluent-grid-base-cell-vertical-padding - 1px;
339
+ }
340
+
341
+ // (0,7,1) - (0,9,1)
342
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-expand,
343
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all) .dx-#{$widget-name}-group-space,
344
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-expand,
345
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending) .dx-#{$widget-name}-group-space,
346
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-expand,
347
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all) .dx-#{$widget-name}-group-space {
348
+ padding: 0 4px 0 8px;
349
+ }
350
+
351
+ // (0,8,1) - (0,10,1)
352
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-editor-cell:not(.dx-command-select),
353
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-editor-cell:not(.dx-command-select),
354
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-editor-cell:not(.dx-command-select) {
355
+ padding-right: 0;
356
+ }
357
+
358
+ // (0,9,1) - (0,11,1)
359
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-cell-expandable),
360
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-cell-expandable),
361
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-cell-expandable) {
362
+ padding-left: 0;
363
+ }
364
+
365
+ // #endregion
366
+
367
+ // #region background
368
+
369
+ // (0,2,1)
370
+ .dx-#{$widget-name} .dx-row-alt > td {
371
+ background-color: $datagrid-row-alternation-bg;
372
+ }
373
+
374
+ // (0,2,1)
375
+ .dx-#{$widget-name} .dx-#{$widget-name}-drop-highlight > td {
376
+ background-color: $datagrid-drop-highlight-bg;
377
+ }
378
+
379
+ // (0,2,1)
380
+ .dx-#{$widget-name}-rowsview .dx-row-removed > td {
381
+ background-color: $datagrid-row-removed-bg;
382
+ }
383
+
384
+ // (0,4,0)
385
+ .dx-#{$widget-name}-rowsview .dx-master-detail-row:not(.dx-#{$widget-name}-edit-form) > .dx-#{$widget-name}-group-space,
386
+ .dx-#{$widget-name}-rowsview .dx-master-detail-row:not(.dx-#{$widget-name}-edit-form) .dx-master-detail-cell {
387
+ background-color: $datagrid-master-detail-cell-bg;
388
+ }
389
+
390
+ // (0,4,0) - (0,6,0)
391
+ .dx-#{$widget-name}-rowsview .dx-data-row:not(.dx-edit-row) .dx-cell-modified,
392
+ .dx-#{$widget-name}-rowsview .dx-adaptive-detail-row:not(.dx-edit-row) .dx-cell-modified,
393
+ .dx-#{$widget-name}-rowsview .dx-data-row.dx-selection:not(.dx-edit-row) .dx-cell-modified,
394
+ .dx-#{$widget-name}-rowsview .dx-adaptive-detail-row.dx-selection:not(.dx-edit-row) .dx-cell-modified,
395
+ .dx-#{$widget-name}-rowsview .dx-data-row.dx-selection:hover:not(.dx-edit-row) .dx-cell-modified,
396
+ .dx-#{$widget-name}-rowsview .dx-adaptive-detail-row.dx-selection:hover:not(.dx-edit-row) .dx-cell-modified {
397
+ background-color: $datagrid-cell-modified-border-color;
398
+ }
399
+
400
+ // (0,4,1)
401
+ .dx-#{$widget-name}-headers.dx-#{$widget-name}-sticky-columns .dx-#{$widget-name}-filter-row > td.dx-#{$widget-name}-sticky-column,
402
+ .dx-#{$widget-name}-headers.dx-#{$widget-name}-sticky-columns .dx-#{$widget-name}-filter-row > td.dx-#{$widget-name}-sticky-column-left,
403
+ .dx-#{$widget-name}-headers.dx-#{$widget-name}-sticky-columns .dx-#{$widget-name}-filter-row > td.dx-#{$widget-name}-sticky-column-right {
404
+ background-color: $datagrid-filter-row-background-color;
405
+ }
406
+
407
+ // (0,4,1) - (0,5,2)
408
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td,
409
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td,
410
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td,
411
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td {
412
+ background-color: $datagrid-selection-bg;
413
+ }
414
+
415
+ // (0,5,1)
416
+ .dx-#{$widget-name}-headers .dx-#{$widget-name}-table .dx-row > td:not([class*="dx-command"], .dx-editor-cell, .dx-#{$widget-name}-group-space):hover {
417
+ background-color: $datagrid-hover-bg;
418
+ }
419
+
420
+ // (0,6,1)
421
+ .dx-#{$widget-name}-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused):not(.dx-cell-modified):not(.dx-#{$widget-name}-invalid) {
422
+ background-color: $datagrid-row-focused-bg;
423
+ }
424
+
425
+ // (0,7,1) - (0,7,2)
426
+ .dx-#{$widget-name}-rowsview .dx-row-focused.dx-data-row.dx-edit-row > td.dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-invalid),
427
+ .dx-#{$widget-name}-rowsview .dx-row-focused.dx-data-row.dx-edit-row > tr > td.dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-invalid) {
428
+ background-color: $datagrid-base-background-color;
429
+ }
430
+
431
+ // (0,8,1)
432
+ .dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-row-inserted):not(.dx-row-removed):not(.dx-edit-row):not(.dx-row-focused) > td:not(.dx-focused) {
433
+ background-color: $datagrid-hover-bg;
434
+ }
435
+
436
+ // (0,8,1)
437
+ .dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-row-inserted):not(.dx-row-removed):not(.dx-edit-row):not(.dx-row-focused) > td.dx-pointer-events-none {
438
+ background-color: transparent;
439
+ }
440
+
441
+ // #endregion
442
+
443
+ // #region color
444
+
445
+ // (0,2,1)
446
+ .dx-#{$widget-name} .dx-#{$widget-name}-drop-highlight > td {
447
+ color: $datagrid-drop-highlight-color;
448
+ }
449
+
450
+ // (0,2,1)
451
+ .dx-#{$widget-name}-rowsview .dx-row-removed > td {
452
+ color: $datagrid-cell-removed-text-color;
453
+ }
454
+
455
+ // (0,4,1) - (0,5,2)
456
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td,
457
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td,
458
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td,
459
+ .dx-#{$widget-name}-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td {
460
+ color: $datagrid-row-selected-color;
461
+ }
462
+
463
+ // (0,6,1)
464
+ .dx-#{$widget-name}-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused):not(.dx-cell-modified):not(.dx-#{$widget-name}-invalid) {
465
+ color: $datagrid-row-focused-color;
466
+ }
467
+
468
+ // (0,7,1)
469
+ .dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-row-inserted):not(.dx-row-removed):not(.dx-edit-row):not(.dx-row-focused) > td {
470
+ color: $datagrid-row-hovered-color;
471
+ }
472
+
473
+ // (0,7,1) - (0,7,2)
474
+ .dx-#{$widget-name}-rowsview .dx-row-focused.dx-data-row.dx-edit-row > td.dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-invalid),
475
+ .dx-#{$widget-name}-rowsview .dx-row-focused.dx-data-row.dx-edit-row > tr > td.dx-editor-cell:not(.dx-command-select):not(.dx-#{$widget-name}-invalid) {
476
+ color: $datagrid-base-color;
477
+ }
478
+
479
+ // #endregion
480
+
481
+ // #region typography
482
+
483
+ // (0,2,1)
484
+ .dx-#{$widget-name} .dx-row > td {
485
+ font-size: $fluent-grid-base-cell-font-size;
486
+ line-height: $fluent-grid-base-cell-line-height;
487
+ }
488
+
489
+ // (0,3,1)
490
+ .dx-#{$widget-name}-headers .dx-#{$widget-name}-table .dx-row > td {
491
+ line-height: $fluent-grid-base-header-line-height;
492
+ font-weight: $datagrid-columnchooser-font-weight;
493
+ font-size: $fluent-grid-base-header-cell-font-size;
494
+ }
495
+
496
+ // (0,7,1) - (0,9,1)
497
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-select,
498
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-select,
499
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-select {
500
+ line-height: 1;
501
+ }
502
+
503
+ // (0,7,1) - (0,9,1)
504
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-expand,
505
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all) .dx-#{$widget-name}-group-space,
506
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending).dx-command-expand,
507
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending) .dx-#{$widget-name}-group-space,
508
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all).dx-command-expand,
509
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all) .dx-#{$widget-name}-group-space {
510
+ line-height: 0;
511
+ }
512
+
513
+ // #endregion
514
+
515
+ // #region vertical-align
516
+
517
+ // (0,6,1) - (0,8,1)
518
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td:not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all),
519
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-cell-modified:not(.dx-field-item-content):not(.dx-validation-pending),
520
+ .dx-#{$widget-name} .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row > td.dx-#{$widget-name}-invalid:not(.dx-field-item-content):not(.dx-validation-pending):not(.dx-#{$widget-name}-select-all) {
521
+ vertical-align: middle;
522
+ }
523
+
524
+ // (0,6,1)
525
+ .dx-#{$widget-name}-headers.dx-header-multi-row .dx-#{$widget-name}-content .dx-#{$widget-name}-table .dx-row.dx-header-row > td {
526
+ vertical-align: bottom;
527
+ }
528
+
529
+ // #endregion
530
+
531
+ // #region position
532
+
533
+ // (0,2,1)
534
+ .dx-#{$widget-name}-rowsview td.dx-validation-pending {
535
+ position: relative;
536
+ }
537
+
538
+ // #endregion
539
+ }
@@ -23,8 +23,7 @@
23
23
  $header-filter-color-empty: $header-filter-color-empty,
24
24
  $base-focus-color: $base-focus-color,
25
25
  );
26
-
27
- // adduse
26
+ @use 'layout/cell';
28
27
  @include grid-base(treelist);
29
28
 
30
29
  .dx-treelist-rowsview {
@@ -45,8 +44,6 @@
45
44
  }
46
45
 
47
46
  .dx-treelist-cell-expandable {
48
- white-space: nowrap;
49
-
50
47
  .dx-treelist-text-content {
51
48
  white-space: normal;
52
49
  }
@@ -0,0 +1,8 @@
1
+ // #region typography
2
+
3
+ // (0,2,0)
4
+ .dx-treelist-rowsview .dx-treelist-cell-expandable {
5
+ white-space: nowrap;
6
+ }
7
+
8
+ // #endregion
@@ -23,8 +23,7 @@
23
23
  );
24
24
 
25
25
  // adduse
26
-
27
-
26
+ @use 'layout/cell';
28
27
  @include grid-base(datagrid);
29
28
 
30
29
  .dx-datagrid-group-panel {
@@ -66,31 +65,12 @@
66
65
  }
67
66
 
68
67
  .dx-row.dx-group-row {
69
- .dx-group-cell {
70
- &.dx-datagrid-sticky-column, &.dx-datagrid-sticky-column-left, &.dx-datagrid-sticky-column-right {
71
- padding-left: 0;
72
- padding-right: 0;
73
- overflow: initial;
74
- overflow-x: clip;
75
- background-color: inherit;
76
- }
77
- }
78
-
79
68
  &:not(.dx-row-focused) {
80
69
  color: $datagrid-group-row-color;
81
70
  background-color: $datagrid-group-row-bg;
82
71
  }
83
72
 
84
73
  font-weight: bold;
85
-
86
- td {
87
- border-top-color: $generic-grid-base-border-color;
88
- border-bottom-color: $generic-grid-base-border-color;
89
-
90
- &.dx-datagrid-sticky-column, &.dx-datagrid-sticky-column-left, &.dx-datagrid-sticky-column-right {
91
- background-color: $datagrid-group-row-bg;
92
- }
93
- }
94
74
  }
95
75
 
96
76
  .dx-datagrid-group-row-container {
@@ -128,31 +108,6 @@
128
108
  &.dx-column-lines {
129
109
  border-bottom: $datagrid-border;
130
110
  }
131
-
132
- & > td {
133
- border-top: $datagrid-border;
134
- background-color: $datagrid-summary-bg;
135
- border-left-width: 0;
136
- border-right-width: 0;
137
- }
138
- }
139
-
140
- .dx-datagrid-sticky-columns {
141
- .dx-row.dx-datagrid-group-footer > td {
142
- border-bottom: $datagrid-border;
143
- }
144
-
145
- .dx-row.dx-row-lines, .dx-row.dx-group-row, .dx-datagrid-group-footer, .dx-edit-row {
146
- &+.dx-datagrid-group-footer, &+.dx-row.dx-group-row, &+.dx-master-detail-row, &+.dx-edit-row {
147
- td {
148
- border-top: none;
149
- }
150
- }
151
- }
152
-
153
- .dx-row.dx-group-row:first-child td {
154
- padding-top: $generic-grid-base-cell-padding;
155
- }
156
111
  }
157
112
 
158
113
  .dx-rtl {