@unshape/styles 0.0.0-stage → 1.0.1

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