@unshape/styles 1.0.0 → 1.0.2

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 (2) hide show
  1. package/dist/styles.css +1639 -487
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -84,6 +84,7 @@
84
84
  --ush-font-weight-medium: 500;
85
85
  --ush-font-weight-semibold: 600;
86
86
  --ush-font-weight-bold: 700;
87
+ --ush-text-xxs: 0.625rem;
87
88
  --ush-text-xs: 0.75rem;
88
89
  --ush-text-xs--line-height: calc(1 / 0.75);
89
90
  --ush-text-sm2: 0.8125rem;
@@ -121,6 +122,7 @@
121
122
  }
122
123
 
123
124
  :root {
125
+ --ush-container-xl: 36rem;
124
126
  --ush-container-3xl: 48rem;
125
127
  --ush-container-4xl: 56rem;
126
128
  --ush-container-6xl: 72rem;
@@ -139,6 +141,9 @@
139
141
 
140
142
  :root,
141
143
  [data-ush-theme="default"] {
144
+ /* Base */
145
+ --ush-color-white: #ffffff;
146
+
142
147
  /* Blue */
143
148
  --ush-color-blue-50: #f0f5ff;
144
149
  --ush-color-blue-100: #dceafb;
@@ -153,6 +158,9 @@
153
158
  /* Amber */
154
159
  --ush-color-amber-50: #fffbeb;
155
160
  --ush-color-amber-100: #fef3c7;
161
+ --ush-color-amber-200: #fde68a;
162
+ --ush-color-amber-300: #fcd34d;
163
+ --ush-color-amber-400: #fbbf24;
156
164
  --ush-color-amber-500: #d97706;
157
165
  --ush-color-amber-700: #b45309;
158
166
 
@@ -161,6 +169,7 @@
161
169
  --ush-color-gray-100: #f3f4f6;
162
170
  --ush-color-gray-150: #efedef;
163
171
  --ush-color-gray-200: #e5e7eb; /* #ebe6e7;*/
172
+ --ush-color-gray-250: #dbdee3;
164
173
  --ush-color-gray-300: #d1d5db;
165
174
  --ush-color-gray-400: #99a1af;
166
175
  --ush-color-gray-500: #6b7280;
@@ -179,6 +188,7 @@
179
188
  --ush-color-warning: #f59e0b;
180
189
  --ush-color-danger: #ef4444;
181
190
  --ush-color-danger-dark: #dc2626;
191
+ --ush-color-danger-background: #fee2e2;
182
192
 
183
193
  /* Semantic: Text */
184
194
  --ush-text-primary: var(--ush-color-gray-900);
@@ -206,142 +216,384 @@
206
216
  --ush-scrollbar-color: var(--ush-color-gray-300) transparent;
207
217
 
208
218
  /* shadow */
209
- --ush-box-shadow:
210
- 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
219
+ --ush-shadow-popup: var(--ush-shadow-lg);
211
220
  --ush-shadow-sm:
212
221
  0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
222
+ --ush-shadow-lg:
223
+ 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
224
+ --ush-shadow-xl:
225
+ 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
213
226
 
214
227
  /* input */
215
228
  --ush-input-outline: none;
216
- --ush-input-tc: var(--ush-color-gray-900);
229
+ --ush-input-tect-color: var(--ush-color-gray-900);
217
230
  --ush-input-font-family: var(--ush-font-sans);
218
- --ush-input-bg: var(--ush-color-white);
219
- --ush-input-br: var(--ush-radius-md);
220
- --ush-input-placeholder-tc: var(--ush-color-gray-400);
221
- --ush-input-bc: var(--ush-color-gray-300);
231
+ --ush-input-background: var(--ush-color-white);
232
+ --ush-input-border-radius: var(--ush-radius-md);
233
+ --ush-input-placeholder-text-color: var(--ush-color-gray-400);
234
+ --ush-input-border-color: var(--ush-color-gray-300);
222
235
  --ush-input-padding-inline: var(--ush-spacing-2);
223
236
  --ush-input-padding-block: var(--ush-spacing);
224
- --ush-input-focus-bc: var(--ush-color-blue-600);
237
+ --ush-input-focus-border-color: var(--ush-color-blue-600);
225
238
  --ush-input-focus-shadow: 0 0 0 calc(2px + 0px)
226
239
  color-mix(in oklab, var(--ush-color-blue-600) 15%, transparent);
240
+ --ush-input-disabled-background: var(--ush-color-gray-50);
227
241
 
228
242
  /* checkbox */
229
- --ush-cbx-bc: var(--ush-color-gray-300);
230
- --ush-cbx-radius: var(--ush-radius-sm);
231
- --ush-cbx-width: var(--ush-spacing-4);
232
- --ush-cbx-height: var(--ush-spacing-4);
233
- --ush-cbx-bg: var(--ush-color-white);
234
- --ush-cbx-checked-bg: var(--ush-color-blue-600);
235
- --ush-cbx-checked-bc: var(--ush-color-blue-600);
236
- --ush-cbx-checked-tc: var(--ush-color-white);
243
+ --ush-checkbox-border-color: var(--ush-color-gray-300);
244
+ --ush-checkbox-radius: var(--ush-radius-sm);
245
+ --ush-checkbox-width: calc(var(--ush-spacing-4) * 0.875);
246
+ --ush-checkbox-height: calc(var(--ush-spacing-4) * 0.875);
247
+ --ush-checkbox-background: var(--ush-color-white);
248
+ --ush-checkbox-checked-background: var(--ush-color-blue-600);
249
+ --ush-checkbox-checked-border-color: var(--ush-color-blue-600);
250
+ --ush-checkbox-checked-text-color: var(--ush-color-white);
251
+ --ush-checkbox-checked-cell-editor-background: var(--ush-color-amber-500);
252
+ --ush-checkbox-checked-cell-editor-border-color: var(--ush-color-amber-500);
237
253
 
238
254
  /* button */
239
- --ush-btn-primary-tc: var(--ush-color-white);
240
- --ush-btn-primary-bg: var(--ush-color-blue-600);
241
- --ush-btn-primary-bg-hover: var(--ush-color-blue-700);
242
-
243
- --ush-btn-ghost-tc: var(--ush-color-gray-700);
244
- --ush-btn-ghost-bg: var(--ush-color-white);
245
- --ush-btn-ghost-bg-hover: var(--ush-color-gray-100);
246
- --ush-btn-ghost-tc-hover: var(--ush-color-gray-900);
247
-
248
- /* Grid */
249
-
250
- --ush-grid-bc: var(--ush-color-gray-300);
251
- --ush-grid-br: var(--ush-radius-lg);
252
- --ush-grid-bg: var(--ush-color-white);
253
-
254
- /* toolbar */
255
- --ush-grid-toolbar: var(--ush-color-white);
256
- --ush-grid-toolbar-border-bc: var(--ush-color-gray-200);
257
-
258
- /* grouping panel */
259
- --ush-grouping-panel-bg: color-mix(
255
+ --ush-button-primary-text-color: var(--ush-color-white);
256
+ --ush-button-primary-background: var(--ush-color-blue-600);
257
+ --ush-button-primary-background-hover: var(--ush-color-blue-700);
258
+ --ush-button-secondary-text-color: var(--ush-color-blue-600);
259
+ --ush-button-secondary-text-color-hover: var(--ush-color-blue-700);
260
+ --ush-button-secondary-border-color: var(--ush-color-blue-600);
261
+ --ush-button-secondary-background: var(--ush-color-white);
262
+ --ush-button-secondary-background-hover: var(--ush-color-blue-50);
263
+ --ush-button-ghost-text-color: var(--ush-color-gray-700);
264
+ --ush-button-ghost-background: var(--ush-color-white);
265
+ --ush-button-ghost-background-hover: var(--ush-color-gray-100);
266
+ --ush-button-ghost-text-color-hover: var(--ush-color-gray-900);
267
+
268
+ /* Grid: base */
269
+
270
+ --ush-grid-border-color: var(--ush-color-gray-300);
271
+ --ush-grid-border-radius: var(--ush-radius-lg);
272
+ --ush-grid-background: var(--ush-color-white);
273
+
274
+ /* Grid: toolbar */
275
+ --ush-grid-toolbar-background: var(--ush-color-white);
276
+ --ush-grid-toolbar-border-border-color: var(--ush-color-gray-200);
277
+
278
+ /* Grid: grouping panel and chips */
279
+ --ush-grouping-panel-background: color-mix(
260
280
  in oklab,
261
281
  var(--ush-color-gray-50) 80%,
262
282
  transparent
263
283
  );
264
- --ush-grouping-panel-border-bc: var(--ush-color-gray-200);
265
-
266
- /* header */
267
- --ush-col-header-vp-bg: var(--ush-color-gray-100);
268
- --ush-col-header-bg: var(--ush-color-gray-100);
269
- --ush-col-header-cell-bg: var(--ush-color-gray-100);
270
- --ush-col-header-cell-border-rc: var(--ush-color-gray-300);
271
- --ush-col-header-cell-tc: var(--ush-color-gray-700);
272
- --ush-col-header-icon-c: var(--ush-color-gray-400);
273
- --ush-col-header-icon-c-hover: var(--ush-color-gray-600);
274
- --ush-col-header-icon-bg-hover: var(--ush-color-gray-200);
275
- --ush-col-header-sort-active-icon-c: var(--ush-color-amber-500);
276
-
277
- /* body viewport */
278
- --ush-body-vp-border-tc: var(--ush-color-gray-300);
279
-
280
- /* cell */
281
- --ush-cell-border-rc: var(--ush-color-gray-150);
282
- --ush-cell-border-bc: var(--ush-color-gray-150);
283
- --ush-cell-tc: var(--ush-color-gray-700);
284
-
285
- /* row */
286
- --ush-grid-alternate-row-bg: color-mix(
284
+ --ush-grouping-panel-border-border-color: var(--ush-color-gray-200);
285
+ --ush-group-chip-text-color: var(--ush-color-gray-700);
286
+ --ush-group-chip-background: var(--ush-color-white);
287
+ --ush-group-chip-border-color: var(--ush-color-gray-300);
288
+ --ush-group-chip-hover-background: var(--ush-color-gray-50);
289
+ --ush-group-chip-hover-border-color: var(--ush-color-gray-400);
290
+ --ush-group-chip-button-hover-background: var(--ush-color-gray-200);
291
+ --ush-group-chip-button-hover-text-color: var(--ush-color-gray-900);
292
+ --ush-group-chip-reorder-hover-background: var(--ush-color-blue-50);
293
+ --ush-group-chip-reorder-hover-border-color: var(--ush-color-blue-400);
294
+ --ush-group-chip-reorder-hover-text-color: var(--ush-color-blue-500);
295
+ --ush-group-chip-preview-border-color: var(--ush-color-gray-200);
296
+ --ush-group-chip-preview-text-color: var(--ush-color-gray-700);
297
+
298
+ /* Grid: group rows */
299
+ --ush-grid-group-row-toggle-color: var(--ush-color-gray-700);
300
+ --ush-grid-group-row-toggle-hover-color: var(--ush-color-gray-900);
301
+ --ush-grid-group-row-toggle-hover-background: var(--ush-color-gray-100);
302
+ --ush-grid-group-row-level0-background: var(--ush-color-blue-50);
303
+ --ush-grid-group-row-level0-marker-background: var(--ush-color-blue-600);
304
+ --ush-grid-group-row-level1-background: color-mix(
305
+ in oklab,
306
+ var(--ush-color-blue-50) 70%,
307
+ transparent
308
+ );
309
+ --ush-grid-group-row-level1-marker-background: var(--ush-color-blue-400);
310
+ --ush-grid-group-row-level2-background: color-mix(
311
+ in oklab,
312
+ var(--ush-color-blue-50) 30%,
313
+ transparent
314
+ );
315
+ --ush-grid-group-row-level2-marker-background: var(--ush-color-gray-400);
316
+ --ush-grid-group-row-level3-background: var(--ush-color-white);
317
+ --ush-grid-group-row-level3-marker-background: var(--ush-color-gray-300);
318
+ --ush-grid-group-row-level4-background: var(--ush-color-white);
319
+ --ush-grid-group-row-level4-marker-background: var(--ush-color-gray-250);
320
+ --ush-grid-group-row-level5-background: var(--ush-color-white);
321
+ --ush-grid-group-row-level5-marker-background: var(--ush-color-gray-200);
322
+ --ush-grid-group-row-level6-background: var(--ush-color-white);
323
+ --ush-grid-group-row-level6-marker-background: var(--ush-color-gray-150);
324
+ --ush-grid-group-row-level7-background: var(--ush-color-white);
325
+ --ush-grid-group-row-level7-marker-background: var(--ush-color-gray-100);
326
+ --ush-grid-group-row-field-text-color: var(--ush-color-gray-500);
327
+ --ush-grid-group-row-key-text-color: var(--ush-color-gray-900);
328
+ --ush-grid-group-row-children-count-text-color: var(--ush-color-gray-500);
329
+ --ush-grid-group-row-children-count-background: var(--ush-color-white);
330
+ --ush-grid-group-row-header-cell-text-color: var(--ush-color-gray-500);
331
+ --ush-grid-group-row-footer-cell-text-color: var(--ush-color-gray-500);
332
+
333
+ /* Grid: header */
334
+ --ush-grid-header-viewport-background: var(--ush-color-gray-100);
335
+ --ush-grid-header-background: var(--ush-color-gray-100);
336
+ --ush-grid-header-cell-background: var(--ush-color-gray-100);
337
+ --ush-grid-header-cell-border-right-color: var(--ush-color-gray-300);
338
+ --ush-grid-header-cell-text-color: var(--ush-color-gray-700);
339
+ --ush-grid-header-icon-color: var(--ush-color-gray-400);
340
+ --ush-grid-header-icon-color-hover: var(--ush-color-gray-600);
341
+ --ush-grid-header-icon-background-hover: var(--ush-color-gray-200);
342
+ --ush-grid-header-sort-active-icon-color: var(--ush-color-amber-500);
343
+
344
+ /* Grid: body viewport */
345
+ --ush-grid-body-viewport-border-top-color: var(--ush-color-gray-300);
346
+
347
+ /* Grid: cells */
348
+ --ush-grid-cell-border-right-color: var(--ush-color-gray-150);
349
+ --ush-grid-cell-border-bottom-color: var(--ush-color-gray-150);
350
+ --ush-grid-cell-text-color: var(--ush-color-gray-700);
351
+ --ush-grid-cell-readonly-background: var(--ush-color-gray-50);
352
+
353
+ /* Grid: rows */
354
+ --ush-grid-alternate-row-background: color-mix(
287
355
  in oklab,
288
356
  var(--ush-color-gray-50) 70%,
289
357
  transparent
290
358
  );
291
359
 
292
- /* footer */
293
- --ush-footer-vp-bg: var(--ush-color-gray-100);
294
- --ush-footer-bg: var(--ush-color-gray-100);
295
- --ush-footer-border-tc: var(--ush-color-gray-300);
296
- --ush-footer-cell-border-rc: var(--ush-color-gray-200);
297
- --ush-footer-cell-tc: var(--ush-color-gray-400);
298
-
299
- /* status bar */
300
- --ush-grid-statusbar-bg: var(--ush-color-gray-50);
301
- --ush-grid-statusbar-border-tc: var(--ush-color-gray-200);
302
- --ush-grid-statusbar-text-tc: var(--ush-color-gray-600);
303
- --ush-grid-statusbar-numb-tc: var(--ush-color-gray-500);
304
-
305
- /* pager */
306
- --ush-grid-pager-bg: var(--ush-color-white);
307
- --ush-grid-pager-border-tc: var(--ush-color-gray-200);
308
- --ush-grid-pager-active-bg: var(--ush-color-blue-600);
309
- --ush-grid-pager-active-bg-hover: var(--ush-color-blue-700);
310
- --ush-grid-pager-active-tc: var(--ush-color-white);
311
- --ush-grid-pager-page-bg-hover: var(--ush-color-gray-100);
312
- --ush-grid-pager-page-tc-hover: var(--ush-color-gray-900);
313
- --ush-grid-pager-page-tc: var(--ush-color-gray-700);
314
- --ush-grid-pager-separator-bg: var(--ush-color-gray-200);
315
- --ush-grid-pager-page-size-tc: var(--ush-color-gray-500);
316
- --ush-grid-pager-select-tc: var(--ush-color-gray-700);
317
- --ush-grid-pager-select-bg: var(--ush-color-white);
318
- --ush-grid-pager-select-bc: var(--ush-color-gray-300);
319
- --ush-grid-pager-total-numb-tc: var(--ush-color-gray-700);
320
- --ush-grid-pager-total-text-tc: var(--ush-color-gray-500);
321
-
322
- /* filter */
323
- --ush-grid-filter-active-icon-c: var(--ush-color-amber-500);
324
-
325
- /* column menu */
326
- --ush-column-menu-shadow: var(--ush-box-shadow);
327
- --ush-column-menu-bg: var(--ush-color-white);
328
- --ush-column-menu-bc: var(--ush-color-gray-200);
329
- --ush-column-menu-tc: var(--ush-color-gray-900);
330
- --ush-column-menu-item-tc: var(--ush-color-gray-700);
331
- --ush-column-menu-item-icon-c: var(--ush-color-gray-500);
332
- --ush-column-menu-item-hover-tc: var(--ush-color-gray-900);
333
- --ush-column-menu-item-hover-bg: var(--ush-color-gray-100);
334
- --ush-column-menu-separator-bg: var(--ush-color-gray-200);
335
- --ush-column-menu-pinbox-bg: var(--ush-color-gray-50);
336
- --ush-column-menu-pinbox-bc: var(--ush-color-gray-200);
337
- --ush-column-menu-pinbox-tc: var(--ush-color-gray-700);
338
- --ush-column-menu-pinbox-hover-bg: var(--ush-color-gray-100);
339
- --ush-column-menu-pinbox-hover-tc: var(--ush-color-gray-900);
340
- --ush-column-menu-pinned-bg: var(--ush-color-blue-600);
341
- --ush-column-menu-pinned-tc: var(--ush-color-white);
342
- --ush-column-menu-pinned-shadow: var(--ush-shadow-sm);
343
- --ush-column-menu-chevron-c: var(--ush-color-gray-400);
344
- --ush-column-menu-selected-col-tc: var(--ush-color-gray-500);
360
+ /* Grid: footer */
361
+ --ush-grid-footer-viewport-background: var(--ush-color-gray-100);
362
+ --ush-grid-footer-background: var(--ush-color-gray-100);
363
+ --ush-grid-footer-border-top-color: var(--ush-color-gray-300);
364
+ --ush-grid-footer-cell-border-right-color: var(--ush-color-gray-200);
365
+ --ush-grid-footer-cell-text-color: var(--ush-color-gray-400);
366
+
367
+ /* Grid: status bar */
368
+ --ush-grid-statusbar-background: var(--ush-color-gray-50);
369
+ --ush-grid-statusbar-border-top-color: var(--ush-color-gray-200);
370
+ --ush-grid-statusbar-text-color: var(--ush-color-gray-600);
371
+ --ush-grid-statusbar-number-text-color: var(--ush-color-gray-500);
372
+
373
+ /* Grid: pager */
374
+ --ush-grid-pager-background: var(--ush-color-white);
375
+ --ush-grid-pager-border-top-color: var(--ush-color-gray-200);
376
+ --ush-grid-pager-active-background: var(--ush-color-blue-600);
377
+ --ush-grid-pager-active-background-hover: var(--ush-color-blue-700);
378
+ --ush-grid-pager-active-text-color: var(--ush-color-white);
379
+ --ush-grid-pager-page-background-hover: var(--ush-color-gray-100);
380
+ --ush-grid-pager-page-text-color-hover: var(--ush-color-gray-900);
381
+ --ush-grid-pager-page-text-color: var(--ush-color-gray-700);
382
+ --ush-grid-pager-separator-background: var(--ush-color-gray-200);
383
+ --ush-grid-pager-page-size-text-color: var(--ush-color-gray-500);
384
+ --ush-grid-pager-select-text-color: var(--ush-color-gray-700);
385
+ --ush-grid-pager-select-background: var(--ush-color-white);
386
+ --ush-grid-pager-select-border-color: var(--ush-color-gray-300);
387
+ --ush-grid-pager-total-number-text-color: var(--ush-color-gray-700);
388
+ --ush-grid-pager-total-text-color: var(--ush-color-gray-500);
389
+
390
+ /* Grid: filter */
391
+ --ush-grid-filter-active-icon-color: var(--ush-color-amber-500);
392
+
393
+ /* Grid: popup menu */
394
+ --ush-grid-popup-menu-background: var(--ush-color-white);
395
+ --ush-grid-popup-menu-border-color: var(--ush-color-gray-200);
396
+ --ush-grid-popup-menu-text-color: var(--ush-color-gray-900);
397
+ --ush-grid-popup-menu-item-text-color: var(--ush-color-gray-700);
398
+ --ush-grid-popup-menu-item-icon-color: var(--ush-color-gray-500);
399
+ --ush-grid-popup-menu-item-hover-text-color: var(--ush-color-gray-900);
400
+ --ush-grid-popup-menu-item-hover-background: var(--ush-color-gray-100);
401
+ --ush-grid-popup-menu-separator-background: var(--ush-color-gray-200);
402
+ --ush-grid-popup-menu-chevron-color: var(--ush-color-gray-400);
403
+
404
+ /* Grid: column menu */
405
+ --ush-grid-column-menu-pinbox-background: var(--ush-color-gray-50);
406
+ --ush-grid-column-menu-pinbox-border-color: var(--ush-color-gray-200);
407
+ --ush-grid-column-menu-pinbox-text-color: var(--ush-color-gray-700);
408
+ --ush-grid-column-menu-pinbox-hover-background: var(--ush-color-gray-100);
409
+ --ush-grid-column-menu-pinbox-hover-text-color: var(--ush-color-gray-900);
410
+ --ush-grid-column-menu-pinned-background: var(--ush-color-blue-600);
411
+ --ush-grid-column-menu-pinned-text-color: var(--ush-color-white);
412
+ --ush-grid-column-menu-pinned-shadow: var(--ush-shadow-sm);
413
+ --ush-grid-column-menu-selected-column-text-color: var(--ush-color-gray-500);
414
+
415
+ /* Grid: resize */
416
+ --ush-grid-resize-handle-background-hover: var(--ush-color-blue-400);
417
+
418
+ /* Grid: selection */
419
+ --ush-grid-active-cell-border-color: var(--ush-color-amber-500);
420
+ --ush-grid-anchor-cell-background: var(--ush-color-amber-50);
421
+ --ush-grid-selection-rect-border-color: var(--ush-color-blue-500);
422
+ --ush-grid-selected-row-background: var(--ush-color-blue-100);
423
+ --ush-grid-selection-rect-background: rgba(26, 115, 232, 0.12);
424
+
425
+ /* Grid: editing */
426
+ --ush-grid-edited-cell-background: var(--ush-color-amber-50);
427
+ --ush-grid-edited-cell-invalid-border-color: var(--ush-color-danger);
428
+ --ush-grid-edited-cell-invalid-background: var(--ush-color-danger-bg);
429
+
430
+ /* Grid: drag & drop */
431
+ --ush-grid-drop-indicator-background: var(--ush-color-blue-400);
432
+
433
+ /* Grid: filter row*/
434
+ --ush-grid-filter-row-border-top-color: var(--ush-color-gray-300);
435
+ --ush-grid-filter-row-background: var(--ush-color-gray-50);
436
+ --ush-grid-filter-cell-border-right-color: var(--ush-color-gray-200);
437
+ --ush-grid-filter-cell-background: var(--ush-color-gray-50);
438
+ --ush-grid-filter-cell-icon-color: var(--ush-color-gray-400);
439
+ --ush-grid-filter-cell-icon-hover-color: var(--ush-color-gray-900);
440
+ --ush-grid-filter-cell-icon-hover-background: var(--ush-color-gray-100);
441
+ --ush-grid-filter-cell-icon-active-color: var(--ush-color-amber-500);
442
+ --ush-grid-filter-cell-icon-active-hover-color: var(--ush-color-amber-700);
443
+
444
+ /* Grid: filter operators */
445
+ --ush-grid-filter-operator-column-text-color: var(--ush-color-gray-900);
446
+ --ush-grid-filter-operator-description-text-color: var(--ush-color-gray-500);
447
+ --ush-grid-filter-operator-type-background: var(--ush-color-gray-100);
448
+ --ush-grid-filter-operator-type-text-color: var(--ush-color-gray-500);
449
+ --ush-grid-filter-operator-border-bottom-color: var(--ush-color-gray-100);
450
+ --ush-grid-filter-operator-active-icon-color: var(--ush-color-blue-600);
451
+
452
+ /* Grid: command icons */
453
+ --ush-grid-column-command-icon-color: var(--ush-color-gray-400);
454
+ --ush-grid-column-command-icon-hover-color: var(--ush-color-blue-700);
455
+ --ush-grid-column-command-icon-hover-background: var(--ush-color-white);
456
+
457
+ /* Grid: overlay */
458
+ --ush-grid-overlay-background: color-mix(
459
+ in oklab,
460
+ var(--ush-color-gray-900) 40%,
461
+ transparent
462
+ );
463
+
464
+ /* Grid: Excel filter popup */
465
+ --ush-grid-excel-filter-popup-background: var(--ush-color-white);
466
+ --ush-grid-excel-filter-popup-border-color: var(--ush-color-gray-200);
467
+ --ush-grid-excel-filter-popup-title-text-color: var(--ush-color-gray-800);
468
+ --ush-grid-excel-filter-popup-description-text-color: var(
469
+ --ush-color-gray-500
470
+ );
471
+ --ush-grid-excel-filter-popup-filter-icon-color: var(--ush-color-blue-600);
472
+ --ush-grid-excel-filter-popup-filter-icon-background: var(
473
+ --ush-color-blue-50
474
+ );
475
+ --ush-grid-excel-filter-popup-filter-icon-active-color: var(
476
+ --ush-color-amber-700
477
+ );
478
+ --ush-grid-excel-filter-popup-filter-icon-active-background: var(
479
+ --ush-color-amber-100
480
+ );
481
+ --ush-grid-excel-filter-popup-close-icon-color: var(--ush-color-gray-700);
482
+ --ush-grid-excel-filter-popup-close-icon-hover-color: var(
483
+ --ush-color-gray-900
484
+ );
485
+ --ush-grid-excel-filter-popup-close-icon-hover-background: var(
486
+ --ush-color-gray-100
487
+ );
488
+ --ush-grid-excel-filter-popup-type-text-color: var(--ush-color-blue-700);
489
+ --ush-grid-excel-filter-popup-type-background: var(--ush-color-blue-50);
490
+ --ush-grid-excel-filter-popup-type-border-color: var(--ush-color-blue-200);
491
+ --ush-grid-excel-filter-popup-select-button-color: var(--ush-color-gray-700);
492
+ --ush-grid-excel-filter-popup-select-button-background: var(
493
+ --ush-color-white
494
+ );
495
+ --ush-grid-excel-filter-popup-select-button-border-color: var(
496
+ --ush-color-gray-300
497
+ );
498
+ --ush-grid-excel-filter-popup-select-button-hover-color: var(
499
+ --ush-color-gray-900
500
+ );
501
+ --ush-grid-excel-filter-popup-select-button-hover-background: var(
502
+ --ush-color-gray-100
503
+ );
504
+ --ush-grid-excel-filter-popup-select-button-hover-border-color: var(
505
+ --ush-color-gray-500
506
+ );
507
+ --ush-grid-excel-filter-popup-select-button-chevron-color: var(
508
+ --ush-color-gray-500
509
+ );
510
+ --ush-grid-excel-filter-popup-select-button-opened-border-color: var(
511
+ --ush-color-amber-500
512
+ );
513
+ --ush-grid-excel-filter-popup-select-button-chevron-opened-color: var(
514
+ --ush-color-amber-500
515
+ );
516
+ --ush-grid-excel-filter-popup-listbox-background: var(--ush-color-white);
517
+ --ush-grid-excel-filter-popup-listbox-border-color: var(--ush-color-gray-200);
518
+ --ush-grid-excel-filter-popup-listbox-item-text-color: var(
519
+ --ush-color-gray-700
520
+ );
521
+ --ush-grid-excel-filter-popup-listbox-item-hover-text-color: var(
522
+ --ush-color-gray-900
523
+ );
524
+ --ush-grid-excel-filter-popup-listbox-item-hover-background: var(
525
+ --ush-color-gray-100
526
+ );
527
+ --ush-grid-excel-filter-popup-separator-background: var(--ush-color-gray-200);
528
+ --ush-grid-excel-filter-popup-andor-background: var(--ush-color-gray-50);
529
+ --ush-grid-excel-filter-popup-andor-border-color: var(--ush-color-gray-300);
530
+ --ush-grid-excel-filter-popup-andor-button-color: var(--ush-color-gray-700);
531
+ --ush-grid-excel-filter-popup-andor-button-hover-color: var(
532
+ --ush-color-gray-900
533
+ );
534
+ --ush-grid-excel-filter-popup-andor-button-checked-background: var(
535
+ --ush-color-white
536
+ );
537
+ --ush-grid-excel-filter-popup-andor-button-unchecked-background: transparent;
538
+ --ush-grid-excel-filter-popup-andor-radio-unchecked-background: var(
539
+ --ush-color-gray-300
540
+ );
541
+ --ush-grid-excel-filter-popup-andor-radio-checked-background: var(
542
+ --ush-color-amber-500
543
+ );
544
+ --ush-grid-excel-filter-popup-footer-background: var(--ush-color-gray-50);
545
+ --ush-grid-excel-filter-popup-footer-border-color: var(--ush-color-gray-200);
546
+
547
+ /* Grid: menu filter */
548
+ --ush-grid-menu-filter-background: var(--ush-color-white);
549
+ --ush-grid-menu-filter-border-color: var(--ush-color-gray-200);
550
+ --ush-grid-menu-filter-title-text-color: var(--ush-color-gray-800);
551
+ --ush-grid-menu-filter-description-text-color: var(--ush-color-gray-500);
552
+ --ush-grid-menu-filter-filter-icon-color: var(--ush-color-blue-600);
553
+ --ush-grid-menu-filter-filter-icon-background: var(--ush-color-blue-50);
554
+ --ush-grid-menu-filter-filter-icon-active-color: var(--ush-color-amber-700);
555
+ --ush-grid-menu-filter-filter-icon-active-background: var(
556
+ --ush-color-amber-100
557
+ );
558
+ --ush-grid-menu-filter-close-icon-color: var(--ush-color-gray-700);
559
+ --ush-grid-menu-filter-close-icon-hover-color: var(--ush-color-gray-900);
560
+ --ush-grid-menu-filter-close-icon-hover-background: var(--ush-color-gray-100);
561
+ --ush-grid-menu-filter-footer-background: var(--ush-color-gray-50);
562
+ --ush-grid-menu-filter-footer-border-color: var(--ush-color-gray-200);
563
+ --ush-grid-menu-filter-column-name-text-color: var(--ush-color-gray-500);
564
+ --ush-grid-menu-filter-field-background: var(--ush-color-gray-50);
565
+ --ush-grid-menu-filter-row-border-color: var(--ush-color-gray-200);
566
+ --ush-grid-menu-filter-row-number-text-color: var(--ush-color-gray-500);
567
+ --ush-grid-menu-filter-row-number-background: var(--ush-color-gray-200);
568
+ --ush-grid-menu-filter-row-field-text-color: var(--ush-color-gray-700);
569
+ --ush-grid-menu-filter-select-button-color: var(--ush-color-gray-700);
570
+ --ush-grid-menu-filter-select-button-background: var(--ush-color-white);
571
+ --ush-grid-menu-filter-select-button-border-color: var(--ush-color-gray-300);
572
+ --ush-grid-menu-filter-select-button-hover-color: var(--ush-color-gray-900);
573
+ --ush-grid-menu-filter-select-button-hover-background: var(
574
+ --ush-color-gray-100
575
+ );
576
+ --ush-grid-menu-filter-select-button-hover-border-color: var(
577
+ --ush-color-gray-500
578
+ );
579
+ --ush-grid-menu-filter-select-button-chevron-color: var(--ush-color-gray-500);
580
+ --ush-grid-menu-filter-select-button-opened-border-color: var(
581
+ --ush-color-amber-500
582
+ );
583
+ --ush-grid-menu-filter-select-button-chevron-opened-color: var(
584
+ --ush-color-amber-500
585
+ );
586
+ --ush-grid-menu-filter-action-icon-color: var(--ush-color-gray-700);
587
+ --ush-grid-menu-filter-action-icon-hover-color: var(--ush-color-gray-900);
588
+ --ush-grid-menu-filter-action-icon-hover-background: var(
589
+ --ush-color-gray-100
590
+ );
591
+
592
+ /* Grid: pinned columns */
593
+ --ush-pinned-column-border-color: var(--ush-color-gray-300);
594
+ --ush-pinned-column-left-shadow: 3px 0 5px -3px rgb(17 24 39 / 16%);
595
+ --ush-pinned-column-right-shadow: -3px 0 5px -3px rgb(17 24 39 / 16%);
596
+ --ush-pinned-column-pinned-icon-color: var(--ush-color-blue-600);
345
597
  }
346
598
 
347
599
  .ush-button {
@@ -359,68 +611,88 @@
359
611
  }
360
612
 
361
613
  .ush-button-primary {
362
- color: var(--ush-btn-primary-tc);
363
- background: var(--ush-btn-primary-bg);
614
+ color: var(--ush-button-primary-text-color);
615
+ background: var(--ush-button-primary-background);
364
616
  }
365
617
 
366
618
  .ush-button-primary:hover {
367
- background: var(--ush-btn-primary-bg-hover);
619
+ background: var(--ush-button-primary-background-hover);
368
620
  }
369
621
 
370
622
  .ush-button-ghost {
371
- color: var(--ush-btn-ghost-tc);
372
- background: var(--ush-btn-ghost-bg);
623
+ color: var(--ush-button-ghost-text-color);
624
+ background: var(--ush-button-ghost-background);
373
625
  }
374
626
 
375
627
  .ush-button-ghost:hover {
376
- background: var(--ush-btn-ghost-bg-hover);
377
- color: var(--ush-btn-ghost-tc-hover);
628
+ background: var(--ush-button-ghost-background-hover);
629
+ color: var(--ush-button-ghost-text-color-hover);
630
+ }
631
+
632
+ .ush-button-secondary {
633
+ color: var(--ush-button-secondary-text-color);
634
+ background: var(--ush-button-secondary-background);
635
+ border: 1px solid var(--ush-button-secondary-border-color);
636
+ }
637
+
638
+ .ush-button-secondary:hover {
639
+ color: var(--ush-button-secondary-text-color-hover);
640
+ background: var(--ush-button-secondary-background-hover);
378
641
  }
379
642
 
380
643
  .ush-input {
381
644
  outline: var(--ush-input-outline);
382
- color: var(--ush-input-tc);
645
+ color: var(--ush-input-text-color);
383
646
  font-family: var(--ush-input-font-family);
384
- background: var(--ush-input-bg);
385
- border-radius: var(--ush-input-br);
386
- border: 1px solid var(--ush-input-bc);
647
+ background: var(--ush-input-background);
648
+ border-radius: var(--ush-input-border-radius);
649
+ border: 1px solid var(--ush-input-border-color);
387
650
  padding-inline: var(--ush-input-padding-inline);
388
651
  padding-block: var(--ush-input-padding-block);
389
652
  font-size: var(--ush-text-xs);
653
+ margin-block: 5px;
654
+ margin-inline: 2px;
390
655
  }
391
656
 
392
657
  .ush-input:focus {
393
- border-color: var(--ush-input-focus-bc);
658
+ border-color: var(--ush-input-focus-border-color);
394
659
  box-shadow: var(--ush-input-focus-shadow);
395
660
  }
396
661
 
397
662
  .ush-input::placeholder {
398
- color: var(--ush-input-placeholder-tc);
663
+ color: var(--ush-input-placeholder-text-color);
664
+ }
665
+
666
+ .ush-input.disabled {
667
+ background: var(--ush-input-disabled-background);
668
+ opacity: 0.5;
669
+ pointer-events: none;
670
+ cursor: not-allowed;
399
671
  }
400
672
 
401
673
  input[type="checkbox"] {
402
674
  appearance: none;
403
- width: var(--ush-cbx-width);
404
- height: var(--ush-cbx-height);
405
- border: 1px solid var(--ush-cbx-bc);
406
- border-radius: var(--ush-cbx-radius);
407
- background: var(--ush-cbx-bg);
675
+ width: var(--ush-checkbox-width);
676
+ height: var(--ush-checkbox-height);
677
+ border: 1px solid var(--ush-checkbox-border-color);
678
+ border-radius: var(--ush-checkbox-radius);
679
+ background: var(--ush-checkbox-background);
408
680
  display: grid;
409
681
  place-items: center;
410
682
  cursor: pointer;
411
683
  }
412
684
 
413
685
  input[type="checkbox"]:checked {
414
- background: var(--ush-cbx-checked-bg);
415
- border-color: var(--ush-cbx-checked-bc);
416
- color: var(--ush-cbx-checked-tc);
686
+ background: var(--ush-checkbox-checked-background);
687
+ border-color: var(--ush-checkbox-checked-border-color);
688
+ color: var(--ush-checkbox-checked-text-color);
417
689
  }
418
690
 
419
691
  input[type="checkbox"]::after {
420
692
  content: "";
421
- width: var(--ush-cbx-width);
422
- height: var(--ush-cbx-height);
423
- background-color: var(--ush-cbx-checked-tc);
693
+ width: var(--ush-checkbox-width);
694
+ height: var(--ush-checkbox-height);
695
+ background-color: var(--ush-checkbox-checked-text-color);
424
696
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-check'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E")
425
697
  center / contain no-repeat;
426
698
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-check'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E")
@@ -434,19 +706,19 @@ input[type="checkbox"]:checked::after {
434
706
  }
435
707
 
436
708
  input[type="checkbox"]:indeterminate {
437
- background: var(--ush-cbx-checked-bg);
438
- border-color: var(--ush-cbx-checked-bc);
709
+ background: var(--ush-checkbox-checked-background);
710
+ border-color: var(--ush-checkbox-checked-border-color);
439
711
  }
440
712
 
441
713
  input[type="checkbox"]:indeterminate::after {
442
- width: var(--ush-cbx-width);
443
- height: var(--ush-cbx-height);
714
+ width: var(--ush-checkbox-width);
715
+ height: var(--ush-checkbox-height);
444
716
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-minus'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l14 0'/%3E%3C/svg%3E")
445
717
  center / contain no-repeat;
446
718
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-minus'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l14 0'/%3E%3C/svg%3E")
447
719
  center / contain no-repeat;
448
720
  opacity: 1;
449
- background-color: var(--ush-cbx-checked-tc);
721
+ background-color: var(--ush-checkbox-checked-text-color);
450
722
  transform: translateX(-1px);
451
723
  }
452
724
 
@@ -470,13 +742,13 @@ input[type="checkbox"]:indeterminate::after {
470
742
  .ush-header-viewport {
471
743
  overflow: hidden;
472
744
  flex: 0 0 auto;
473
- background: var(--ush-col-header-vp-bg);
745
+ background: var(--ush-grid-header-viewport-background);
474
746
  display: flex;
475
747
  }
476
748
 
477
749
  .ush-header {
478
750
  height: 40px;
479
- background: var(--ush-col-header-vp-bg);
751
+ background: var(--ush-grid-header-viewport-background);
480
752
  display: flex;
481
753
  align-items: center;
482
754
  }
@@ -488,11 +760,11 @@ input[type="checkbox"]:indeterminate::after {
488
760
  min-width: 0;
489
761
  padding: 0 8px;
490
762
  height: 40px;
491
- background: var(--ush-col-header-cell-bg);
492
- border-right: 1px solid var(--ush-col-header-cell-border-rc);
763
+ background: var(--ush-grid-header-cell-background);
764
+ border-right: 1px solid var(--ush-grid-header-cell-border-right-color);
493
765
  overflow: hidden;
494
766
  align-items: center;
495
- color: var(--ush-col-header-cell-tc);
767
+ color: var(--ush-grid-header-cell-text-color);
496
768
  font-weight: var(--ush-font-weight-semibold);
497
769
  font-size: var(--ush-text-xs);
498
770
  }
@@ -511,11 +783,16 @@ input[type="checkbox"]:indeterminate::after {
511
783
  .ush-header-resize-handle {
512
784
  position: absolute;
513
785
  right: 0;
514
- top: 0;
515
- width: 5px;
516
- height: 100%;
786
+ top: var(--ush-spacing-1);
787
+ width: var(--ush-spacing-1);
517
788
  cursor: col-resize;
518
789
  z-index: 10;
790
+ border-radius: var(--ush-radius-full);
791
+ bottom: var(--ush-spacing-1);
792
+ }
793
+
794
+ .ush-header-resize-handle:hover {
795
+ background-color: var(--ush-grid-resize-handle-background-hover);
519
796
  }
520
797
 
521
798
  .ush-header-cell.sortable {
@@ -525,28 +802,39 @@ input[type="checkbox"]:indeterminate::after {
525
802
  .ush-header-cell.sortable .ush-sort-active,
526
803
  .ush-header-cell.sortable .ush-sort-priority {
527
804
  padding: calc(var(--ush-spacing) * 0.5);
528
- color: var(--ush-col-header-sort-active-icon-c);
805
+ color: var(--ush-grid-header-sort-active-icon-color);
529
806
  }
530
807
 
531
808
  .ush-header-cell.sortable .ush-sort-active svg {
532
- color: var(--ush-col-header-sort-active-icon-c);
809
+ color: var(--ush-grid-header-sort-active-icon-color);
533
810
  width: var(--ush-spacing-4);
534
811
  height: var(--ush-spacing-4);
535
812
  stroke-width: 1.75;
536
813
  }
537
814
 
815
+ .ush-header-cell .pinned-icon {
816
+ color: var(--ush-pinned-column-pinned-icon-color);
817
+ margin-right: var(--ush-spacing);
818
+ }
819
+
820
+ .ush-header-cell .pinned-icon svg {
821
+ width: var(--ush-spacing-4);
822
+ height: var(--ush-spacing-4);
823
+ stroke-width: 2;
824
+ }
825
+
538
826
  .ush-header.ush-pinned-left {
539
827
  position: sticky;
540
828
  left: 0;
541
829
  z-index: 3;
542
- box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
830
+ box-shadow: var(--ush-pinned-column-left-shadow);
543
831
  }
544
832
 
545
833
  .ush-header.ush-pinned-right {
546
834
  position: sticky;
547
835
  right: 0;
548
836
  z-index: 3;
549
- box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
837
+ box-shadow: var(--ush-pinned-column-right-shadow);
550
838
  }
551
839
 
552
840
  .ush-header-cell .ush-col-menu-icon {
@@ -565,17 +853,17 @@ input[type="checkbox"]:indeterminate::after {
565
853
  }
566
854
 
567
855
  .ush-header-cell .ush-col-menu-icon:hover {
568
- background-color: var(--ush-col-header-icon-bg-hover);
856
+ background-color: var(--ush-grid-header-icon-background-hover);
569
857
  }
570
858
 
571
859
  .ush-header-cell .ush-col-menu-icon svg {
572
860
  width: var(--ush-spacing-4);
573
861
  height: var(--ush-spacing-4);
574
- color: var(--ush-col-header-icon-c);
862
+ color: var(--ush-grid-header-icon-color);
575
863
  }
576
864
 
577
865
  .ush-header-cell .ush-col-menu-icon:hover svg {
578
- color: var(--ush-col-header-icon-c-hover);
866
+ color: var(--ush-grid-header-icon-color-hover);
579
867
  }
580
868
 
581
869
  .ush-header-cell .ush-col-menu-icon.ush-disabled {
@@ -587,18 +875,18 @@ input[type="checkbox"]:indeterminate::after {
587
875
  }
588
876
 
589
877
  .ush-col-menu {
590
- background-color: var(--ush-column-menu-bg);
591
- border: 1px solid var(--ush-column-menu-bc);
878
+ background-color: var(--ush-grid-popup-menu-background);
879
+ border: 1px solid var(--ush-grid-popup-menu-border-color);
592
880
  padding: 4px;
593
881
  overflow-y: auto;
594
882
  max-height: 450px;
595
883
  width: 200px;
596
- box-shadow: var(--ush-column-menu-shadow);
884
+ box-shadow: var(--ush-shadow-popup);
597
885
  margin: 0;
598
886
  z-index: 1001;
599
887
  border-radius: var(--ush-radius-md);
600
888
  font-family: var(--ush-font-sans);
601
- color: var(--ush-column-menu-tc);
889
+ color: var(--ush-grid-popup-menu-text-color);
602
890
  }
603
891
 
604
892
  .ush-col-menu ul {
@@ -615,15 +903,16 @@ input[type="checkbox"]:indeterminate::after {
615
903
  display: flex;
616
904
  gap: 5px;
617
905
  align-items: center;
618
- color: var(--ush-column-menu-item-tc);
906
+ color: var(--ush-grid-popup-menu-item-text-color);
619
907
  }
620
908
 
621
909
  .ush-col-menu li:hover {
622
- color: var(--ush-column-menu-item-hover-tc);
910
+ color: var(--ush-grid-popup-menu-item-hover-text-color);
911
+ border-radius: var(--ush-radius-sm);
623
912
  }
624
913
 
625
914
  .ush-col-menu li .ush-icon {
626
- color: var(--ush-column-menu-item-icon-c);
915
+ color: var(--ush-grid-popup-menu-item-icon-color);
627
916
  }
628
917
 
629
918
  .ush-col-menu li.ush-disabled,
@@ -636,15 +925,15 @@ input[type="checkbox"]:indeterminate::after {
636
925
 
637
926
  .ush-col-menu .sort-asc .active .ush-icon,
638
927
  .ush-col-menu .sort-desc .active .ush-icon {
639
- color: var(--ush-col-header-sort-active-icon-c);
928
+ color: var(--ush-grid-header-sort-active-icon-color);
640
929
  }
641
930
 
642
931
  .ush-col-menu .pinbox {
643
- background-color: var(--ush-column-menu-pinbox-bg);
644
- border: 1px solid var(--ush-column-menu-pinbox-bc);
932
+ background-color: var(--ush-grid-column-menu-pinbox-background);
933
+ border: 1px solid var(--ush-grid-column-menu-pinbox-border-color);
645
934
  margin-left: auto;
646
935
  border-radius: var(--ush-radius-sm);
647
- color: var(--ush-column-menu-pinbox-tc);
936
+ color: var(--ush-grid-column-menu-pinbox-text-color);
648
937
  font-family: var(--ush-font-mono);
649
938
  font-size: var(--ush-text-xs);
650
939
  }
@@ -654,12 +943,12 @@ input[type="checkbox"]:indeterminate::after {
654
943
  }
655
944
 
656
945
  .ush-col-menu li:hover:not(.pin) {
657
- background-color: var(--ush-column-menu-item-hover-bg);
946
+ background-color: var(--ush-grid-popup-menu-item-hover-background);
658
947
  }
659
948
 
660
949
  .ush-col-menu .ush-separator {
661
950
  margin: 5px 0px;
662
- border-bottom: 1px solid var(--ush-column-menu-separator-bg);
951
+ border-bottom: 1px solid var(--ush-grid-popup-menu-separator-background);
663
952
  }
664
953
 
665
954
  .ush-col-menu .column-item span:nth-child(2) {
@@ -671,7 +960,7 @@ input[type="checkbox"]:indeterminate::after {
671
960
  }
672
961
 
673
962
  .ush-col-menu .chevron-down .ush-icon {
674
- color: var(--ush-column-menu-chevron-c);
963
+ color: var(--ush-grid-popup-menu-chevron-color);
675
964
  }
676
965
 
677
966
  .ush-col-menu .chevron-down.open {
@@ -690,11 +979,6 @@ input[type="checkbox"]:indeterminate::after {
690
979
  opacity 0.5s ease;
691
980
  }
692
981
 
693
- .ush-col-menu .columns .ush-input {
694
- margin-block: 5px;
695
- margin-inline: 2px;
696
- }
697
-
698
982
  .ush-col-menu .columns.open {
699
983
  max-height: 500px; /* must be larger than content height */
700
984
  opacity: 1;
@@ -713,14 +997,14 @@ input[type="checkbox"]:indeterminate::after {
713
997
  gap: 4px;
714
998
  font-size: var(--ush-text-sm2);
715
999
  font-weight: normal;
716
- color: var(--ush-column-menu-item-tc);
1000
+ color: var(--ush-grid-popup-menu-item-text-color);
717
1001
  cursor: pointer;
718
1002
  border-radius: var(--ush-radius-sm);
719
1003
  }
720
1004
 
721
1005
  .ush-col-menu .checkbox-label:hover {
722
- background-color: var(--ush-column-menu-item-hover-bg);
723
- color: var(--ush-column-menu-item-hover-tc);
1006
+ background-color: var(--ush-grid-popup-menu-item-hover-background);
1007
+ color: var(--ush-grid-popup-menu-item-hover-text-color);
724
1008
  }
725
1009
 
726
1010
  .ush-col-menu span.select-all {
@@ -741,7 +1025,7 @@ input[type="checkbox"]:indeterminate::after {
741
1025
 
742
1026
  .ush-col-menu .selected-columns span {
743
1027
  font-family: var(--ush-font-mono);
744
- color: var(--ush-column-menu-selected-col-tc);
1028
+ color: var(--ush-grid-column-menu-selected-column-text-color);
745
1029
  font-size: calc(var(--ush-text-base) * 0.6875);
746
1030
  }
747
1031
 
@@ -764,18 +1048,18 @@ input[type="checkbox"]:indeterminate::after {
764
1048
 
765
1049
  .ush-col-menu .left-pin:hover,
766
1050
  .ush-col-menu .right-pin:hover {
767
- background-color: var(--ush-column-menu-pinbox-hover-bg);
768
- color: var(--ush-column-menu-pinbox-hover-tc);
1051
+ background-color: var(--ush-grid-column-menu-pinbox-hover-background);
1052
+ color: var(--ush-grid-column-menu-pinbox-hover-text-color);
769
1053
  cursor: pointer;
770
1054
  }
771
1055
 
772
1056
  .ush-col-menu .left-pin.pinned,
773
1057
  .ush-col-menu .right-pin.pinned {
774
- background: var(--ush-column-menu-pinned-bg);
775
- box-shadow: var(--ush-column-menu-pinned-shadow);
1058
+ background: var(--ush-grid-column-menu-pinned-background);
1059
+ box-shadow: var(--ush-grid-column-menu-pinned-shadow);
776
1060
  border-top-left-radius: var(--ush-radius-sm);
777
1061
  border-bottom-left-radius: var(--ush-radius-sm);
778
- color: var(--ush-column-menu-pinned-tc);
1062
+ color: var(--ush-grid-column-menu-pinned-text-color);
779
1063
  }
780
1064
 
781
1065
  .ush-col-menu .no-data {
@@ -793,7 +1077,7 @@ input[type="checkbox"]:indeterminate::after {
793
1077
  top: 0;
794
1078
  bottom: 0;
795
1079
  width: 2px;
796
- background: #0078d4;
1080
+ background: var(--ush-grid-drop-indicator-background);
797
1081
  opacity: 0;
798
1082
  transition: opacity 80ms ease;
799
1083
  pointer-events: none;
@@ -812,7 +1096,7 @@ input[type="checkbox"]:indeterminate::after {
812
1096
  flex: 1 1 auto;
813
1097
  overflow: hidden;
814
1098
  position: relative;
815
- border-top: 1px solid var(--ush-body-vp-border-tc);
1099
+ border-top: 1px solid var(--ush-grid-body-viewport-border-top-color);
816
1100
  display: flex;
817
1101
  }
818
1102
 
@@ -833,33 +1117,31 @@ input[type="checkbox"]:indeterminate::after {
833
1117
  position: sticky;
834
1118
  left: 0;
835
1119
  z-index: 3;
836
- box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
1120
+ box-shadow: var(--ush-pinned-column-left-shadow);
837
1121
  }
838
1122
 
839
1123
  .ush-body.ush-pinned-right {
840
1124
  position: sticky;
841
1125
  right: 0;
842
1126
  z-index: 3;
843
- box-shadow:
844
- -2px 0 1px rgba(0, 0, 0, 0.15),
845
- inset -1px 0 #d0d0d0;
1127
+ box-shadow: var(--ush-pinned-column-right-shadow);
846
1128
  }
847
1129
 
848
1130
  /* .ush-body > .ush-row:nth-child(odd) {
849
- background-color: var(--ush-grid-alternate-row-bg);
1131
+ background-color: var(--ush-grid-alternate-row-background);
850
1132
  } */
851
1133
 
852
1134
  .ush-footer-viewport {
853
1135
  overflow: hidden;
854
1136
  flex: 0 0 auto;
855
- background: var(--ush-footer-vp-bg);
856
- border-top: 1px solid var(--ush-footer-border-tc);
1137
+ background: var(--ush-grid-footer-viewport-background);
1138
+ border-top: 1px solid var(--ush-grid-footer-border-top-color);
857
1139
  display: flex;
858
1140
  }
859
1141
 
860
1142
  .ush-footer {
861
1143
  height: 24px;
862
- background: var(--ush-footer-bg);
1144
+ background: var(--ush-grid-footer-background);
863
1145
  display: flex;
864
1146
  font-size: 11px;
865
1147
  }
@@ -871,8 +1153,8 @@ input[type="checkbox"]:indeterminate::after {
871
1153
  overflow: hidden;
872
1154
  display: flex;
873
1155
  align-items: center;
874
- border-right: 1px solid var(--ush-footer-cell-border-rc);
875
- color: var(--ush-footer-cell-tc);
1156
+ border-right: 1px solid var(--ush-grid-footer-cell-border-right-color);
1157
+ color: var(--ush-grid-footer-cell-text-color);
876
1158
  font-weight: var(--ush-font-weight-semibold);
877
1159
  }
878
1160
 
@@ -891,14 +1173,14 @@ input[type="checkbox"]:indeterminate::after {
891
1173
  position: sticky;
892
1174
  left: 0;
893
1175
  z-index: 3;
894
- box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
1176
+ box-shadow: var(--ush-pinned-column-left-shadow);
895
1177
  }
896
1178
 
897
1179
  .ush-footer.ush-pinned-right {
898
1180
  position: sticky;
899
1181
  right: 0;
900
1182
  z-index: 3;
901
- box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
1183
+ box-shadow: var(--ush-pinned-column-right-shadow);
902
1184
  }
903
1185
 
904
1186
  .ush-viewport {
@@ -949,8 +1231,8 @@ input[type="checkbox"]:indeterminate::after {
949
1231
  width: 16px; /* typical scrollbar width */
950
1232
  height: 40px; /* header height */
951
1233
  box-sizing: content-box !important;
952
- background: var(--ush-col-header-cell-bg);
953
- border-bottom: 1px solid var(--ush-body-vp-border-tc);
1234
+ background: var(--ush-grid-header-cell-background);
1235
+ border-bottom: 1px solid var(--ush-grid-body-viewport-border-top-color);
954
1236
  flex: 0 0 auto;
955
1237
  position: relative;
956
1238
  /* margin-left: -1px; */
@@ -960,7 +1242,7 @@ input[type="checkbox"]:indeterminate::after {
960
1242
  content: "";
961
1243
  width: 16px; /* typical scrollbar width */
962
1244
  height: 1px;
963
- border-top: 1px solid var(--ush-body-vp-border-tc);
1245
+ border-top: 1px solid var(--ush-grid-body-viewport-border-top-color);
964
1246
  position: absolute;
965
1247
  top: 40px; /* header height */
966
1248
  left: 0;
@@ -970,7 +1252,7 @@ input[type="checkbox"]:indeterminate::after {
970
1252
  content: "";
971
1253
  width: 16px; /* typical scrollbar width */
972
1254
  height: 1px;
973
- border-top: 1px solid var(--ush-body-vp-border-tc);
1255
+ border-top: 1px solid var(--ush-grid-body-viewport-border-top-color);
974
1256
  position: absolute;
975
1257
  top: 70px; /* header height + filter row height */
976
1258
  left: 0;
@@ -979,8 +1261,8 @@ input[type="checkbox"]:indeterminate::after {
979
1261
  .ush-v-scroll-spacer-bottom {
980
1262
  width: 16px; /* typical scrollbar width */
981
1263
  height: 25px; /* footer height */
982
- background: var(--ush-footer-bg);
983
- border-top: 1px solid var(--ush-footer-border-tc);
1264
+ background: var(--ush-grid-footer-background);
1265
+ border-top: 1px solid var(--ush-grid-footer-border-top-color);
984
1266
  flex: 0 0 auto;
985
1267
  position: relative;
986
1268
  /* margin-left: -1px; */
@@ -1011,8 +1293,8 @@ input[type="checkbox"]:indeterminate::after {
1011
1293
  height: 100%;
1012
1294
  display: flex;
1013
1295
  flex-direction: column;
1014
- background-color: var(--ush-grid-bg);
1015
- border: 1px solid var(--ush-grid-bc);
1296
+ background-color: var(--ush-grid-background);
1297
+ border: 1px solid var(--ush-grid-border-color);
1016
1298
  border-radius: var(--ush-radius-lg);
1017
1299
  font-family: var(--ush-font-display);
1018
1300
  }
@@ -1028,9 +1310,10 @@ input[type="checkbox"]:indeterminate::after {
1028
1310
  left: 0;
1029
1311
  width: 100%;
1030
1312
  height: 100%;
1031
- background-color: rgba(0, 0, 0, 0.3);
1313
+ background-color: var(--ush-grid-overlay-background);
1032
1314
  z-index: 1000;
1033
1315
  pointer-events: auto;
1316
+ border-radius: var(--ush-radius-lg);
1034
1317
  }
1035
1318
 
1036
1319
  .ush-grid-container {
@@ -1057,11 +1340,11 @@ input[type="checkbox"]:indeterminate::after {
1057
1340
  overflow: hidden;
1058
1341
  white-space: nowrap;
1059
1342
  align-items: center;
1060
- border-right: 1px solid var(--ush-cell-border-rc);
1061
- border-bottom: 1px solid var(--ush-cell-border-bc);
1062
- color: var(--ush-cell-tc);
1343
+ border-right: 1px solid var(--ush-grid-cell-border-right-color);
1344
+ border-bottom: 1px solid var(--ush-grid-cell-border-bottom-color);
1345
+ color: var(--ush-grid-cell-text-color);
1063
1346
  font-family: var(--ush-font-sans);
1064
- font-size: var(--ush-text-sm);
1347
+ font-size: var(--ush-text-sm2);
1065
1348
  }
1066
1349
 
1067
1350
  .ush-cell.last-cell {
@@ -1069,15 +1352,10 @@ input[type="checkbox"]:indeterminate::after {
1069
1352
  }
1070
1353
 
1071
1354
  .ush-cell.ush-readonly {
1072
- background-color: rgba(0, 0, 0, 0.03);
1073
- color: #666;
1355
+ background-color: var(--ush-grid-cell-readonly-background);
1074
1356
  cursor: default;
1075
1357
  }
1076
1358
 
1077
- .ush-cell.ush-readonly:hover {
1078
- background-color: rgba(0, 0, 0, 0.05);
1079
- }
1080
-
1081
1359
  .ush-align-left {
1082
1360
  text-align: left;
1083
1361
  }
@@ -1114,7 +1392,7 @@ input[type="checkbox"]:indeterminate::after {
1114
1392
  }
1115
1393
 
1116
1394
  .ush-row.alternate {
1117
- background-color: var(--ush-grid-alternate-row-bg);
1395
+ background-color: var(--ush-grid-alternate-row-background);
1118
1396
  }
1119
1397
 
1120
1398
  .ush-no-data {
@@ -1135,8 +1413,6 @@ input[type="checkbox"]:indeterminate::after {
1135
1413
  position: absolute;
1136
1414
  top: 0;
1137
1415
  left: 0;
1138
-
1139
- z-index: 4;
1140
1416
  }
1141
1417
 
1142
1418
  .ush-no-data__icon {
@@ -1304,7 +1580,7 @@ input[type="checkbox"]:indeterminate::after {
1304
1580
  .ush-filter-row-viewport {
1305
1581
  overflow: hidden;
1306
1582
  flex: 0 0 auto;
1307
- background: #f0f0f0;
1583
+ background: var(--ush-grid-filter-row-background);
1308
1584
  display: flex;
1309
1585
  }
1310
1586
 
@@ -1312,21 +1588,21 @@ input[type="checkbox"]:indeterminate::after {
1312
1588
  height: 30px;
1313
1589
  display: flex;
1314
1590
  align-items: center;
1315
- border-top: 1px solid #d0d0d0;
1591
+ border-top: 1px solid var(--ush-grid-filter-row-border-top-color);
1316
1592
  }
1317
1593
 
1318
1594
  .ush-filter-row.ush-pinned-left {
1319
1595
  position: sticky;
1320
1596
  left: 0;
1321
1597
  z-index: 3;
1322
- box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
1598
+ box-shadow: var(--ush-pinned-column-left-shadow);
1323
1599
  }
1324
1600
 
1325
1601
  .ush-filter-row.ush-pinned-right {
1326
1602
  position: sticky;
1327
1603
  right: 0;
1328
1604
  z-index: 3;
1329
- box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
1605
+ box-shadow: var(--ush-pinned-column-right-shadow);
1330
1606
  }
1331
1607
 
1332
1608
  .ush-filter-cell {
@@ -1336,10 +1612,11 @@ input[type="checkbox"]:indeterminate::after {
1336
1612
  min-width: 0;
1337
1613
  padding: 0 2px;
1338
1614
  height: 30px;
1339
- background: #e8e8e8;
1340
- border-right: 1px solid #ccc;
1615
+ background: var(--ush-grid-filter-cell-background);
1616
+ border-right: 1px solid var(--ush-grid-filter-cell-border-right-color);
1341
1617
  overflow: hidden;
1342
1618
  align-items: center;
1619
+ gap: 2x;
1343
1620
  }
1344
1621
 
1345
1622
  .ush-filter-cell-content {
@@ -1347,18 +1624,30 @@ input[type="checkbox"]:indeterminate::after {
1347
1624
  min-width: 0;
1348
1625
  overflow: hidden;
1349
1626
  white-space: nowrap;
1627
+ padding-right: 5px;
1350
1628
  }
1351
1629
 
1352
1630
  .ush-filter-editor {
1353
1631
  width: 0;
1354
1632
  min-width: 100%;
1355
- padding: 4px;
1356
1633
  font-size: inherit;
1357
1634
  height: 25px;
1358
1635
  }
1359
1636
 
1360
1637
  .ush-filter-cell .ush-filter-icon {
1361
1638
  cursor: pointer;
1639
+ color: var(--ush-grid-filter-cell-icon-color);
1640
+ border-radius: var(--ush-radius-sm);
1641
+ }
1642
+
1643
+ .ush-filter-cell .ush-filter-icon svg {
1644
+ width: var(--ush-spacing-4);
1645
+ height: var(--ush-spacing-4);
1646
+ }
1647
+
1648
+ .ush-filter-cell .ush-filter-icon:hover {
1649
+ color: var(--ush-grid-filter-cell-icon-hover-color);
1650
+ background-color: var(--ush-grid-filter-cell-icon-hover-background);
1362
1651
  }
1363
1652
 
1364
1653
  .ush-filter-cell .ush-filter-icon.ush-disabled,
@@ -1371,288 +1660,912 @@ input[type="checkbox"]:indeterminate::after {
1371
1660
  stroke: gray;
1372
1661
  }
1373
1662
 
1663
+ .ush-filter-cell .ush-filter-icon[active] {
1664
+ color: var(--ush-grid-filter-cell-icon-active-color);
1665
+ }
1666
+
1667
+ .ush-filter-cell .ush-filter-icon:hover[active] {
1668
+ color: var(--ush-grid-filter-cell-icon-active-hover-color);
1669
+ }
1670
+
1374
1671
  .ush-filter-operators {
1375
1672
  background-color: white;
1376
- border: 1px solid gainsboro;
1673
+ border: 1px solid var(--ush-grid-popup-menu-border-color);
1377
1674
  list-style-type: none;
1378
1675
  padding: 4px;
1379
1676
  overflow-y: auto;
1380
- max-height: 150px;
1677
+ max-height: 200px;
1381
1678
  height: auto;
1382
- width: 150px;
1383
- box-shadow:
1384
- rgba(0, 0, 0, 0.16) 0px 3px 6px,
1385
- rgba(0, 0, 0, 0.23) 0px 3px 6px;
1679
+ width: 260px;
1680
+ box-shadow: var(--ush-shadow-popup);
1386
1681
  margin: 0;
1387
1682
  font-size: 12px;
1388
1683
  position: absolute;
1684
+ font-family: var(--ush-font-sans);
1685
+ border-radius: var(--ush-radius-md);
1686
+ z-index: 3;
1687
+ padding: calc(var(--ush-spacing) * 1.5);
1389
1688
  }
1390
1689
 
1391
1690
  .ush-filter-operators li {
1392
1691
  cursor: pointer;
1393
1692
  padding: 2px;
1693
+ color: var(--ush-grid-popup-menu-item-text-color);
1694
+ padding-inline: var(--ush-spacing-3);
1695
+ border-radius: var(--ush-radius-sm);
1696
+ position: relative;
1394
1697
  }
1395
1698
 
1396
1699
  .ush-filter-operators li:hover {
1397
- background-color: gainsboro;
1700
+ background-color: var(--ush-grid-popup-menu-item-hover-background);
1701
+ color: var(--ush-grid-popup-menu-item-hover-text-color);
1398
1702
  }
1399
1703
 
1400
- .ush-filter-operators li.active {
1401
- background-color: gray;
1402
- color: white;
1403
- }
1404
-
1405
- .ush-menu-filter {
1406
- background-color: white;
1407
- border: 1px solid gainsboro;
1408
- padding: 4px;
1409
- overflow-y: auto;
1410
- height: auto;
1411
- max-width: 600px;
1412
- box-shadow:
1413
- rgba(0, 0, 0, 0.16) 0px 3px 6px,
1414
- rgba(0, 0, 0, 0.23) 0px 3px 6px;
1415
- margin: 0;
1704
+ .ush-filter-operators > li.active::after,
1705
+ .ush-excel-filter-popup .listbox li.active::after,
1706
+ .ush-menu-filter .listbox li.active::after {
1707
+ content: "";
1708
+ position: absolute;
1709
+ top: 50%;
1710
+ right: 8px;
1711
+ width: var(--ush-spacing-4);
1712
+ height: var(--ush-spacing-4);
1713
+ transform: translateY(-50%);
1714
+ background-color: var(--ush-grid-filter-operator-active-icon-color);
1715
+ -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2224%22%20height=%2224%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22currentColor%22%20stroke-width=%221.75%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-check%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22%20/%3E%3Cpath%20d=%22M5%2012l5%205l10%20-10%22%20/%3E%3C/svg%3E")
1716
+ no-repeat center / contain;
1717
+ mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2224%22%20height=%2224%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22currentColor%22%20stroke-width=%221.75%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-check%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22%20/%3E%3Cpath%20d=%22M5%2012l5%205l10%20-10%22%20/%3E%3C/svg%3E")
1718
+ no-repeat center / contain;
1416
1719
  }
1417
1720
 
1418
- .ush-menu-filter-row {
1721
+ .ush-filter-operators .ush-filter-operator-header {
1419
1722
  display: flex;
1420
- gap: 5px;
1421
- margin-top: 5px;
1723
+ padding-left: var(--ush-spacing-3);
1724
+ padding-block: 2px;
1725
+ border-bottom: 1px solid var(--ush-grid-filter-operator-border-bottom-color);
1726
+ align-items: center;
1727
+ justify-content: space-between;
1728
+ padding-bottom: var(--ush-spacing-2);
1422
1729
  }
1423
1730
 
1424
- .ush-header-cell .ush-filter-icon {
1425
- cursor: pointer;
1426
- padding: calc(var(--ush-spacing) * 0.5);
1427
- border-radius: var(--ush-radius-sm);
1731
+ .ush-filter-operators .ush-filter-operator-header .column-name {
1732
+ color: var(--ush-grid-filter-operator-column-text-color);
1733
+ font-family: var(--ush-font-display);
1734
+ font-size: var(--ush-text-xs);
1735
+ font-weight: var(--ush-font-weight-medium);
1428
1736
  }
1429
1737
 
1430
- .ush-header-cell .ush-filter-icon:hover {
1431
- background-color: var(--ush-col-header-icon-bg-hover);
1738
+ .ush-filter-operators .ush-filter-operator-header .descr {
1739
+ color: var(--ush-grid-filter-operator-description-text-color);
1740
+ font-family: var(--ush-font-sans);
1741
+ font-size: var(--ush-text-xs);
1432
1742
  }
1433
1743
 
1434
- .ush-header-cell .ush-filter-icon svg {
1435
- width: var(--ush-spacing-4);
1436
- height: var(--ush-spacing-4);
1437
- color: var(--ush-col-header-icon-c);
1744
+ .ush-filter-operators .ush-filter-operator-header .filter-type {
1745
+ background-color: var(--ush-grid-filter-operator-type-background);
1746
+ color: var(--ush-grid-filter-operator-type-text-color);
1747
+ font-family: var(--ush-font-mono);
1748
+ font-size: var(--ush-text-xs);
1749
+ padding-block: calc(var(--ush-spacing) * 0.5);
1750
+ padding-inline: var(--ush-spacing-2);
1751
+ border-radius: var(--ush-radius-sm);
1438
1752
  }
1439
1753
 
1440
- .ush-header-cell .ush-filter-icon:hover svg {
1441
- color: var(--ush-col-header-icon-c-hover);
1754
+ .ush-menu-filter {
1755
+ background-color: var(--ush-grid-menu-filter-background);
1756
+ border: 1px solid var(--ush-grid-menu-filter-border-color);
1757
+ border-radius: var(--ush-radius-lg);
1758
+ height: auto;
1759
+ max-width: 700px;
1760
+ box-shadow: var(--ush-shadow-xl);
1761
+ margin: 0;
1762
+ z-index: 4;
1442
1763
  }
1443
1764
 
1444
- .ush-filter-btn-container {
1765
+ .ush-menu-filter .header {
1766
+ padding-block: var(--ush-spacing-3);
1767
+ padding-inline: var(--ush-spacing-4);
1768
+ border-bottom: 1px solid var(--ush-grid-menu-filter-border-color);
1769
+ gap: var(--ush-spacing-4);
1770
+ justify-content: space-between;
1771
+ align-items: flex-start;
1445
1772
  display: flex;
1446
- justify-content: end;
1447
- gap: 5px;
1448
- margin-top: 10px;
1449
- font-size: inherit;
1450
- }
1451
-
1452
- .ush-filter-icon.ush-active-filter svg,
1453
- .ush-filter-icon.ush-active-filter:hover svg,
1454
- .ush-excel-filter .ush-active-filter {
1455
- color: var(--ush-grid-filter-active-icon-c);
1456
- stroke-width: 1.75;
1457
1773
  }
1458
1774
 
1459
- .ush-excel-filter {
1460
- background-color: white;
1461
- border: 1px solid gainsboro;
1462
- padding: 4px;
1463
- overflow-y: auto;
1464
- max-height: 400px;
1465
- width: 200px;
1466
- box-shadow:
1467
- rgba(0, 0, 0, 0.16) 0px 3px 6px,
1468
- rgba(0, 0, 0, 0.23) 0px 3px 6px;
1469
- margin: 0;
1470
- z-index: 1001;
1775
+ .ush-menu-filter .titlebar {
1776
+ gap: var(--ush-spacing-3);
1777
+ align-items: flex-start;
1778
+ display: flex;
1471
1779
  }
1472
1780
 
1473
- .ush-excel-filter ul {
1474
- list-style-type: none;
1475
- font-weight: normal;
1476
- padding: 0;
1477
- margin: 0;
1478
- font-size: 12px;
1781
+ .ush-menu-filter .filter-icon {
1782
+ color: var(--ush-grid-menu-filter-filter-icon-color);
1783
+ background-color: var(--ush-grid-menu-filter-filter-icon-background);
1784
+ border-radius: var(--ush-radius-md);
1785
+ justify-content: center;
1786
+ align-items: center;
1787
+ flex-shrink: 0;
1788
+ width: var(--ush-spacing-8);
1789
+ height: var(--ush-spacing-8);
1790
+ display: flex;
1479
1791
  }
1480
1792
 
1481
- .ush-excel-filter li {
1482
- padding: 2px;
1793
+ .ush-menu-filter .close-icon {
1794
+ color: var(--ush-grid-menu-filter-close-icon-color);
1483
1795
  cursor: pointer;
1796
+ border-radius: var(--ush-radius-sm);
1797
+ width: var(--ush-spacing-6);
1798
+ height: var(--ush-spacing-6);
1484
1799
  display: flex;
1485
- gap: 5px;
1800
+ justify-content: center;
1486
1801
  align-items: center;
1802
+ flex-shrink: 0;
1487
1803
  }
1488
1804
 
1489
- .ush-excel-filter li.ush-disabled {
1490
- color: #aaa;
1491
- cursor: not-allowed;
1492
- pointer-events: none;
1493
- opacity: 0.6;
1805
+ .ush-menu-filter .close-icon:hover {
1806
+ color: var(--ush-grid-menu-filter-close-icon-hover-color);
1807
+ background-color: var(--ush-grid-menu-filter-close-icon-hover-background);
1494
1808
  }
1495
1809
 
1496
- .ush-excel-filter li:not(.input):hover {
1497
- background-color: gainsboro;
1810
+ .ush-menu-filter .close-icon svg {
1811
+ stroke-width: 2;
1812
+ width: calc(var(--ush-spacing-4) * 1.125);
1813
+ height: calc(var(--ush-spacing-4) * 1.125);
1498
1814
  }
1499
1815
 
1500
- .ush-excel-filter .ush-separator {
1501
- margin: 5px 0px;
1502
- border-bottom: 1px solid gainsboro;
1816
+ .ush-menu-filter .title {
1817
+ color: var(--ush-grid-menu-filter-title-text-color);
1818
+ font-size: var(--ush-text-sm);
1819
+ font-family: var(--ush-font-display);
1820
+ font-weight: var(--ush-font-weight-medium);
1503
1821
  }
1504
1822
 
1505
- .ush-excel-filter .chevron-right {
1506
- margin-left: auto;
1823
+ .ush-menu-filter .descr {
1824
+ color: var(--ush-grid-menu-filter-description-text-color);
1825
+ font-size: var(--ush-text-xs);
1826
+ margin-top: calc(var(--ush-spacing) * 0.5);
1507
1827
  }
1508
1828
 
1509
- .ush-excel-filter input[type="text"] {
1510
- flex: 1;
1511
- font-size: 12px;
1829
+ .ush-menu-filter .filters {
1830
+ padding-block: var(--ush-spacing-4);
1831
+ padding-inline: var(--ush-spacing-4);
1512
1832
  }
1513
1833
 
1514
- .ush-excel-filter .ush-checkbox-items {
1515
- overflow-y: auto;
1516
- max-height: 220px;
1834
+ .ush-menu-filter .filters-title {
1835
+ padding-inline: var(--ush-spacing-1);
1836
+ gap: var(--ush-spacing-2);
1837
+ align-items: center;
1517
1838
  display: flex;
1518
- flex-direction: column;
1839
+ margin-bottom: var(--ush-spacing-2);
1519
1840
  }
1520
1841
 
1521
- .ush-excel-filter .checkbox-label {
1522
- display: flex;
1523
- align-items: center;
1524
- gap: 4px;
1525
- font-size: 12px;
1526
- font-weight: normal;
1842
+ .ush-menu-filter .column-name {
1843
+ color: var(--ush-grid-menu-filter-column-name-text-color);
1844
+ font-size: var(--ush-text-xs);
1845
+ font-family: var(--ush-font-display);
1846
+ font-weight: var(--ush-font-weight-medium);
1527
1847
  }
1528
1848
 
1529
- .ush-excel-filter .toggle-btn {
1530
- background-color: transparent;
1531
- border: none;
1532
- font-size: 16px;
1533
- width: 22px;
1849
+ .ush-menu-filter .row-icon {
1850
+ width: var(--ush-spacing-6);
1851
+ height: var(--ush-spacing-6);
1534
1852
  }
1535
1853
 
1536
- .ush-excel-filter .node-header {
1537
- display: flex;
1854
+ .ush-menu-filter .button-container {
1855
+ background-color: var(--ush-grid-menu-filter-footer-background);
1856
+ border-top: 1px solid var(--ush-grid-menu-filter-footer-border-color);
1857
+ padding-block: var(--ush-spacing-3);
1858
+ padding-inline: var(--ush-spacing-4);
1859
+ border-bottom-right-radius: var(--ush-radius-lg);
1860
+ border-bottom-left-radius: var(--ush-radius-lg);
1861
+ gap: var(--ush-spacing-4);
1862
+ justify-content: space-between;
1538
1863
  align-items: center;
1864
+ display: flex;
1539
1865
  }
1540
1866
 
1541
- .ush-excel-filter .level-0 {
1542
- padding-left: 0px;
1867
+ .ush-menu-filter .cancel-apply {
1868
+ gap: var(--ush-spacing-2);
1869
+ align-items: center;
1870
+ display: flex;
1543
1871
  }
1544
1872
 
1545
- .ush-excel-filter .level-1 {
1546
- padding-left: 20px;
1873
+ .ush-menu-filter .button-container .ush-button {
1874
+ height: var(--ush-spacing-8);
1875
+ font-weight: var(--ush-font-weight-medium);
1547
1876
  }
1548
1877
 
1549
- .ush-excel-filter .level-2 {
1550
- padding-left: 62px;
1878
+ .ush-menu-filter #field {
1879
+ width: var(--ush-spacing-24);
1551
1880
  }
1552
1881
 
1553
- .date {
1554
- padding-left: 22px;
1882
+ .ush-menu-filter #operator {
1883
+ width: calc(var(--ush-spacing) * 55);
1555
1884
  }
1556
1885
 
1557
- .ush-excel-filter .no-data {
1558
- font-weight: normal;
1559
- font-size: 12px;
1560
- display: flex;
1561
- align-items: center;
1562
- justify-content: center;
1563
- height: 220px;
1886
+ .ush-menu-filter #value {
1887
+ width: calc(var(--ush-spacing-4) * 10);
1564
1888
  }
1565
1889
 
1566
- .ush-checkbox-items .hidden {
1567
- display: none;
1890
+ .ush-menu-filter #logic {
1891
+ width: calc(var(--ush-spacing) * 20);
1568
1892
  }
1569
1893
 
1570
- .ush-excel-filter-operators {
1571
- font-size: 12px;
1572
- font-weight: normal;
1573
- background-color: white;
1574
- border: 1px solid gainsboro;
1575
- padding: 4px;
1576
- overflow-y: auto;
1577
- max-height: 250px;
1578
- width: 200px;
1579
- box-shadow:
1580
- rgba(0, 0, 0, 0.16) 0px 3px 6px,
1581
- rgba(0, 0, 0, 0.23) 0px 3px 6px;
1582
- margin: 0;
1894
+ .ush-menu-filter-row {
1895
+ gap: var(--ush-spacing-2);
1896
+ align-items: center;
1897
+ display: flex;
1898
+ margin-block-end: var(--ush-spacing-2);
1899
+ padding-inline: var(--ush-spacing-1);
1583
1900
  }
1584
1901
 
1585
- .ush-excel-filter-operators li {
1902
+ .ush-menu-filter-row .field {
1903
+ padding-inline: calc(var(--ush-spacing) * 2.5);
1904
+ border-radius: var(--ush-radius-sm);
1905
+ gap: var(--ush-spacing-2);
1906
+ align-items: center;
1907
+ width: var(--ush-spacing-24);
1908
+ height: calc(var(--ush-spacing) * 7);
1909
+ display: flex;
1910
+ background-color: var(--ush-grid-menu-filter-field-background);
1911
+ border: 1px solid var(--ush-grid-menu-filter-row-border-color);
1912
+ }
1913
+
1914
+ .ush-menu-filter-row .field .number {
1915
+ color: var(--ush-grid-menu-filter-row-number-text-color);
1916
+ background-color: var(--ush-grid-menu-filter-row-number-background);
1917
+ font-size: var(--ush-text-xs);
1918
+ font-family: var(--ush-font-mono);
1919
+ border-radius: var(--ush-radius-full);
1920
+ justify-content: center;
1921
+ align-items: center;
1922
+ flex-shrink: 0;
1923
+ display: flex;
1924
+ width: var(--ush-spacing-4);
1925
+ height: var(--ush-spacing-4);
1926
+ }
1927
+
1928
+ .ush-menu-filter-row .field .field-name {
1929
+ color: var(--ush-grid-menu-filter-row-field-text-color);
1930
+ font-size: var(--ush-text-sm);
1931
+ overflow: hidden;
1932
+ text-overflow: ellipsis;
1933
+ white-space: nowrap;
1934
+ font-family: var(--ush-font-sans);
1935
+ }
1936
+
1937
+ .ush-menu-filter-row .input-container {
1938
+ width: calc(var(--ush-spacing-4) * 10);
1939
+ }
1940
+
1941
+ .ush-menu-filter-row .ush-input {
1942
+ height: calc(var(--ush-spacing) * 7);
1943
+ font-size: var(--ush-text-sm);
1944
+ width: 100%;
1945
+ margin: 0;
1946
+ }
1947
+
1948
+ .ush-menu-filter-row .operator-btn,
1949
+ .ush-menu-filter-row .combinator-btn {
1950
+ color: var(--ush-grid-menu-filter-select-button-color);
1951
+ font-size: var(--ush-text-sm);
1952
+ font-family: var(--ush-font-sans);
1953
+ padding-inline: var(--ush-spacing-3);
1954
+ background-color: var(--ush-grid-menu-filter-select-button-background);
1955
+ border: 1px solid var(--ush-grid-menu-filter-select-button-border-color);
1956
+ border-radius: var(--ush-radius-md);
1957
+ gap: calc(var(--ush-spacing) * 1.5);
1958
+ justify-content: center;
1959
+ align-items: center;
1960
+ width: 100%;
1961
+ height: calc(var(--ush-spacing) * 7);
1962
+ display: inline-flex;
1963
+ cursor: pointer;
1964
+ }
1965
+
1966
+ .ush-menu-filter-row .operator-btn-container {
1967
+ position: relative;
1968
+ width: calc(var(--ush-spacing) * 55);
1969
+ }
1970
+
1971
+ .ush-menu-filter-row .combinator-btn-container {
1972
+ position: relative;
1973
+ width: calc(var(--ush-spacing) * 20);
1974
+ }
1975
+
1976
+ .ush-menu-filter-row .operator-btn:hover,
1977
+ .ush-menu-filter-row .combinator-btn:hover {
1978
+ color: var(--ush-grid-menu-filter-select-button-hover-color);
1979
+ background-color: var(--ush-grid-menu-filter-select-button-hover-background);
1980
+ border-color: var(--ush-grid-menu-filter-select-button-hover-border-color);
1981
+ }
1982
+
1983
+ .ush-menu-filter-row .operator-btn.opened,
1984
+ .ush-menu-filter-row .combinator-btn.opened {
1985
+ border-color: var(--ush-grid-menu-filter-select-button-opened-border-color);
1986
+ color: var(--ush-grid-menu-filter-select-button-opened-border-color);
1987
+ }
1988
+
1989
+ .ush-menu-filter-row .operator-btn .ush-icon,
1990
+ .ush-menu-filter-row .combinator-btn .ush-icon {
1991
+ color: var(--ush-grid-menu-filter-select-button-chevron-color);
1992
+ transition: transform 200ms ease;
1993
+ }
1994
+
1995
+ .ush-menu-filter-row .operator-btn.opened .ush-icon,
1996
+ .ush-menu-filter-row .combinator-btn.opened .ush-icon {
1997
+ color: var(--ush-grid-menu-filter-select-button-chevron-opened-color);
1998
+ transform: rotate(180deg);
1999
+ }
2000
+
2001
+ .ush-menu-filter-row .icon-btn {
2002
+ width: var(--ush-spacing-6);
2003
+ height: var(--ush-spacing-6);
2004
+ border-radius: var(--ush-radius-sm);
2005
+ justify-content: center;
2006
+ align-items: center;
2007
+ cursor: pointer;
2008
+ display: inline-flex;
2009
+ color: var(--ush-grid-menu-filter-action-icon-color);
2010
+ }
2011
+
2012
+ .ush-menu-filter-row .icon-btn:hover {
2013
+ color: var(--ush-grid-menu-filter-action-icon-hover-color);
2014
+ background-color: var(--ush-grid-menu-filter-action-icon-hover-background);
2015
+ }
2016
+
2017
+ .ush-menu-filter-row .icon-btn.delete:hover {
2018
+ color: var(--ush-color-danger);
2019
+ }
2020
+
2021
+ .ush-menu-filter-row .icon-btn svg {
2022
+ width: calc(var(--ush-spacing-4) * 0.875);
2023
+ height: calc(var(--ush-spacing-4) * 0.875);
2024
+ stroke-width: 2;
2025
+ }
2026
+
2027
+ .ush-header-cell .ush-filter-icon {
2028
+ cursor: pointer;
2029
+ padding: calc(var(--ush-spacing) * 0.5);
2030
+ border-radius: var(--ush-radius-sm);
2031
+ }
2032
+
2033
+ .ush-header-cell .ush-filter-icon:hover {
2034
+ background-color: var(--ush-grid-header-icon-background-hover);
2035
+ }
2036
+
2037
+ .ush-header-cell .ush-filter-icon svg {
2038
+ width: var(--ush-spacing-4);
2039
+ height: var(--ush-spacing-4);
2040
+ color: var(--ush-grid-header-icon-color);
2041
+ }
2042
+
2043
+ .ush-header-cell .ush-filter-icon:hover svg {
2044
+ color: var(--ush-grid-header-icon-color-hover);
2045
+ }
2046
+
2047
+ .ush-filter-btn-container {
2048
+ display: flex;
2049
+ justify-content: end;
2050
+ gap: 5px;
2051
+ margin-top: 10px;
2052
+ font-size: inherit;
2053
+ }
2054
+
2055
+ .ush-filter-icon.ush-active-filter svg,
2056
+ .ush-filter-icon.ush-active-filter:hover svg,
2057
+ .ush-excel-filter .ush-active-filter .ush-icon {
2058
+ color: var(--ush-grid-filter-active-icon-color);
2059
+ stroke-width: 1.75;
2060
+ }
2061
+
2062
+ .ush-excel-filter {
2063
+ background-color: var(--ush-grid-popup-menu-background);
2064
+ border: 1px solid var(--ush-grid-popup-menu-bc);
2065
+ padding: 4px;
2066
+ overflow-y: auto;
2067
+ max-height: 400px;
2068
+ width: 200px;
2069
+ margin: 0;
2070
+ z-index: 1001;
2071
+ box-shadow: var(--ush-shadow-popup);
2072
+ border-radius: var(--ush-radius-md);
2073
+ font-family: var(--ush-font-sans);
2074
+ }
2075
+
2076
+ .ush-excel-filter ul {
2077
+ list-style-type: none;
2078
+ font-weight: normal;
2079
+ padding: 0;
2080
+ margin: 0;
2081
+ font-size: var(--ush-text-sm2);
2082
+ }
2083
+
2084
+ .ush-excel-filter li {
2085
+ padding: 2px;
2086
+ cursor: pointer;
2087
+ display: flex;
2088
+ gap: 5px;
2089
+ align-items: center;
2090
+ color: var(--ush-grid-popup-menu-item-text-color);
2091
+ }
2092
+
2093
+ .ush-excel-filter li:hover {
2094
+ color: var(--ush-grid-popup-menu-item-hover-text-color);
2095
+ border-radius: var(--ush-radius-sm);
2096
+ }
2097
+
2098
+ .ush-excel-filter li .ush-icon {
2099
+ color: var(--ush-grid-popup-menu-item-icon-color);
2100
+ }
2101
+
2102
+ .ush-excel-filter li.ush-disabled {
2103
+ color: #aaa;
2104
+ cursor: not-allowed;
2105
+ pointer-events: none;
2106
+ opacity: 0.6;
2107
+ }
2108
+
2109
+ .ush-excel-filter li:not(.input):hover {
2110
+ background-color: var(--ush-grid-popup-menu-item-hover-background);
2111
+ }
2112
+
2113
+ .ush-excel-filter .ush-separator {
2114
+ margin: 5px 0px;
2115
+ border-bottom: 1px solid var(--ush-grid-popup-menu-separator-background);
2116
+ }
2117
+
2118
+ .ush-excel-filter .chevron-right {
2119
+ margin-left: auto;
2120
+ }
2121
+
2122
+ .ush-excel-filter .chevron-right .ush-icon {
2123
+ color: var(--ush-grid-popup-menu-chevron-color);
2124
+ }
2125
+
2126
+ .ush-excel-filter .ush-input {
2127
+ flex: 1;
2128
+ margin-block: 5px;
2129
+ margin-inline: 2px;
2130
+ }
2131
+
2132
+ .ush-excel-filter li:has(.ush-input.disabled) {
2133
+ cursor: not-allowed;
2134
+ }
2135
+
2136
+ .ush-excel-filter .ush-checkbox-items {
2137
+ overflow-y: auto;
2138
+ max-height: 200px;
2139
+ display: flex;
2140
+ flex-direction: column;
2141
+ }
2142
+
2143
+ .ush-excel-filter .checkbox-label {
2144
+ display: flex;
2145
+ align-items: center;
2146
+ gap: 4px;
2147
+ font-size: var(--ush-text-sm2);
2148
+ font-weight: normal;
2149
+ color: var(--ush-grid-popup-menu-item-text-color);
2150
+ cursor: pointer;
2151
+ border-radius: var(--ush-radius-sm);
2152
+ }
2153
+
2154
+ .ush-excel-filter .checkbox-label:hover {
2155
+ background-color: var(--ush-grid-popup-menu-item-hover-background);
2156
+ color: var(--ush-grid-popup-menu-item-hover-text-color);
2157
+ }
2158
+
2159
+ .ush-excel-filter span.select-all {
2160
+ font-weight: var(--ush-font-weight-semibold);
2161
+ }
2162
+
2163
+ .ush-excel-filter .ush-button {
2164
+ font-weight: var(--ush-font-weight-medium);
2165
+ font-size: var(--ush-text-xs);
2166
+ padding-inline: var(--ush-spacing-2);
2167
+ height: var(--ush-spacing-6);
2168
+ }
2169
+
2170
+ .ush-excel-filter .toggle-btn {
2171
+ background-color: transparent;
2172
+ border: none;
2173
+ font-size: 16px;
2174
+ width: 22px;
2175
+ }
2176
+
2177
+ .ush-excel-filter .node-header {
2178
+ display: flex;
2179
+ align-items: center;
2180
+ }
2181
+
2182
+ .ush-excel-filter .level-0 {
2183
+ padding-left: 0px;
2184
+ }
2185
+
2186
+ .ush-excel-filter .level-1 {
2187
+ padding-left: 20px;
2188
+ }
2189
+
2190
+ .ush-excel-filter .level-2 {
2191
+ padding-left: 62px;
2192
+ }
2193
+
2194
+ .date {
2195
+ padding-left: 22px;
2196
+ }
2197
+
2198
+ .ush-excel-filter .no-data {
2199
+ font-weight: normal;
2200
+ font-size: 12px;
2201
+ display: flex;
2202
+ align-items: center;
2203
+ justify-content: center;
2204
+ height: 220px;
2205
+ }
2206
+
2207
+ .ush-checkbox-items .hidden {
2208
+ display: none;
2209
+ }
2210
+
2211
+ .ush-excel-filter-operators {
2212
+ font-size: var(--ush-text-sm2);
2213
+ font-weight: normal;
2214
+ background-color: var(--ush-grid-popup-menu-background);
2215
+ border: 1px solid var(--ush-grid-popup-menu-border-color);
1586
2216
  padding: 4px;
2217
+ overflow-y: auto;
2218
+ max-height: 250px;
2219
+ width: 200px;
2220
+ box-shadow: var(--ush-shadow-popup);
2221
+ margin: 0;
2222
+ border-radius: var(--ush-radius-md);
2223
+ font-family: var(--ush-font-sans);
2224
+ color: var(--ush-grid-popup-menu-text-color);
2225
+ }
2226
+
2227
+ .ush-excel-filter-operators li {
2228
+ padding: 2px;
1587
2229
  cursor: pointer;
1588
2230
  display: flex;
1589
- gap: 5px;
2231
+ gap: 5px;
2232
+ color: var(--ush-grid-popup-menu-item-text-color);
2233
+ }
2234
+
2235
+ .ush-excel-filter-operators li:hover {
2236
+ background-color: var(--ush-grid-popup-menu-item-hover-background);
2237
+ color: var(--ush-grid-popup-menu-item-hover-text-color);
2238
+ border-radius: var(--ush-radius-sm);
2239
+ }
2240
+
2241
+ .ush-excel-filter-operators .hidden,
2242
+ .ush-excel-filter .filters .hidden {
2243
+ visibility: hidden;
2244
+ }
2245
+
2246
+ .ush-excel-filter-popup {
2247
+ background-color: var(--ush-grid-excel-filter-popup-background);
2248
+ border: 1px solid var(--ush-grid-excel-filter-popup-border-color);
2249
+ border-radius: var(--ush-radius-lg);
2250
+ height: auto;
2251
+ width: 100%;
2252
+ max-width: var(--ush-container-xl);
2253
+ box-shadow: var(--ush-shadow-xl);
2254
+ margin: 0;
2255
+ z-index: 1001;
2256
+ position: absolute;
2257
+ top: 50%;
2258
+ left: 50%;
2259
+ transform: translate(-50%, -50%);
2260
+ }
2261
+
2262
+ .ush-excel-filter-popup .title-bar {
2263
+ display: flex;
2264
+ justify-content: space-between;
2265
+ align-items: flex-start;
2266
+ gap: var(--ush-spacing-4);
2267
+ padding-block: var(--ush-spacing-4);
2268
+ padding-inline: var(--ush-spacing-6);
2269
+ border-bottom: 1px solid var(--ush-grid-excel-filter-popup-border-color);
2270
+ }
2271
+
2272
+ .ush-excel-filter-popup .first-block {
2273
+ display: flex;
2274
+ gap: var(--ush-spacing-3);
2275
+ min-width: 0px;
2276
+ }
2277
+
2278
+ .ush-excel-filter-popup .close-icon {
2279
+ cursor: pointer;
2280
+ color: var(--ush-grid-excel-filter-popup-close-icon-color);
2281
+ border-radius: var(--ush-radius-sm);
2282
+ width: var(--ush-spacing-6);
2283
+ height: var(--ush-spacing-6);
2284
+ display: flex;
2285
+ justify-content: center;
2286
+ align-items: center;
2287
+ flex-shrink: 0;
2288
+ }
2289
+
2290
+ .ush-excel-filter-popup .close-icon:hover {
2291
+ color: var(--ush-grid-excel-filter-popup-close-icon-hover-color);
2292
+ background-color: var(
2293
+ --ush-grid-excel-filter-popup-close-icon-hover-background
2294
+ );
2295
+ }
2296
+
2297
+ .ush-excel-filter-popup .close-icon svg {
2298
+ stroke-width: 2;
2299
+ width: calc(var(--ush-spacing-4) * 1.125);
2300
+ height: calc(var(--ush-spacing-4) * 1.125);
2301
+ }
2302
+
2303
+ .ush-excel-filter-popup .title {
2304
+ color: var(--ush-grid-excel-filter-popup-title-text-color);
2305
+ font-size: var(--ush-text-lg);
2306
+ font-family: var(--ush-font-display);
2307
+ font-weight: var(--ush-font-weight-medium);
2308
+ }
2309
+
2310
+ .ush-excel-filter-popup .descr {
2311
+ color: var(--ush-grid-excel-filter-popup-description-text-color);
2312
+ font-size: var(--ush-text-sm);
2313
+ margin-top: var(--ush-spacing-1);
2314
+ }
2315
+
2316
+ .ush-excel-filter-popup .filter-icon {
2317
+ color: var(--ush-grid-excel-filter-popup-filter-icon-color);
2318
+ background-color: var(--ush-grid-excel-filter-popup-filter-icon-background);
2319
+ border-radius: var(--ush-radius-md);
2320
+ display: flex;
2321
+ justify-content: center;
2322
+ align-items: center;
2323
+ flex-shrink: 0;
2324
+ width: calc(var(--ush-spacing) * 9);
2325
+ height: calc(var(--ush-spacing) * 9);
2326
+ margin-top: calc(var(--ush-spacing) * 0.5);
1590
2327
  }
1591
2328
 
1592
- .ush-excel-filter-operators li:hover {
1593
- background-color: gainsboro;
2329
+ .ush-excel-filter-popup .filter-icon.active,
2330
+ .ush-menu-filter .filter-icon.active {
2331
+ color: var(--ush-grid-excel-filter-popup-filter-icon-active-color);
2332
+ background-color: var(
2333
+ --ush-grid-excel-filter-popup-filter-icon-active-background
2334
+ );
1594
2335
  }
1595
2336
 
1596
- .ush-excel-filter-operators .hidden,
1597
- .ush-excel-filter .filters .hidden {
1598
- visibility: hidden;
2337
+ .ush-excel-filter-popup .filter-icon svg {
2338
+ stroke-width: 2;
1599
2339
  }
1600
2340
 
1601
- .ush-excel-filter-popup {
1602
- background-color: white;
1603
- border: 1px solid gainsboro;
1604
- padding: 4px;
1605
- overflow-y: auto;
1606
- height: auto;
1607
- width: auto;
1608
- box-shadow:
1609
- rgba(0, 0, 0, 0.16) 0px 3px 6px,
1610
- rgba(0, 0, 0, 0.23) 0px 3px 6px;
1611
- margin: 0;
1612
- z-index: 1001;
1613
- position: absolute;
1614
- top: 50%;
1615
- left: 50%;
1616
- transform: translate(-50%, -50%);
1617
- font-size: 12px;
2341
+ .ush-excel-filter-popup .filter-block {
2342
+ padding-block: var(--ush-spacing-6);
2343
+ padding-inline: var(--ush-spacing-6);
1618
2344
  }
1619
2345
 
1620
- .ush-excel-filter-popup .title-bar {
2346
+ .ush-excel-filter-popup .filter-text {
1621
2347
  display: flex;
1622
- padding: 4px;
1623
- font-weight: bold;
2348
+ gap: var(--ush-spacing-4);
2349
+ justify-content: space-between;
2350
+ align-items: center;
2351
+ margin-block-end: var(--ush-spacing-6);
1624
2352
  }
1625
2353
 
1626
- .ush-excel-filter-popup .title-bar .icon {
1627
- margin-left: auto;
1628
- cursor: pointer;
2354
+ .ush-excel-filter-popup .filter-cond {
2355
+ color: var(--ush-grid-excel-filter-popup-title-text-color);
2356
+ font-size: var(--ush-text-sm);
2357
+ font-family: var(--ush-font-display);
2358
+ font-weight: var(--ush-font-weight-medium);
1629
2359
  }
1630
2360
 
1631
- .ush-excel-filter-popup > * {
1632
- padding: 4px;
2361
+ .ush-excel-filter-popup .filter-text p {
2362
+ color: var(--ush-grid-excel-filter-popup-description-text-color);
2363
+ font-size: var(--ush-text-sm);
2364
+ margin: 0;
2365
+ margin-top: var(--ush-spacing-1);
2366
+ }
2367
+
2368
+ .ush-excel-filter-popup .filter-type {
2369
+ color: var(--ush-grid-excel-filter-popup-type-text-color);
2370
+ background-color: var(--ush-grid-excel-filter-popup-type-background);
2371
+ border: 1px solid var(--ush-grid-excel-filter-popup-type-border-color);
2372
+ font-size: var(--ush-text-xs);
2373
+ font-family: var(--ush-font-display);
2374
+ padding-block: var(--ush-spacing-1);
2375
+ padding-inline: var(--ush-spacing-3);
2376
+ border-radius: var(--ush-radius-full);
2377
+ font-weight: var(--ush-font-weight-medium);
1633
2378
  }
1634
2379
 
1635
2380
  .ush-excel-filter-popup select {
1636
2381
  border: 1px solid black;
1637
- width: 180px;
1638
2382
  font-size: inherit;
1639
2383
  }
1640
2384
 
1641
- .ush-excel-filter-popup input:not([type="radio"]) {
1642
- width: 180px;
1643
- font-size: inherit;
2385
+ .ush-excel-filter-popup .ush-input {
2386
+ height: calc(var(--ush-spacing) * 7);
2387
+ margin-block: 0;
2388
+ font-size: var(--ush-text-sm);
1644
2389
  }
1645
2390
 
1646
- .ush-excel-filter-popup .filter-crit,
1647
- .ush-excel-filter-popup .radio-btn {
2391
+ .ush-excel-filter-popup .filter-crit {
2392
+ gap: var(--ush-spacing-3);
2393
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2394
+ display: grid;
2395
+ margin-block-end: var(--ush-spacing-3);
2396
+ }
2397
+
2398
+ .ush-excel-filter-popup .select-btn {
2399
+ color: var(--ush-grid-excel-filter-popup-select-button-color);
2400
+ font-size: var(--ush-text-sm);
2401
+ font-family: var(--ush-font-sans);
2402
+ padding-inline: var(--ush-spacing-4);
2403
+ background-color: var(--ush-grid-excel-filter-popup-select-button-background);
2404
+ border: 1px solid
2405
+ var(--ush-grid-excel-filter-popup-select-button-border-color);
2406
+ border-radius: var(--ush-radius-md);
2407
+ gap: var(--ush-spacing-2);
2408
+ justify-content: center;
2409
+ align-items: center;
2410
+ width: 100%;
2411
+ height: calc(var(--ush-spacing) * 7);
2412
+ display: inline-flex;
2413
+ cursor: pointer;
2414
+ }
2415
+
2416
+ .ush-excel-filter-popup .select-btn:hover {
2417
+ color: var(--ush-grid-excel-filter-popup-select-button-hover-color);
2418
+ background-color: var(
2419
+ --ush-grid-excel-filter-popup-select-button-hover-background
2420
+ );
2421
+ border-color: var(
2422
+ --ush-grid-excel-filter-popup-select-button-hover-border-color
2423
+ );
2424
+ }
2425
+
2426
+ .ush-excel-filter-popup .select-btn.opened {
2427
+ border-color: var(
2428
+ --ush-grid-excel-filter-popup-select-button-opened-border-color
2429
+ );
2430
+ color: var(--ush-grid-excel-filter-popup-select-button-opened-border-color);
2431
+ }
2432
+
2433
+ .ush-excel-filter-popup .filter-crit .ush-icon {
2434
+ color: var(--ush-grid-excel-filter-popup-select-button-chevron-color);
2435
+ transition: transform 200ms ease;
2436
+ }
2437
+
2438
+ .ush-excel-filter-popup .select-btn.opened .ush-icon {
2439
+ color: var(--ush-grid-excel-filter-popup-select-button-chevron-opened-color);
2440
+ transform: rotate(180deg);
2441
+ }
2442
+
2443
+ .ush-excel-filter-popup .listbox,
2444
+ .ush-menu-filter .listbox {
2445
+ box-shadow: var(--ush-shadow-lg);
2446
+ padding: calc(var(--ush-spacing) * 1.5);
2447
+ background-color: var(--ush-grid-excel-filter-popup-listbox-background);
2448
+ border: 1px solid var(--ush-grid-excel-filter-popup-listbox-border-color);
2449
+ border-radius: var(--ush-radius-md);
2450
+ overflow-y: auto;
2451
+ width: 100%;
2452
+ max-height: calc(var(--ush-spacing) * 56);
2453
+ margin-top: var(--ush-spacing-1);
2454
+ left: 0px;
2455
+ top: 100%;
2456
+ position: absolute;
2457
+ z-index: 20;
2458
+ }
2459
+
2460
+ .ush-excel-filter-popup .listbox li,
2461
+ .ush-menu-filter .listbox li {
2462
+ color: var(--ush-grid-excel-filter-popup-listbox-item-text-color);
2463
+ font-size: var(--ush-text-sm2);
2464
+ font-family: var(--ush-font-sans);
2465
+ padding-inline: var(--ush-spacing-3);
2466
+ border-radius: var(--ush-radius-sm);
2467
+ cursor: pointer;
2468
+ width: 100%;
2469
+ height: var(--ush-spacing-6);
2470
+ display: inline-flex;
2471
+ align-items: center;
2472
+ position: relative;
2473
+ }
2474
+
2475
+ .ush-excel-filter-popup .listbox li:hover,
2476
+ .ush-menu-filter .listbox li:hover {
2477
+ color: var(--ush-grid-excel-filter-popup-listbox-item-hover-text-color);
2478
+ background-color: var(
2479
+ --ush-grid-excel-filter-popup-listbox-item-hover-background
2480
+ );
2481
+ }
2482
+
2483
+ .ush-excel-filter-popup .separator {
2484
+ background-color: var(--ush-grid-excel-filter-popup-separator-background);
2485
+ flex: 1;
2486
+ height: 1px;
2487
+ }
2488
+
2489
+ .ush-excel-filter-popup .and-or {
2490
+ background-color: var(--ush-grid-excel-filter-popup-andor-background);
2491
+ border: 1px solid var(--ush-grid-excel-filter-popup-andor-border-color);
2492
+ padding: var(--ush-spacing-1);
2493
+ border-radius: var(--ush-radius-md);
1648
2494
  display: flex;
1649
- gap: 10px;
1650
- font-size: inherit;
2495
+ width: 120px;
2496
+ }
2497
+
2498
+ .ush-excel-filter-popup .and-or button {
2499
+ color: var(--ush-grid-excel-filter-popup-andor-button-color);
2500
+ font-size: var(--ush-text-xs);
2501
+ font-family: var(--ush-font-display);
2502
+ padding-inline: var(--ush-spacing-3);
2503
+ background-color: var(
2504
+ --ush-grid-excel-filter-popup-andor-button-unchecked-background
2505
+ );
2506
+ border-radius: var(--ush-radius-sm);
2507
+ gap: calc(var(--ush-spacing) * 1.5);
2508
+ justify-content: center;
2509
+ align-items: center;
2510
+ cursor: pointer;
2511
+ height: var(--ush-spacing-6);
2512
+ display: inline-flex;
2513
+ margin: 0;
2514
+ padding: 0;
2515
+ border: 0 solid;
2516
+ width: 50%;
2517
+ font-weight: var(--ush-font-weight-medium);
2518
+ }
2519
+
2520
+ .ush-excel-filter-popup .and-or button:hover {
2521
+ color: var(--ush-grid-excel-filter-popup-andor-button-hover-color);
2522
+ }
2523
+
2524
+ .ush-excel-filter-popup .and-or span {
2525
+ border-radius: var(--ush-radius-full);
2526
+ width: var(--ush-spacing-2);
2527
+ height: var(--ush-spacing-2);
2528
+ background-color: var(
2529
+ --ush-grid-excel-filter-popup-andor-radio-unchecked-background
2530
+ );
2531
+ }
2532
+
2533
+ .ush-excel-filter-popup .and-or button.checked {
2534
+ background-color: var(
2535
+ --ush-grid-excel-filter-popup-andor-button-checked-background
2536
+ );
2537
+ box-shadow: var(--ush-shadow-sm);
2538
+ }
2539
+
2540
+ .ush-excel-filter-popup .and-or button.checked span {
2541
+ background-color: var(
2542
+ --ush-grid-excel-filter-popup-andor-radio-checked-background
2543
+ );
1651
2544
  }
1652
2545
 
1653
2546
  .ush-excel-filter-popup .radio-btn {
1654
- padding-left: 0;
1655
- font-size: inherit;
2547
+ display: flex;
2548
+ gap: var(--ush-spacing-3);
2549
+ align-items: center;
2550
+ margin-block-end: var(--ush-spacing-3);
2551
+ }
2552
+
2553
+ .ush-excel-filter-popup .ush-button {
2554
+ height: var(--ush-spacing-8);
2555
+ font-weight: var(--ush-font-weight-medium);
2556
+ }
2557
+
2558
+ .ush-excel-filter-popup .button-container {
2559
+ background-color: var(--ush-grid-excel-filter-popup-footer-background);
2560
+ border-top: 1px solid var(--ush-grid-excel-filter-popup-footer-border-color);
2561
+ padding-block: var(--ush-spacing-4);
2562
+ padding-inline: var(--ush-spacing-6);
2563
+ border-bottom-right-radius: var(--ush-radius-lg);
2564
+ border-bottom-left-radius: var(--ush-radius-lg);
2565
+ gap: var(--ush-spacing-3);
2566
+ justify-content: flex-end;
2567
+ align-items: center;
2568
+ display: flex;
1656
2569
  }
1657
2570
 
1658
2571
  .ush-icon svg {
@@ -1662,24 +2575,28 @@ input[type="checkbox"]:indeterminate::after {
1662
2575
  .ush-grouping-panel {
1663
2576
  display: flex !important;
1664
2577
  height: 40px;
1665
- background-color: var(--ush-grouping-panel-bg);
2578
+ background-color: var(--ush-grouping-panel-background);
1666
2579
  cursor: default !important;
1667
- font-size: 12px;
1668
- padding: 10px;
1669
- border-bottom: 1px solid var(--ush-grouping-panel-border-bc);
2580
+ font-size: var(--ush-text-xs);
2581
+ padding-inline: var(--ush-spacing-4);
2582
+ border-bottom: 1px solid var(--ush-grouping-panel-border-border-color);
2583
+ align-items: center;
1670
2584
  }
1671
2585
 
1672
2586
  .ush-grouping-drag-preview {
1673
2587
  background: white;
1674
- border: 1px solid #ccc;
2588
+ border: 1px solid var(--ush-group-chip-preview-border-color);
1675
2589
  padding: 4px 8px;
1676
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
1677
- border-radius: 4px;
1678
- font-size: 12px;
2590
+ box-shadow: var(--ush-shadow-popup);
2591
+ border-radius: var(--ush-radius-sm);
2592
+ font-size: var(--ush-text-xs);
1679
2593
  display: flex;
1680
2594
  gap: 2px;
1681
2595
  align-items: center;
1682
2596
  justify-content: center;
2597
+ color: var(--ush-group-chip-preview-text-color);
2598
+ font-family: var(--ush-font-display);
2599
+ font-weight: var(--ush-font-weight-medium);
1683
2600
  }
1684
2601
 
1685
2602
  .ush-grouping-panel .grouped-col-container {
@@ -1688,10 +2605,12 @@ input[type="checkbox"]:indeterminate::after {
1688
2605
  }
1689
2606
 
1690
2607
  .ush-grouping-panel .grouped-col {
1691
- padding: 5px;
1692
- border: 1px solid gray;
1693
- /* background-color: lightgray; */
1694
- border-radius: 4px;
2608
+ color: var(--ush-group-chip-text-color);
2609
+ padding-block: var(--ush-spacing-1);
2610
+ padding-inline: var(--ush-spacing-2);
2611
+ border: 1px solid var(--ush-group-chip-border-color);
2612
+ background-color: var(--ush-group-chip-background);
2613
+ border-radius: var(--ush-radius-sm);
1695
2614
  display: flex;
1696
2615
  align-items: center;
1697
2616
  justify-content: center;
@@ -1702,16 +2621,39 @@ input[type="checkbox"]:indeterminate::after {
1702
2621
  will-change: transform;
1703
2622
  transform: translateZ(0);
1704
2623
  backface-visibility: hidden;
2624
+ font-size: var(--ush-text-xs);
2625
+ font-family: var(--ush-font-display);
2626
+ font-weight: var(--ush-font-weight-medium);
2627
+ line-height: var(--ush-text-xs--line-height);
1705
2628
  }
1706
2629
 
1707
2630
  .ush-grouping-panel .grouped-col:hover {
1708
- background-color: silver;
2631
+ background-color: var(--ush-group-chip-hover-background);
2632
+ border-color: var(--ush-group-chip-hover-border-color);
2633
+ cursor: grab;
2634
+ }
2635
+
2636
+ .ush-grouping-panel .grouped-col:focus,
2637
+ .ush-grouping-panel .grouped-col:focus-visible {
2638
+ outline: 1px solid var(--ush-color-amber-500);
2639
+ /* transition: outline 0.2s ease-in-out; */
2640
+ }
2641
+
2642
+ .ush-grouping-panel .grouped-col .btn {
2643
+ padding: 1px;
2644
+ border-radius: var(--ush-radius-sm);
1709
2645
  cursor: pointer;
1710
2646
  }
1711
2647
 
1712
- .ush-grouping-panel .grouped-col:focus {
1713
- outline: 1px solid black;
1714
- transition: outline 0.2s ease-in-out;
2648
+ .ush-grouping-panel .grouped-col .btn:hover {
2649
+ background-color: var(--ush-group-chip-button-hover-background);
2650
+ color: var(--ush-group-chip-button-hover-text-color);
2651
+ }
2652
+
2653
+ .ush-grouping-panel .grouped-col.affected {
2654
+ background-color: var(--ush-group-chip-reorder-hover-background);
2655
+ border-color: var(--ush-group-chip-reorder-hover-border-color);
2656
+ color: var(--ush-group-chip-reorder-hover-text-color);
1715
2657
  }
1716
2658
 
1717
2659
  .ush-grouping-panel .grouped-col.drag-active {
@@ -1720,44 +2662,199 @@ input[type="checkbox"]:indeterminate::after {
1720
2662
 
1721
2663
  .grouped-col.drag-placeholder {
1722
2664
  opacity: 0.4;
1723
- border: 1px dashed black;
2665
+ border: 1px dashed var(--ush-group-chip-border-color);
2666
+ color: var(--ush-group-chip-text-color);
1724
2667
  }
1725
2668
 
1726
- .ush-group-row {
1727
- background: #f5f5f5;
1728
- font-weight: bold;
2669
+ .ush-group-row.level-0 {
2670
+ background: var(--ush-grid-group-row-level0-background);
2671
+ }
2672
+
2673
+ .ush-group-row.level-1 {
2674
+ background: var(--ush-grid-group-row-level1-background);
2675
+ }
2676
+
2677
+ .ush-group-row.level-2 {
2678
+ background: var(--ush-grid-group-row-level2-background);
2679
+ }
2680
+
2681
+ .ush-group-row.level-3 {
2682
+ background: var(--ush-grid-group-row-level3-background);
2683
+ }
2684
+
2685
+ .ush-group-row.level-4 {
2686
+ background: var(--ush-grid-group-row-level4-background);
2687
+ }
2688
+
2689
+ .ush-group-row.level-5 {
2690
+ background: var(--ush-grid-group-row-level5-background);
2691
+ }
2692
+
2693
+ .ush-group-row.level-6 {
2694
+ background: var(--ush-grid-group-row-level6-background);
2695
+ }
2696
+
2697
+ .ush-group-row.level-7 {
2698
+ background: var(--ush-grid-group-row-level7-background);
2699
+ }
2700
+
2701
+ .ush-pinned-left .ush-group-row.level-0 .ush-cell:first-child,
2702
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2703
+ .ush-group-row.level-0
2704
+ .ush-cell:first-child,
2705
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2706
+ .ush-group-row.level-0
2707
+ .ush-cell:first-child {
2708
+ border-left: 3px solid var(--ush-grid-group-row-level0-marker-background);
2709
+ }
2710
+
2711
+ .ush-pinned-left .ush-group-row.level-1 .ush-cell:first-child,
2712
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2713
+ .ush-group-row.level-1
2714
+ .ush-cell:first-child,
2715
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2716
+ .ush-group-row.level-1
2717
+ .ush-cell:first-child {
2718
+ border-left: 3px solid var(--ush-grid-group-row-level1-marker-background);
2719
+ }
2720
+
2721
+ .ush-pinned-left .ush-group-row.level-2 .ush-cell:first-child,
2722
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2723
+ .ush-group-row.level-2
2724
+ .ush-cell:first-child,
2725
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2726
+ .ush-group-row.level-2
2727
+ .ush-cell:first-child {
2728
+ border-left: 3px solid var(--ush-grid-group-row-level2-marker-background);
2729
+ }
2730
+
2731
+ .ush-pinned-left .ush-group-row.level-3 .ush-cell:first-child,
2732
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2733
+ .ush-group-row.level-3
2734
+ .ush-cell:first-child,
2735
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2736
+ .ush-group-row.level-3
2737
+ .ush-cell:first-child {
2738
+ border-left: 3px solid var(--ush-grid-group-row-level3-marker-background);
2739
+ }
2740
+
2741
+ .ush-pinned-left .ush-group-row.level-4 .ush-cell:first-child,
2742
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2743
+ .ush-group-row.level-4
2744
+ .ush-cell:first-child,
2745
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2746
+ .ush-group-row.level-4
2747
+ .ush-cell:first-child {
2748
+ border-left: 3px solid var(--ush-grid-group-row-level4-marker-background);
2749
+ }
2750
+
2751
+ .ush-pinned-left .ush-group-row.level-5 .ush-cell:first-child,
2752
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2753
+ .ush-group-row.level-5
2754
+ .ush-cell:first-child,
2755
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2756
+ .ush-group-row.level-5
2757
+ .ush-cell:first-child {
2758
+ border-left: 3px solid var(--ush-grid-group-row-level5-marker-background);
2759
+ }
2760
+
2761
+ .ush-pinned-left .ush-group-row.level-6 .ush-cell:first-child,
2762
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2763
+ .ush-group-row.level-6
2764
+ .ush-cell:first-child,
2765
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2766
+ .ush-group-row.level-6
2767
+ .ush-cell:first-child {
2768
+ border-left: 3px solid var(--ush-grid-group-row-level6-marker-background);
2769
+ }
2770
+
2771
+ .ush-pinned-left .ush-group-row.level-7 .ush-cell:first-child,
2772
+ .ush-body:not(.has-pinned-left):not(.ush-pinned-right)
2773
+ .ush-group-row.level-7
2774
+ .ush-cell:first-child,
2775
+ .ush-sticky-inner-scroll:not(.has-pinned-left)
2776
+ .ush-group-row.level-7
2777
+ .ush-cell:first-child {
2778
+ border-left: 3px solid var(--ush-grid-group-row-level7-marker-background);
1729
2779
  }
1730
2780
 
1731
2781
  .ush-group-content {
1732
2782
  display: flex;
1733
2783
  align-items: center;
1734
2784
  height: 100%;
2785
+ gap: var(--ush-spacing-2);
1735
2786
  }
1736
2787
 
1737
2788
  .ush-group-toggle {
1738
2789
  margin-right: 6px;
1739
2790
  cursor: pointer;
1740
2791
  transition: transform 200ms ease;
2792
+ color: var(--ush-grid-group-row-toggle-color);
1741
2793
  }
1742
2794
 
1743
- .ush-group-toggle:hover {
1744
- background-color: gainsboro;
2795
+ .ush-group-toggle svg {
2796
+ width: var(--ush-spacing-4);
2797
+ height: var(--ush-spacing-4);
2798
+ stroke-width: 2;
2799
+ border-radius: var(--ush-radius-sm);
1745
2800
  }
1746
2801
 
1747
- .ush-group-toggle svg,
1748
- .grouped-col svg {
1749
- width: 18px;
1750
- height: 18px;
2802
+ .ush-group-toggle svg:hover {
2803
+ background-color: var(--ush-grid-group-row-toggle-hover-background);
2804
+ color: var(--ush-grid-group-row-toggle-hover-color);
1751
2805
  }
1752
2806
 
1753
- .ush-group-label {
1754
- font-size: 12px;
2807
+ .grouped-col svg {
2808
+ width: calc(var(--ush-spacing-4) * 0.8125);
2809
+ height: calc(var(--ush-spacing-4) * 0.8125);
1755
2810
  }
1756
2811
 
1757
2812
  .ush-group-row:not(.collapsed) .ush-group-toggle {
1758
2813
  transform: rotate(90deg);
1759
2814
  }
1760
2815
 
2816
+ .ush-group-content .ush-group-field {
2817
+ text-transform: uppercase;
2818
+ color: var(--ush-grid-group-row-field-text-color);
2819
+ letter-spacing: var(--ush-tracking-wide);
2820
+ font-size: calc(var(--ush-text-base) * 0.6875);
2821
+ font-family: var(--ush-font-display);
2822
+ font-weight: var(--ush-font-weight-semibold);
2823
+ }
2824
+
2825
+ .ush-group-content .ush-group-key {
2826
+ color: var(--ush-grid-group-row-key-text-color);
2827
+ font-size: var(--ush-text-xs);
2828
+ font-family: var(--ush-font-display);
2829
+ overflow: hidden;
2830
+ text-overflow: ellipsis;
2831
+ white-space: nowrap;
2832
+ font-weight: var(--ush-font-weight-semibold);
2833
+ }
2834
+
2835
+ .ush-group-content .ush-group-children-count {
2836
+ display: inline-flex;
2837
+ align-items: center;
2838
+ justify-content: center;
2839
+ box-shadow: var(--ush-shadow-sm);
2840
+ color: var(--ush-grid-group-row-children-count-text-color);
2841
+ font-size: var(--ush-text-xxs);
2842
+ font-family: var(--ush-font-mono);
2843
+ padding-block: 0;
2844
+ padding-inline: calc(var(--ush-spacing) * 1.5);
2845
+ background-color: var(--ush-grid-group-row-children-count-background);
2846
+ border-radius: var(--ush-radius-sm);
2847
+ height: var(--ush-text-base);
2848
+ font-weight: var(--ush-font-weight-medium);
2849
+ }
2850
+
2851
+ .ush-group-label.ush-group-header-cell,
2852
+ .ush-group-label.ush-group-footer-cell {
2853
+ color: var(--ush-grid-group-row-header-cell-text-color);
2854
+ font-size: calc(var(--ush-text-base) * 0.6875);
2855
+ font-family: var(--ush-font-mono);
2856
+ }
2857
+
1761
2858
  .ush-sticky-group-header {
1762
2859
  position: absolute;
1763
2860
  top: 0; /* will be set to the height of the header */
@@ -1787,7 +2884,7 @@ input[type="checkbox"]:indeterminate::after {
1787
2884
  position: sticky;
1788
2885
  left: 0;
1789
2886
  z-index: 3;
1790
- box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
2887
+ box-shadow: var(--ush-pinned-column-left-shadow);
1791
2888
  display: flex;
1792
2889
  flex-direction: column;
1793
2890
  flex: 0 0 auto;
@@ -1797,7 +2894,7 @@ input[type="checkbox"]:indeterminate::after {
1797
2894
  position: sticky;
1798
2895
  right: 0;
1799
2896
  z-index: 3;
1800
- box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
2897
+ box-shadow: var(--ush-pinned-column-right-shadow);
1801
2898
  display: flex;
1802
2899
  flex-direction: column;
1803
2900
  flex: 0 0 auto;
@@ -1827,11 +2924,11 @@ input[type="checkbox"]:indeterminate::after {
1827
2924
  }
1828
2925
 
1829
2926
  .ush-pager {
1830
- background-color: var(--ush-grid-pager-bg);
2927
+ background-color: var(--ush-grid-pager-background);
1831
2928
  padding: 4px;
1832
2929
  display: flex !important;
1833
2930
  height: calc(var(--ush-spacing) * 9);
1834
- border-top: 1px solid var(--ush-grid-pager-border-tc);
2931
+ border-top: 1px solid var(--ush-grid-pager-border-top-color);
1835
2932
  }
1836
2933
 
1837
2934
  .ush-pager .container {
@@ -1853,11 +2950,11 @@ input[type="checkbox"]:indeterminate::after {
1853
2950
  .ush-pager .ush-icon {
1854
2951
  cursor: pointer;
1855
2952
  display: block;
1856
- color: var(--ush-grid-pager-page-tc);
2953
+ color: var(--ush-grid-pager-page-text-color);
1857
2954
  }
1858
2955
 
1859
2956
  .ush-pager .ush-icon:hover {
1860
- background-color: var(--ush-grid-pager-page-bg-hover);
2957
+ background-color: var(--ush-grid-pager-page-background-hover);
1861
2958
  }
1862
2959
 
1863
2960
  .ush-pager .pages span {
@@ -1870,21 +2967,21 @@ input[type="checkbox"]:indeterminate::after {
1870
2967
  display: flex;
1871
2968
  align-items: center;
1872
2969
  justify-content: center;
1873
- color: var(--ush-grid-pager-page-tc);
2970
+ color: var(--ush-grid-pager-page-text-color);
1874
2971
  }
1875
2972
 
1876
2973
  .ush-pager .pages span:not(.active):hover {
1877
- background-color: var(--ush-grid-pager-page-bg-hover);
1878
- color: var(--ush-grid-pager-page-tc-hover);
2974
+ background-color: var(--ush-grid-pager-page-background-hover);
2975
+ color: var(--ush-grid-pager-page-text-color-hover);
1879
2976
  }
1880
2977
 
1881
2978
  .ush-pager span.active {
1882
- background-color: var(--ush-grid-pager-active-bg);
1883
- color: var(--ush-grid-pager-active-tc);
2979
+ background-color: var(--ush-grid-pager-active-background);
2980
+ color: var(--ush-grid-pager-active-text-color);
1884
2981
  }
1885
2982
 
1886
2983
  .ush-pager span.active:hover {
1887
- background-color: var(--ush-grid-pager-active-bg-hover);
2984
+ background-color: var(--ush-grid-pager-active-background-hover);
1888
2985
  }
1889
2986
 
1890
2987
  .ush-pager .ush-icon.ush-disabled {
@@ -1902,18 +2999,18 @@ input[type="checkbox"]:indeterminate::after {
1902
2999
  }
1903
3000
 
1904
3001
  .ush-pager .record-numbers .numb {
1905
- color: var(--ush-grid-pager-total-numb-tc);
3002
+ color: var(--ush-grid-pager-total-number-text-color);
1906
3003
  font-family: var(--ush-font-mono);
1907
3004
  }
1908
3005
 
1909
3006
  .ush-pager .record-numbers .text {
1910
- color: var(--ush-grid-pager-total-text-tc);
3007
+ color: var(--ush-grid-pager-total-text-color);
1911
3008
  font-family: var(--ush-font-sans);
1912
3009
  }
1913
3010
 
1914
3011
  .ush-pager .page-sizes {
1915
3012
  font-size: var(--ush-text-xs);
1916
- color: var(--ush-grid-pager-page-size-tc);
3013
+ color: var(--ush-grid-pager-page-size-text-color);
1917
3014
  font-family: var(--ush-font-sans);
1918
3015
  }
1919
3016
 
@@ -1921,9 +3018,9 @@ input[type="checkbox"]:indeterminate::after {
1921
3018
  font-size: 12px;
1922
3019
  margin-left: 10px;
1923
3020
  outline-style: none;
1924
- color: var(--ush-grid-pager-select-tc);
1925
- background-color: var(--ush-grid-pager-select-bg);
1926
- border: 1px solid var(--ush-grid-pager-select-bc);
3021
+ color: var(--ush-grid-pager-select-text-color);
3022
+ background-color: var(--ush-grid-pager-select-background);
3023
+ border: 1px solid var(--ush-grid-pager-select-border-color);
1927
3024
  border-radius: var(--ush-radius-sm);
1928
3025
  cursor: pointer;
1929
3026
  height: calc(var(--ush-spacing) * 6);
@@ -1936,6 +3033,11 @@ input[type="checkbox"]:indeterminate::after {
1936
3033
  padding-left: 5px;
1937
3034
  }
1938
3035
 
3036
+ .ush-pager .page-sizes select:focus {
3037
+ border-color: var(--ush-input-focus-border-color);
3038
+ box-shadow: var(--ush-input-focus-shadow);
3039
+ }
3040
+
1939
3041
  .ush-pager .active-frame {
1940
3042
  position: absolute;
1941
3043
  border-radius: 4px;
@@ -1944,18 +3046,14 @@ input[type="checkbox"]:indeterminate::after {
1944
3046
 
1945
3047
  .ush-pager .separator {
1946
3048
  width: 1px;
1947
- background-color: var(--ush-grid-pager-separator-bg);
3049
+ background-color: var(--ush-grid-pager-separator-background);
1948
3050
  height: calc(var(--ush-spacing) * 5);
1949
3051
  margin: 0 10px;
1950
3052
  }
1951
3053
 
1952
3054
  .ush-row.selected {
1953
- background-color: #e6f2ff;
1954
- border-color: #99caff;
1955
- }
1956
-
1957
- .ush-row.selected:hover {
1958
- background-color: #d9ecff;
3055
+ background-color: var(--ush-grid-selected-row-background);
3056
+ /* border-color: #99caff; */
1959
3057
  }
1960
3058
 
1961
3059
  .ush-selection-overlay,
@@ -1975,7 +3073,8 @@ input[type="checkbox"]:indeterminate::after {
1975
3073
  }
1976
3074
 
1977
3075
  .ush-selection-rect,
1978
- .ush-active-cell {
3076
+ .ush-active-cell,
3077
+ .ush-anchor-cell-marker {
1979
3078
  position: absolute;
1980
3079
  pointer-events: none;
1981
3080
  box-sizing: border-box;
@@ -1987,13 +3086,20 @@ input[type="checkbox"]:indeterminate::after {
1987
3086
  }
1988
3087
 
1989
3088
  .ush-selection-rect-visible {
1990
- border: 2px solid #1a73e8;
1991
- background: rgba(26, 115, 232, 0.12);
3089
+ border: 2px solid var(--ush-grid-selection-rect-border-color);
3090
+ background: var(--ush-grid-selection-rect-background);
1992
3091
  }
1993
3092
 
1994
- .ush-active-cell-visible {
1995
- border: 2px solid #1a73e8;
3093
+ .ush-active-cell-visible,
3094
+ .ush-anchor-cell-marker-visible {
3095
+ border: 2px solid var(--ush-grid-active-cell-border-color);
1996
3096
  background: transparent;
3097
+ z-index: 3;
3098
+ }
3099
+
3100
+ .ush-cell.anchor-cell,
3101
+ .ush-cell.active-cell {
3102
+ background-color: var(--ush-grid-anchor-cell-background);
1997
3103
  }
1998
3104
 
1999
3105
  .ush-selection-overlay-new-row,
@@ -2006,7 +3112,7 @@ input[type="checkbox"]:indeterminate::after {
2006
3112
  position: absolute;
2007
3113
  box-sizing: border-box;
2008
3114
  pointer-events: none;
2009
- background: rgba(26, 115, 232, 0.12);
3115
+ background: var(--ush-grid-selection-rect-background);
2010
3116
  }
2011
3117
 
2012
3118
  .ush-selection-rect-ants,
@@ -2015,34 +3121,34 @@ input[type="checkbox"]:indeterminate::after {
2015
3121
  position: absolute;
2016
3122
  box-sizing: border-box;
2017
3123
  pointer-events: none;
2018
- background: rgba(26, 115, 232, 0.12);
3124
+ background: var(--ush-grid-selection-rect-background);
2019
3125
 
2020
3126
  background-image:
2021
3127
  repeating-linear-gradient(
2022
3128
  to right,
2023
- #1a73e8 0,
2024
- #1a73e8 4px,
3129
+ var(--ush-grid-selection-rect-border-color) 0,
3130
+ var(--ush-grid-selection-rect-border-color) 4px,
2025
3131
  transparent 4px,
2026
3132
  transparent 8px
2027
3133
  ),
2028
3134
  repeating-linear-gradient(
2029
3135
  to bottom,
2030
- #1a73e8 0,
2031
- #1a73e8 4px,
3136
+ var(--ush-grid-selection-rect-border-color) 0,
3137
+ var(--ush-grid-selection-rect-border-color) 4px,
2032
3138
  transparent 4px,
2033
3139
  transparent 8px
2034
3140
  ),
2035
3141
  repeating-linear-gradient(
2036
3142
  to right,
2037
- #1a73e8 0,
2038
- #1a73e8 4px,
3143
+ var(--ush-grid-selection-rect-border-color) 0,
3144
+ var(--ush-grid-selection-rect-border-color) 4px,
2039
3145
  transparent 4px,
2040
3146
  transparent 8px
2041
3147
  ),
2042
3148
  repeating-linear-gradient(
2043
3149
  to bottom,
2044
- #1a73e8 0,
2045
- #1a73e8 4px,
3150
+ var(--ush-grid-selection-rect-border-color) 0,
3151
+ var(--ush-grid-selection-rect-border-color) 4px,
2046
3152
  transparent 4px,
2047
3153
  transparent 8px
2048
3154
  );
@@ -2081,6 +3187,51 @@ input[type="checkbox"]:indeterminate::after {
2081
3187
  }
2082
3188
  }
2083
3189
 
3190
+ .ush-selection-rect-anchor-top-left {
3191
+ clip-path: polygon(
3192
+ var(--ush-anchor-cell-width) 0,
3193
+ 100% 0,
3194
+ 100% 100%,
3195
+ 0 100%,
3196
+ 0 var(--ush-anchor-cell-height),
3197
+ var(--ush-anchor-cell-width) var(--ush-anchor-cell-height)
3198
+ );
3199
+ }
3200
+
3201
+ .ush-selection-rect-anchor-top-right {
3202
+ clip-path: polygon(
3203
+ 0 0,
3204
+ calc(100% - var(--ush-anchor-cell-width)) 0,
3205
+ calc(100% - var(--ush-anchor-cell-width)) var(--ush-anchor-cell-height),
3206
+ 100% var(--ush-anchor-cell-height),
3207
+ 100% 100%,
3208
+ 0 100%
3209
+ );
3210
+ }
3211
+
3212
+ .ush-selection-rect-anchor-bottom-left {
3213
+ clip-path: polygon(
3214
+ 0 0,
3215
+ 100% 0,
3216
+ 100% 100%,
3217
+ var(--ush-anchor-cell-width) 100%,
3218
+ var(--ush-anchor-cell-width) calc(100% - var(--ush-anchor-cell-height)),
3219
+ 0 calc(100% - var(--ush-anchor-cell-height))
3220
+ );
3221
+ }
3222
+
3223
+ .ush-selection-rect-anchor-bottom-right {
3224
+ clip-path: polygon(
3225
+ 0 0,
3226
+ 100% 0,
3227
+ 100% calc(100% - var(--ush-anchor-cell-height)),
3228
+ calc(100% - var(--ush-anchor-cell-width))
3229
+ calc(100% - var(--ush-anchor-cell-height)),
3230
+ calc(100% - var(--ush-anchor-cell-width)) 100%,
3231
+ 0 100%
3232
+ );
3233
+ }
3234
+
2084
3235
  .ush-cell.ush-checkbox,
2085
3236
  .ush-header-cell-content.ush-checkbox {
2086
3237
  display: flex;
@@ -2090,10 +3241,10 @@ input[type="checkbox"]:indeterminate::after {
2090
3241
  .ush-statusbar {
2091
3242
  display: flex;
2092
3243
  height: 40px;
2093
- background-color: var(--ush-grid-statusbar-bg);
3244
+ background-color: var(--ush-grid-statusbar-background);
2094
3245
  font-size: 12px;
2095
3246
  padding: 5px;
2096
- border-top: 1px solid var(--ush-grid-statusbar-border-tc);
3247
+ border-top: 1px solid var(--ush-grid-statusbar-border-top-color);
2097
3248
  }
2098
3249
 
2099
3250
  .ush-status-item {
@@ -2102,23 +3253,23 @@ input[type="checkbox"]:indeterminate::after {
2102
3253
 
2103
3254
  .ush-statusbar .text {
2104
3255
  font-family: var(--ush-font-display);
2105
- color: var(--ush-grid-statusbar-text-tc);
3256
+ color: var(--ush-grid-statusbar-text-color);
2106
3257
  font-weight: var(--ush-font-weight-semibold);
2107
3258
  }
2108
3259
 
2109
3260
  .ush-statusbar .numb {
2110
3261
  font-family: var(--ush-font-mono);
2111
- color: var(--ush-grid-statusbar-numb-tc);
3262
+ color: var(--ush-grid-statusbar-number-text-color);
2112
3263
  }
2113
3264
 
2114
3265
  .ush-toolbar {
2115
3266
  display: flex;
2116
3267
  height: 40px;
2117
- background-color: var(--ush-grid-toolbar);
3268
+ background-color: var(--ush-grid-toolbar-background);
2118
3269
  cursor: default !important;
2119
3270
  font-size: 12px;
2120
3271
  padding: 5px 10px 5px 10px;
2121
- border-bottom: 1px solid var(--ush-grid-toolbar-border-bc);
3272
+ border-bottom: 1px solid var(--ush-grid-toolbar-border-border-color);
2122
3273
  }
2123
3274
 
2124
3275
  .ush-toolbar .container {
@@ -2152,19 +3303,20 @@ input[type="checkbox"]:indeterminate::after {
2152
3303
  font-family: inherit;
2153
3304
  line-height: inherit;
2154
3305
  position: relative;
3306
+ color: var(--ush-grid-cell-text-color);
2155
3307
  }
2156
3308
 
2157
3309
  input[type="text"].ush-cell-editor,
2158
3310
  input[type="date"].ush-cell-editor,
2159
3311
  input[type="checkbox"].ush-cell-editor {
2160
3312
  border: none;
2161
- background-color: #e8f0fe;
3313
+ background-color: var(--ush-grid-edited-cell-background);
2162
3314
  }
2163
3315
 
2164
3316
  input[type="checkbox"].ush-cell-editor {
2165
3317
  min-width: 0;
2166
- background: var(--ush-cbx-bg);
2167
- border: 1px solid var(--ush-cbx-bc);
3318
+ background: var(--ush-checkbox-background);
3319
+ border: 1px solid var(--ush-checkbox-border-color);
2168
3320
  width: calc(var(--ush-spacing-4) * 0.875);
2169
3321
  height: calc(var(--ush-spacing-4) * 0.875);
2170
3322
  }
@@ -2175,9 +3327,9 @@ input[type="checkbox"].ush-cell-editor::after {
2175
3327
  }
2176
3328
 
2177
3329
  input[type="checkbox"]:checked.ush-cell-editor {
2178
- background: var(--ush-cbx-checked-bg);
2179
- border-color: var(--ush-cbx-checked-bc);
2180
- color: var(--ush-cbx-checked-tc);
3330
+ background: var(--ush-checkbox-checked-cell-editor-background);
3331
+ border-color: var(--ush-checkbox-checked-cell-editor-border-color);
3332
+ color: var(--ush-checkbox-checked-text-color);
2181
3333
  }
2182
3334
 
2183
3335
  input[type="text"].ush-cell-editor:focus-visible,
@@ -2192,19 +3344,19 @@ input[type="checkbox"].ush-cell-editor:focus-visible {
2192
3344
  }
2193
3345
 
2194
3346
  .ush-cell:has(.ush-cell-editor) {
2195
- background-color: #e8f0fe;
3347
+ background-color: var(--ush-grid-edited-cell-background);
2196
3348
  }
2197
3349
 
2198
3350
  .ush-cell:has(.ush-cell-editor-invalid) {
2199
- background-color: #fdecea;
3351
+ background-color: var(--ush-grid-edited-cell-invalid-background);
2200
3352
  }
2201
3353
 
2202
3354
  input.ush-cell-editor.ush-cell-editor-invalid {
2203
- background-color: #fdecea !important;
3355
+ background-color: var(--ush-grid-edited-cell-invalid-background) !important;
2204
3356
  }
2205
3357
 
2206
3358
  .ush-active-cell.ush-cell-editor-invalid {
2207
- border: 2px solid #d93025;
3359
+ border: 2px solid var(--ush-grid-edited-cell-invalid-border-color);
2208
3360
  }
2209
3361
 
2210
3362
  .ush-new-row {