@unshape/styles 0.0.0-stage → 1.0.0

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,2228 @@
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-xs: 0.75rem;
88
+ --ush-text-xs--line-height: calc(1 / 0.75);
89
+ --ush-text-sm2: 0.8125rem;
90
+ --ush-text-sm: 0.875rem;
91
+ --ush-text-sm--line-height: calc(1.25 / 0.875);
92
+ --ush-text-base: 1rem;
93
+ --ush-text-base--line-height: calc(1.5 / 1);
94
+ --ush-text-lg: 1.125rem;
95
+ --ush-text-lg--line-height: calc(1.75 / 1.125);
96
+ --ush-text-xl: 1.25rem;
97
+ --ush-text-xl--line-height: calc(1.75 / 1.25);
98
+ --ush-text-2xl: 1.5rem;
99
+ --ush-text-2xl--line-height: calc(2 / 1.5);
100
+ --ush-text-3xl: 1.875rem;
101
+ --ush-text-3xl--line-height: calc(2.25 / 1.875);
102
+ --ush-text-4xl: 2.25rem;
103
+ --ush-text-4xl--line-height: calc(2.5 / 2.25);
104
+ --ush-tracking-normal: 0em;
105
+ --ush-tracking-wide: 0.025em;
106
+ --ush-tracking-widest: 0.1em;
107
+ --ush-leading-relaxed: 1.625;
108
+ }
109
+
110
+ :root {
111
+ --ush-spacing: 0.25rem;
112
+ --ush-spacing-1: 0.25rem;
113
+ --ush-spacing-2: 0.5rem;
114
+ --ush-spacing-3: 0.75rem;
115
+ --ush-spacing-4: 1rem;
116
+ --ush-spacing-6: 1.5rem;
117
+ --ush-spacing-8: 2rem;
118
+ --ush-spacing-12: 3rem;
119
+ --ush-spacing-16: 4rem;
120
+ --ush-spacing-24: 6rem;
121
+ }
122
+
123
+ :root {
124
+ --ush-container-3xl: 48rem;
125
+ --ush-container-4xl: 56rem;
126
+ --ush-container-6xl: 72rem;
127
+ }
128
+
129
+ :root {
130
+ --ush-radius-sm: 4px;
131
+ --ush-radius-md: 6px;
132
+ --ush-radius-lg: 8px;
133
+ --ush-radius-full: 9999px;
134
+ }
135
+
136
+ :root {
137
+ --ush-color-white: #fff;
138
+ }
139
+
140
+ :root,
141
+ [data-ush-theme="default"] {
142
+ /* Blue */
143
+ --ush-color-blue-50: #f0f5ff;
144
+ --ush-color-blue-100: #dceafb;
145
+ --ush-color-blue-200: #bad3fa;
146
+ --ush-color-blue-400: #4b85f0;
147
+ --ush-color-blue-500: #2563eb;
148
+ --ush-color-blue-600: #2053a4;
149
+ --ush-color-blue-700: #1e4080;
150
+ --ush-color-blue-900: #0f2044;
151
+ --ush-color-blue-950: #0a1628;
152
+
153
+ /* Amber */
154
+ --ush-color-amber-50: #fffbeb;
155
+ --ush-color-amber-100: #fef3c7;
156
+ --ush-color-amber-500: #d97706;
157
+ --ush-color-amber-700: #b45309;
158
+
159
+ /* Gray */
160
+ --ush-color-gray-50: #f9fafb;
161
+ --ush-color-gray-100: #f3f4f6;
162
+ --ush-color-gray-150: #efedef;
163
+ --ush-color-gray-200: #e5e7eb; /* #ebe6e7;*/
164
+ --ush-color-gray-300: #d1d5db;
165
+ --ush-color-gray-400: #99a1af;
166
+ --ush-color-gray-500: #6b7280;
167
+ --ush-color-gray-600: #4a5565;
168
+ --ush-color-gray-700: #374151;
169
+ --ush-color-gray-800: #1e2939;
170
+ --ush-color-gray-900: #111827;
171
+
172
+ /* Emerald */
173
+ --ush-color-emerald-50: #ecfdf5;
174
+ --ush-color-emerald-200: #a4f4cf;
175
+ --ush-color-emerald-700: #007a55;
176
+
177
+ /* Status colors */
178
+ --ush-color-success: #10b981;
179
+ --ush-color-warning: #f59e0b;
180
+ --ush-color-danger: #ef4444;
181
+ --ush-color-danger-dark: #dc2626;
182
+
183
+ /* Semantic: Text */
184
+ --ush-text-primary: var(--ush-color-gray-900);
185
+ --ush-text-secondary: var(--ush-color-gray-700);
186
+ --ush-text-muted: var(--ush-color-gray-500);
187
+
188
+ /* Semantic: Surfaces */
189
+ --ush-surface-page: #ffffff;
190
+ --ush-surface-panel: var(--ush-color-gray-50);
191
+ --ush-surface-hover: var(--ush-color-blue-50);
192
+
193
+ /* Semantic: Borders */
194
+ --ush-border-default: var(--ush-color-gray-300);
195
+
196
+ /* Semantic: Actions */
197
+ --ush-action-primary: var(--ush-color-blue-500);
198
+ --ush-action-primary-hover: var(--ush-color-blue-600);
199
+
200
+ /* Semantic: Status */
201
+ --ush-status-success: var(--ush-color-success);
202
+ --ush-status-warning: var(--ush-color-warning);
203
+ --ush-status-danger: var(--ush-color-danger);
204
+
205
+ /* scrollbar */
206
+ --ush-scrollbar-color: var(--ush-color-gray-300) transparent;
207
+
208
+ /* shadow */
209
+ --ush-box-shadow:
210
+ 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
211
+ --ush-shadow-sm:
212
+ 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
213
+
214
+ /* input */
215
+ --ush-input-outline: none;
216
+ --ush-input-tc: var(--ush-color-gray-900);
217
+ --ush-input-font-family: var(--ush-font-sans);
218
+ --ush-input-bg: var(--ush-color-white);
219
+ --ush-input-br: var(--ush-radius-md);
220
+ --ush-input-placeholder-tc: var(--ush-color-gray-400);
221
+ --ush-input-bc: var(--ush-color-gray-300);
222
+ --ush-input-padding-inline: var(--ush-spacing-2);
223
+ --ush-input-padding-block: var(--ush-spacing);
224
+ --ush-input-focus-bc: var(--ush-color-blue-600);
225
+ --ush-input-focus-shadow: 0 0 0 calc(2px + 0px)
226
+ color-mix(in oklab, var(--ush-color-blue-600) 15%, transparent);
227
+
228
+ /* checkbox */
229
+ --ush-cbx-bc: var(--ush-color-gray-300);
230
+ --ush-cbx-radius: var(--ush-radius-sm);
231
+ --ush-cbx-width: var(--ush-spacing-4);
232
+ --ush-cbx-height: var(--ush-spacing-4);
233
+ --ush-cbx-bg: var(--ush-color-white);
234
+ --ush-cbx-checked-bg: var(--ush-color-blue-600);
235
+ --ush-cbx-checked-bc: var(--ush-color-blue-600);
236
+ --ush-cbx-checked-tc: var(--ush-color-white);
237
+
238
+ /* button */
239
+ --ush-btn-primary-tc: var(--ush-color-white);
240
+ --ush-btn-primary-bg: var(--ush-color-blue-600);
241
+ --ush-btn-primary-bg-hover: var(--ush-color-blue-700);
242
+
243
+ --ush-btn-ghost-tc: var(--ush-color-gray-700);
244
+ --ush-btn-ghost-bg: var(--ush-color-white);
245
+ --ush-btn-ghost-bg-hover: var(--ush-color-gray-100);
246
+ --ush-btn-ghost-tc-hover: var(--ush-color-gray-900);
247
+
248
+ /* Grid */
249
+
250
+ --ush-grid-bc: var(--ush-color-gray-300);
251
+ --ush-grid-br: var(--ush-radius-lg);
252
+ --ush-grid-bg: var(--ush-color-white);
253
+
254
+ /* toolbar */
255
+ --ush-grid-toolbar: var(--ush-color-white);
256
+ --ush-grid-toolbar-border-bc: var(--ush-color-gray-200);
257
+
258
+ /* grouping panel */
259
+ --ush-grouping-panel-bg: color-mix(
260
+ in oklab,
261
+ var(--ush-color-gray-50) 80%,
262
+ transparent
263
+ );
264
+ --ush-grouping-panel-border-bc: var(--ush-color-gray-200);
265
+
266
+ /* header */
267
+ --ush-col-header-vp-bg: var(--ush-color-gray-100);
268
+ --ush-col-header-bg: var(--ush-color-gray-100);
269
+ --ush-col-header-cell-bg: var(--ush-color-gray-100);
270
+ --ush-col-header-cell-border-rc: var(--ush-color-gray-300);
271
+ --ush-col-header-cell-tc: var(--ush-color-gray-700);
272
+ --ush-col-header-icon-c: var(--ush-color-gray-400);
273
+ --ush-col-header-icon-c-hover: var(--ush-color-gray-600);
274
+ --ush-col-header-icon-bg-hover: var(--ush-color-gray-200);
275
+ --ush-col-header-sort-active-icon-c: var(--ush-color-amber-500);
276
+
277
+ /* body viewport */
278
+ --ush-body-vp-border-tc: var(--ush-color-gray-300);
279
+
280
+ /* cell */
281
+ --ush-cell-border-rc: var(--ush-color-gray-150);
282
+ --ush-cell-border-bc: var(--ush-color-gray-150);
283
+ --ush-cell-tc: var(--ush-color-gray-700);
284
+
285
+ /* row */
286
+ --ush-grid-alternate-row-bg: color-mix(
287
+ in oklab,
288
+ var(--ush-color-gray-50) 70%,
289
+ transparent
290
+ );
291
+
292
+ /* footer */
293
+ --ush-footer-vp-bg: var(--ush-color-gray-100);
294
+ --ush-footer-bg: var(--ush-color-gray-100);
295
+ --ush-footer-border-tc: var(--ush-color-gray-300);
296
+ --ush-footer-cell-border-rc: var(--ush-color-gray-200);
297
+ --ush-footer-cell-tc: var(--ush-color-gray-400);
298
+
299
+ /* status bar */
300
+ --ush-grid-statusbar-bg: var(--ush-color-gray-50);
301
+ --ush-grid-statusbar-border-tc: var(--ush-color-gray-200);
302
+ --ush-grid-statusbar-text-tc: var(--ush-color-gray-600);
303
+ --ush-grid-statusbar-numb-tc: var(--ush-color-gray-500);
304
+
305
+ /* pager */
306
+ --ush-grid-pager-bg: var(--ush-color-white);
307
+ --ush-grid-pager-border-tc: var(--ush-color-gray-200);
308
+ --ush-grid-pager-active-bg: var(--ush-color-blue-600);
309
+ --ush-grid-pager-active-bg-hover: var(--ush-color-blue-700);
310
+ --ush-grid-pager-active-tc: var(--ush-color-white);
311
+ --ush-grid-pager-page-bg-hover: var(--ush-color-gray-100);
312
+ --ush-grid-pager-page-tc-hover: var(--ush-color-gray-900);
313
+ --ush-grid-pager-page-tc: var(--ush-color-gray-700);
314
+ --ush-grid-pager-separator-bg: var(--ush-color-gray-200);
315
+ --ush-grid-pager-page-size-tc: var(--ush-color-gray-500);
316
+ --ush-grid-pager-select-tc: var(--ush-color-gray-700);
317
+ --ush-grid-pager-select-bg: var(--ush-color-white);
318
+ --ush-grid-pager-select-bc: var(--ush-color-gray-300);
319
+ --ush-grid-pager-total-numb-tc: var(--ush-color-gray-700);
320
+ --ush-grid-pager-total-text-tc: var(--ush-color-gray-500);
321
+
322
+ /* filter */
323
+ --ush-grid-filter-active-icon-c: var(--ush-color-amber-500);
324
+
325
+ /* column menu */
326
+ --ush-column-menu-shadow: var(--ush-box-shadow);
327
+ --ush-column-menu-bg: var(--ush-color-white);
328
+ --ush-column-menu-bc: var(--ush-color-gray-200);
329
+ --ush-column-menu-tc: var(--ush-color-gray-900);
330
+ --ush-column-menu-item-tc: var(--ush-color-gray-700);
331
+ --ush-column-menu-item-icon-c: var(--ush-color-gray-500);
332
+ --ush-column-menu-item-hover-tc: var(--ush-color-gray-900);
333
+ --ush-column-menu-item-hover-bg: var(--ush-color-gray-100);
334
+ --ush-column-menu-separator-bg: var(--ush-color-gray-200);
335
+ --ush-column-menu-pinbox-bg: var(--ush-color-gray-50);
336
+ --ush-column-menu-pinbox-bc: var(--ush-color-gray-200);
337
+ --ush-column-menu-pinbox-tc: var(--ush-color-gray-700);
338
+ --ush-column-menu-pinbox-hover-bg: var(--ush-color-gray-100);
339
+ --ush-column-menu-pinbox-hover-tc: var(--ush-color-gray-900);
340
+ --ush-column-menu-pinned-bg: var(--ush-color-blue-600);
341
+ --ush-column-menu-pinned-tc: var(--ush-color-white);
342
+ --ush-column-menu-pinned-shadow: var(--ush-shadow-sm);
343
+ --ush-column-menu-chevron-c: var(--ush-color-gray-400);
344
+ --ush-column-menu-selected-col-tc: var(--ush-color-gray-500);
345
+ }
346
+
347
+ .ush-button {
348
+ display: inline-flex;
349
+ align-items: center;
350
+ justify-content: center;
351
+ gap: var(--ush-spacing-2);
352
+ padding-inline: var(--ush-spacing-4);
353
+ padding-block: 0px;
354
+ border: 0px solid transparent;
355
+ border-radius: var(--ush-radius-md);
356
+ cursor: pointer;
357
+ font-family: var(--ush-font-display);
358
+ height: calc(var(--ush-spacing) * 9);
359
+ }
360
+
361
+ .ush-button-primary {
362
+ color: var(--ush-btn-primary-tc);
363
+ background: var(--ush-btn-primary-bg);
364
+ }
365
+
366
+ .ush-button-primary:hover {
367
+ background: var(--ush-btn-primary-bg-hover);
368
+ }
369
+
370
+ .ush-button-ghost {
371
+ color: var(--ush-btn-ghost-tc);
372
+ background: var(--ush-btn-ghost-bg);
373
+ }
374
+
375
+ .ush-button-ghost:hover {
376
+ background: var(--ush-btn-ghost-bg-hover);
377
+ color: var(--ush-btn-ghost-tc-hover);
378
+ }
379
+
380
+ .ush-input {
381
+ outline: var(--ush-input-outline);
382
+ color: var(--ush-input-tc);
383
+ font-family: var(--ush-input-font-family);
384
+ background: var(--ush-input-bg);
385
+ border-radius: var(--ush-input-br);
386
+ border: 1px solid var(--ush-input-bc);
387
+ padding-inline: var(--ush-input-padding-inline);
388
+ padding-block: var(--ush-input-padding-block);
389
+ font-size: var(--ush-text-xs);
390
+ }
391
+
392
+ .ush-input:focus {
393
+ border-color: var(--ush-input-focus-bc);
394
+ box-shadow: var(--ush-input-focus-shadow);
395
+ }
396
+
397
+ .ush-input::placeholder {
398
+ color: var(--ush-input-placeholder-tc);
399
+ }
400
+
401
+ input[type="checkbox"] {
402
+ appearance: none;
403
+ width: var(--ush-cbx-width);
404
+ height: var(--ush-cbx-height);
405
+ border: 1px solid var(--ush-cbx-bc);
406
+ border-radius: var(--ush-cbx-radius);
407
+ background: var(--ush-cbx-bg);
408
+ display: grid;
409
+ place-items: center;
410
+ cursor: pointer;
411
+ }
412
+
413
+ input[type="checkbox"]:checked {
414
+ background: var(--ush-cbx-checked-bg);
415
+ border-color: var(--ush-cbx-checked-bc);
416
+ color: var(--ush-cbx-checked-tc);
417
+ }
418
+
419
+ input[type="checkbox"]::after {
420
+ content: "";
421
+ width: var(--ush-cbx-width);
422
+ height: var(--ush-cbx-height);
423
+ background-color: var(--ush-cbx-checked-tc);
424
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-check'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E")
425
+ center / contain no-repeat;
426
+ -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")
427
+ center / contain no-repeat;
428
+ opacity: 0;
429
+ transform: translateX(-1px);
430
+ }
431
+
432
+ input[type="checkbox"]:checked::after {
433
+ opacity: 1;
434
+ }
435
+
436
+ input[type="checkbox"]:indeterminate {
437
+ background: var(--ush-cbx-checked-bg);
438
+ border-color: var(--ush-cbx-checked-bc);
439
+ }
440
+
441
+ input[type="checkbox"]:indeterminate::after {
442
+ width: var(--ush-cbx-width);
443
+ height: var(--ush-cbx-height);
444
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-minus'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l14 0'/%3E%3C/svg%3E")
445
+ center / contain no-repeat;
446
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-minus'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M5 12l14 0'/%3E%3C/svg%3E")
447
+ center / contain no-repeat;
448
+ opacity: 1;
449
+ background-color: var(--ush-cbx-checked-tc);
450
+ transform: translateX(-1px);
451
+ }
452
+
453
+ .ush-root {
454
+ width: 100%;
455
+ height: 100%;
456
+ font-family: system-ui, sans-serif;
457
+ font-size: 12px;
458
+ position: relative;
459
+ }
460
+
461
+ .ush-root,
462
+ .ush-root * {
463
+ box-sizing: border-box;
464
+ }
465
+
466
+ .ush-root:focus-visible {
467
+ outline: none;
468
+ }
469
+
470
+ .ush-header-viewport {
471
+ overflow: hidden;
472
+ flex: 0 0 auto;
473
+ background: var(--ush-col-header-vp-bg);
474
+ display: flex;
475
+ }
476
+
477
+ .ush-header {
478
+ height: 40px;
479
+ background: var(--ush-col-header-vp-bg);
480
+ display: flex;
481
+ align-items: center;
482
+ }
483
+
484
+ .ush-header-cell {
485
+ display: flex;
486
+ position: relative;
487
+ flex: 0 0 auto;
488
+ min-width: 0;
489
+ padding: 0 8px;
490
+ height: 40px;
491
+ background: var(--ush-col-header-cell-bg);
492
+ border-right: 1px solid var(--ush-col-header-cell-border-rc);
493
+ overflow: hidden;
494
+ align-items: center;
495
+ color: var(--ush-col-header-cell-tc);
496
+ font-weight: var(--ush-font-weight-semibold);
497
+ font-size: var(--ush-text-xs);
498
+ }
499
+
500
+ .ush-header-cell-content {
501
+ flex: 1 1 auto;
502
+ min-width: 0;
503
+ overflow: hidden;
504
+ white-space: nowrap;
505
+ }
506
+
507
+ .ush-header-cell.last-cell {
508
+ border-right: none;
509
+ }
510
+
511
+ .ush-header-resize-handle {
512
+ position: absolute;
513
+ right: 0;
514
+ top: 0;
515
+ width: 5px;
516
+ height: 100%;
517
+ cursor: col-resize;
518
+ z-index: 10;
519
+ }
520
+
521
+ .ush-header-cell.sortable {
522
+ cursor: pointer;
523
+ }
524
+
525
+ .ush-header-cell.sortable .ush-sort-active,
526
+ .ush-header-cell.sortable .ush-sort-priority {
527
+ padding: calc(var(--ush-spacing) * 0.5);
528
+ color: var(--ush-col-header-sort-active-icon-c);
529
+ }
530
+
531
+ .ush-header-cell.sortable .ush-sort-active svg {
532
+ color: var(--ush-col-header-sort-active-icon-c);
533
+ width: var(--ush-spacing-4);
534
+ height: var(--ush-spacing-4);
535
+ stroke-width: 1.75;
536
+ }
537
+
538
+ .ush-header.ush-pinned-left {
539
+ position: sticky;
540
+ left: 0;
541
+ z-index: 3;
542
+ box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
543
+ }
544
+
545
+ .ush-header.ush-pinned-right {
546
+ position: sticky;
547
+ right: 0;
548
+ z-index: 3;
549
+ box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
550
+ }
551
+
552
+ .ush-header-cell .ush-col-menu-icon {
553
+ cursor: pointer;
554
+ padding: calc(var(--ush-spacing) * 0.5);
555
+ border-radius: var(--ush-radius-sm);
556
+ opacity: 0;
557
+ pointer-events: none;
558
+ transition: opacity 120ms ease;
559
+ }
560
+
561
+ .ush-header-cell:hover .ush-col-menu-icon,
562
+ .ush-header-cell:focus-within .ush-col-menu-icon {
563
+ opacity: 1;
564
+ pointer-events: auto;
565
+ }
566
+
567
+ .ush-header-cell .ush-col-menu-icon:hover {
568
+ background-color: var(--ush-col-header-icon-bg-hover);
569
+ }
570
+
571
+ .ush-header-cell .ush-col-menu-icon svg {
572
+ width: var(--ush-spacing-4);
573
+ height: var(--ush-spacing-4);
574
+ color: var(--ush-col-header-icon-c);
575
+ }
576
+
577
+ .ush-header-cell .ush-col-menu-icon:hover svg {
578
+ color: var(--ush-col-header-icon-c-hover);
579
+ }
580
+
581
+ .ush-header-cell .ush-col-menu-icon.ush-disabled {
582
+ pointer-events: none;
583
+ }
584
+
585
+ .ush-header-cell .ush-col-menu-icon.ush-disabled svg {
586
+ stroke: gray;
587
+ }
588
+
589
+ .ush-col-menu {
590
+ background-color: var(--ush-column-menu-bg);
591
+ border: 1px solid var(--ush-column-menu-bc);
592
+ padding: 4px;
593
+ overflow-y: auto;
594
+ max-height: 450px;
595
+ width: 200px;
596
+ box-shadow: var(--ush-column-menu-shadow);
597
+ margin: 0;
598
+ z-index: 1001;
599
+ border-radius: var(--ush-radius-md);
600
+ font-family: var(--ush-font-sans);
601
+ color: var(--ush-column-menu-tc);
602
+ }
603
+
604
+ .ush-col-menu ul {
605
+ list-style-type: none;
606
+ font-weight: normal;
607
+ padding: 0;
608
+ margin: 0;
609
+ font-size: var(--ush-text-sm2);
610
+ }
611
+
612
+ .ush-col-menu li {
613
+ padding: 2px;
614
+ cursor: pointer;
615
+ display: flex;
616
+ gap: 5px;
617
+ align-items: center;
618
+ color: var(--ush-column-menu-item-tc);
619
+ }
620
+
621
+ .ush-col-menu li:hover {
622
+ color: var(--ush-column-menu-item-hover-tc);
623
+ }
624
+
625
+ .ush-col-menu li .ush-icon {
626
+ color: var(--ush-column-menu-item-icon-c);
627
+ }
628
+
629
+ .ush-col-menu li.ush-disabled,
630
+ .ush-col-menu .left-pin.ush-disabled {
631
+ color: #aaa;
632
+ cursor: not-allowed;
633
+ pointer-events: none;
634
+ opacity: 0.6;
635
+ }
636
+
637
+ .ush-col-menu .sort-asc .active .ush-icon,
638
+ .ush-col-menu .sort-desc .active .ush-icon {
639
+ color: var(--ush-col-header-sort-active-icon-c);
640
+ }
641
+
642
+ .ush-col-menu .pinbox {
643
+ background-color: var(--ush-column-menu-pinbox-bg);
644
+ border: 1px solid var(--ush-column-menu-pinbox-bc);
645
+ margin-left: auto;
646
+ border-radius: var(--ush-radius-sm);
647
+ color: var(--ush-column-menu-pinbox-tc);
648
+ font-family: var(--ush-font-mono);
649
+ font-size: var(--ush-text-xs);
650
+ }
651
+
652
+ .ush-col-menu .pinbox span {
653
+ padding-inline: var(--ush-spacing-3);
654
+ }
655
+
656
+ .ush-col-menu li:hover:not(.pin) {
657
+ background-color: var(--ush-column-menu-item-hover-bg);
658
+ }
659
+
660
+ .ush-col-menu .ush-separator {
661
+ margin: 5px 0px;
662
+ border-bottom: 1px solid var(--ush-column-menu-separator-bg);
663
+ }
664
+
665
+ .ush-col-menu .column-item span:nth-child(2) {
666
+ font-weight: var(--ush-font-weight-semibold);
667
+ }
668
+
669
+ .ush-col-menu .chevron-down {
670
+ margin-left: auto;
671
+ }
672
+
673
+ .ush-col-menu .chevron-down .ush-icon {
674
+ color: var(--ush-column-menu-chevron-c);
675
+ }
676
+
677
+ .ush-col-menu .chevron-down.open {
678
+ transform: rotate(180deg);
679
+ }
680
+
681
+ .ush-col-menu .columns {
682
+ display: flex;
683
+ flex-direction: column;
684
+ width: 100%;
685
+ max-height: 0;
686
+ overflow: hidden;
687
+ opacity: 0;
688
+ transition:
689
+ max-height 0.5s ease,
690
+ opacity 0.5s ease;
691
+ }
692
+
693
+ .ush-col-menu .columns .ush-input {
694
+ margin-block: 5px;
695
+ margin-inline: 2px;
696
+ }
697
+
698
+ .ush-col-menu .columns.open {
699
+ max-height: 500px; /* must be larger than content height */
700
+ opacity: 1;
701
+ }
702
+
703
+ .ush-col-menu .ush-checkbox-items {
704
+ overflow-y: auto;
705
+ max-height: 150px;
706
+ display: flex;
707
+ flex-direction: column;
708
+ }
709
+
710
+ .ush-col-menu .checkbox-label {
711
+ display: flex;
712
+ align-items: center;
713
+ gap: 4px;
714
+ font-size: var(--ush-text-sm2);
715
+ font-weight: normal;
716
+ color: var(--ush-column-menu-item-tc);
717
+ cursor: pointer;
718
+ border-radius: var(--ush-radius-sm);
719
+ }
720
+
721
+ .ush-col-menu .checkbox-label:hover {
722
+ background-color: var(--ush-column-menu-item-hover-bg);
723
+ color: var(--ush-column-menu-item-hover-tc);
724
+ }
725
+
726
+ .ush-col-menu span.select-all {
727
+ font-weight: var(--ush-font-weight-semibold);
728
+ }
729
+
730
+ .ush-col-menu .selected-columns {
731
+ margin-top: 10px;
732
+ padding-left: 6px;
733
+ display: flex;
734
+ align-items: center;
735
+ justify-content: space-between;
736
+ }
737
+
738
+ .ush-col-menu .selected-columns .ush-filter-btn-container {
739
+ margin-top: 0px;
740
+ }
741
+
742
+ .ush-col-menu .selected-columns span {
743
+ font-family: var(--ush-font-mono);
744
+ color: var(--ush-column-menu-selected-col-tc);
745
+ font-size: calc(var(--ush-text-base) * 0.6875);
746
+ }
747
+
748
+ .ush-col-menu .selected-columns .ush-button {
749
+ font-weight: var(--ush-font-weight-medium);
750
+ font-size: var(--ush-text-xs);
751
+ padding-inline: var(--ush-spacing-2);
752
+ height: var(--ush-spacing-6);
753
+ }
754
+
755
+ .ush-col-menu .pin {
756
+ cursor: default;
757
+ }
758
+
759
+ .ush-col-menu .left-pin,
760
+ .ush-col-menu .right-pin {
761
+ width: 50px;
762
+ text-align: center;
763
+ }
764
+
765
+ .ush-col-menu .left-pin:hover,
766
+ .ush-col-menu .right-pin:hover {
767
+ background-color: var(--ush-column-menu-pinbox-hover-bg);
768
+ color: var(--ush-column-menu-pinbox-hover-tc);
769
+ cursor: pointer;
770
+ }
771
+
772
+ .ush-col-menu .left-pin.pinned,
773
+ .ush-col-menu .right-pin.pinned {
774
+ background: var(--ush-column-menu-pinned-bg);
775
+ box-shadow: var(--ush-column-menu-pinned-shadow);
776
+ border-top-left-radius: var(--ush-radius-sm);
777
+ border-bottom-left-radius: var(--ush-radius-sm);
778
+ color: var(--ush-column-menu-pinned-tc);
779
+ }
780
+
781
+ .ush-col-menu .no-data {
782
+ font-weight: normal;
783
+ font-size: 12px;
784
+ display: flex;
785
+ align-items: center;
786
+ justify-content: center;
787
+ height: 150px;
788
+ }
789
+
790
+ .ush-drop-indicator-left,
791
+ .ush-drop-indicator-right {
792
+ position: absolute;
793
+ top: 0;
794
+ bottom: 0;
795
+ width: 2px;
796
+ background: #0078d4;
797
+ opacity: 0;
798
+ transition: opacity 80ms ease;
799
+ pointer-events: none;
800
+ z-index: 10;
801
+ }
802
+
803
+ .ush-drop-indicator-left {
804
+ left: 0;
805
+ }
806
+
807
+ .ush-drop-indicator-right {
808
+ right: 0;
809
+ }
810
+
811
+ .ush-body-viewport {
812
+ flex: 1 1 auto;
813
+ overflow: hidden;
814
+ position: relative;
815
+ border-top: 1px solid var(--ush-body-vp-border-tc);
816
+ display: flex;
817
+ }
818
+
819
+ .ush-body-viewport:focus-visible {
820
+ outline: none;
821
+ }
822
+
823
+ .ush-body {
824
+ background: #ffffff;
825
+ overflow: hidden;
826
+ position: relative;
827
+ height: 100%;
828
+ flex: 0 0 auto;
829
+ }
830
+
831
+ .ush-body.ush-pinned-left,
832
+ .ush-new-row.ush-pinned-left {
833
+ position: sticky;
834
+ left: 0;
835
+ z-index: 3;
836
+ box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
837
+ }
838
+
839
+ .ush-body.ush-pinned-right {
840
+ position: sticky;
841
+ right: 0;
842
+ z-index: 3;
843
+ box-shadow:
844
+ -2px 0 1px rgba(0, 0, 0, 0.15),
845
+ inset -1px 0 #d0d0d0;
846
+ }
847
+
848
+ /* .ush-body > .ush-row:nth-child(odd) {
849
+ background-color: var(--ush-grid-alternate-row-bg);
850
+ } */
851
+
852
+ .ush-footer-viewport {
853
+ overflow: hidden;
854
+ flex: 0 0 auto;
855
+ background: var(--ush-footer-vp-bg);
856
+ border-top: 1px solid var(--ush-footer-border-tc);
857
+ display: flex;
858
+ }
859
+
860
+ .ush-footer {
861
+ height: 24px;
862
+ background: var(--ush-footer-bg);
863
+ display: flex;
864
+ font-size: 11px;
865
+ }
866
+
867
+ .ush-footer-cell {
868
+ flex: 0 0 auto;
869
+ min-width: 0;
870
+ padding: 0 8px;
871
+ overflow: hidden;
872
+ display: flex;
873
+ align-items: center;
874
+ border-right: 1px solid var(--ush-footer-cell-border-rc);
875
+ color: var(--ush-footer-cell-tc);
876
+ font-weight: var(--ush-font-weight-semibold);
877
+ }
878
+
879
+ .ush-footer-cell-content {
880
+ flex: 1 1 auto;
881
+ min-width: 0;
882
+ overflow: hidden;
883
+ white-space: nowrap;
884
+ }
885
+
886
+ .ush-footer-cell.last-cell {
887
+ border-right: none;
888
+ }
889
+
890
+ .ush-footer.ush-pinned-left {
891
+ position: sticky;
892
+ left: 0;
893
+ z-index: 3;
894
+ box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
895
+ }
896
+
897
+ .ush-footer.ush-pinned-right {
898
+ position: sticky;
899
+ right: 0;
900
+ z-index: 3;
901
+ box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
902
+ }
903
+
904
+ .ush-viewport {
905
+ display: flex;
906
+ flex-direction: column;
907
+ width: 100%;
908
+ height: 100%;
909
+ position: relative;
910
+ }
911
+
912
+ .ush-overlay-active .ush-body.ush-pinned-left,
913
+ .ush-overlay-active .ush-header.ush-pinned-left,
914
+ .ush-overlay-active .ush-filter-row.ush-pinned-left,
915
+ .ush-overlay-active .ush-footer.ush-pinned-left,
916
+ .ush-overlay-active .ush-body.ush-pinned-right,
917
+ .ush-overlay-active .ush-header.ush-pinned-right,
918
+ .ush-overlay-active .ush-filter-row.ush-pinned-right,
919
+ .ush-overlay-active .ush-footer.ush-pinned-right {
920
+ position: relative;
921
+ box-shadow: none;
922
+ }
923
+
924
+ .ush-h-scroll {
925
+ flex: 0 0 auto;
926
+ height: 16px; /* typical scrollbar height */
927
+ }
928
+
929
+ .ush-h-scroll-inner {
930
+ height: 16px; /* typical scrollbar height */
931
+ width: 100%;
932
+ overflow-x: auto;
933
+ }
934
+
935
+ .ush-v-scroll {
936
+ width: 16px; /* typical scrollbar width */
937
+ display: flex;
938
+ flex-direction: column;
939
+ }
940
+
941
+ .ush-v-scroll-inner {
942
+ width: 16px; /* typical scrollbar width */
943
+ height: 100%;
944
+ flex: 1 1 auto;
945
+ overflow-y: auto;
946
+ }
947
+
948
+ .ush-v-scroll-spacer-top {
949
+ width: 16px; /* typical scrollbar width */
950
+ height: 40px; /* header height */
951
+ box-sizing: content-box !important;
952
+ background: var(--ush-col-header-cell-bg);
953
+ border-bottom: 1px solid var(--ush-body-vp-border-tc);
954
+ flex: 0 0 auto;
955
+ position: relative;
956
+ /* margin-left: -1px; */
957
+ }
958
+
959
+ .ush-v-scroll-spacer-top-line::before {
960
+ content: "";
961
+ width: 16px; /* typical scrollbar width */
962
+ height: 1px;
963
+ border-top: 1px solid var(--ush-body-vp-border-tc);
964
+ position: absolute;
965
+ top: 40px; /* header height */
966
+ left: 0;
967
+ }
968
+
969
+ .ush-v-scroll-spacer-top-line-new-row::after {
970
+ content: "";
971
+ width: 16px; /* typical scrollbar width */
972
+ height: 1px;
973
+ border-top: 1px solid var(--ush-body-vp-border-tc);
974
+ position: absolute;
975
+ top: 70px; /* header height + filter row height */
976
+ left: 0;
977
+ }
978
+
979
+ .ush-v-scroll-spacer-bottom {
980
+ width: 16px; /* typical scrollbar width */
981
+ height: 25px; /* footer height */
982
+ background: var(--ush-footer-bg);
983
+ border-top: 1px solid var(--ush-footer-border-tc);
984
+ flex: 0 0 auto;
985
+ position: relative;
986
+ /* margin-left: -1px; */
987
+ }
988
+
989
+ .ush-v-scroll-bottom-corner {
990
+ width: 16px; /* typical scrollbar width */
991
+ height: 16px; /* typical scrollbar height */
992
+ flex: 0 0 auto;
993
+ }
994
+
995
+ .ush-v-scroll-track {
996
+ height: 0; /* will be set from JS */
997
+ }
998
+
999
+ .ush-h-scroll-left,
1000
+ .ush-h-scroll-right {
1001
+ flex: 0 0 auto;
1002
+ }
1003
+
1004
+ .ush-apply-scrollbar {
1005
+ scrollbar-width: thin;
1006
+ scrollbar-color: var(--ush-scrollbar-color);
1007
+ }
1008
+
1009
+ .ush-grid {
1010
+ width: 100%;
1011
+ height: 100%;
1012
+ display: flex;
1013
+ flex-direction: column;
1014
+ background-color: var(--ush-grid-bg);
1015
+ border: 1px solid var(--ush-grid-bc);
1016
+ border-radius: var(--ush-radius-lg);
1017
+ font-family: var(--ush-font-display);
1018
+ }
1019
+
1020
+ .ush-resizing * {
1021
+ cursor: col-resize !important;
1022
+ user-select: none;
1023
+ }
1024
+
1025
+ .ush-overlay {
1026
+ position: absolute;
1027
+ top: 0;
1028
+ left: 0;
1029
+ width: 100%;
1030
+ height: 100%;
1031
+ background-color: rgba(0, 0, 0, 0.3);
1032
+ z-index: 1000;
1033
+ pointer-events: auto;
1034
+ }
1035
+
1036
+ .ush-grid-container {
1037
+ display: flex;
1038
+ flex: 1;
1039
+ overflow-y: hidden;
1040
+ }
1041
+
1042
+ .ush-grid > :first-child {
1043
+ border-top-left-radius: inherit;
1044
+ border-top-right-radius: inherit;
1045
+ }
1046
+
1047
+ .ush-grid > :last-child {
1048
+ border-bottom-left-radius: inherit;
1049
+ border-bottom-right-radius: inherit;
1050
+ }
1051
+
1052
+ .ush-cell {
1053
+ flex: 0 0 auto;
1054
+ min-width: 0;
1055
+ line-height: 20px;
1056
+ padding: 0 8px;
1057
+ overflow: hidden;
1058
+ white-space: nowrap;
1059
+ align-items: center;
1060
+ border-right: 1px solid var(--ush-cell-border-rc);
1061
+ border-bottom: 1px solid var(--ush-cell-border-bc);
1062
+ color: var(--ush-cell-tc);
1063
+ font-family: var(--ush-font-sans);
1064
+ font-size: var(--ush-text-sm);
1065
+ }
1066
+
1067
+ .ush-cell.last-cell {
1068
+ border-right: none;
1069
+ }
1070
+
1071
+ .ush-cell.ush-readonly {
1072
+ background-color: rgba(0, 0, 0, 0.03);
1073
+ color: #666;
1074
+ cursor: default;
1075
+ }
1076
+
1077
+ .ush-cell.ush-readonly:hover {
1078
+ background-color: rgba(0, 0, 0, 0.05);
1079
+ }
1080
+
1081
+ .ush-align-left {
1082
+ text-align: left;
1083
+ }
1084
+
1085
+ .ush-align-center {
1086
+ text-align: center;
1087
+ }
1088
+
1089
+ .ush-align-right {
1090
+ text-align: right;
1091
+ }
1092
+
1093
+ .ush-align-right .ush-group-content {
1094
+ justify-content: flex-end;
1095
+ }
1096
+
1097
+ .ush-align-center .ush-group-content {
1098
+ justify-content: center;
1099
+ }
1100
+
1101
+ .ush-align-left .ush-group-content {
1102
+ justify-content: flex-start;
1103
+ }
1104
+
1105
+ .ush-row {
1106
+ display: flex;
1107
+ position: absolute;
1108
+ top: 0;
1109
+ left: 0;
1110
+ }
1111
+
1112
+ .ush-row.last-row .ush-cell {
1113
+ border-bottom: none;
1114
+ }
1115
+
1116
+ .ush-row.alternate {
1117
+ background-color: var(--ush-grid-alternate-row-bg);
1118
+ }
1119
+
1120
+ .ush-no-data {
1121
+ display: flex;
1122
+ flex-direction: column;
1123
+ align-items: center;
1124
+ justify-content: center;
1125
+
1126
+ height: 100%;
1127
+ width: 100%;
1128
+
1129
+ color: #666;
1130
+ font-family: sans-serif;
1131
+ text-align: center;
1132
+
1133
+ opacity: 0.8;
1134
+ pointer-events: none; /* ensures no interference with scrolling */
1135
+ position: absolute;
1136
+ top: 0;
1137
+ left: 0;
1138
+
1139
+ z-index: 4;
1140
+ }
1141
+
1142
+ .ush-no-data__icon {
1143
+ width: 48px;
1144
+ height: 48px;
1145
+ margin-bottom: 12px;
1146
+
1147
+ background: #ddd;
1148
+ border-radius: 50%;
1149
+
1150
+ display: flex;
1151
+ align-items: center;
1152
+ justify-content: center;
1153
+
1154
+ /* simple placeholder icon */
1155
+ position: relative;
1156
+ }
1157
+
1158
+ .ush-no-data__icon::before {
1159
+ content: "";
1160
+ width: 24px;
1161
+ height: 24px;
1162
+ border: 3px solid #bbb;
1163
+ border-radius: 50%;
1164
+ border-top-color: transparent;
1165
+ border-right-color: transparent;
1166
+ transform: rotate(45deg);
1167
+ display: block;
1168
+ }
1169
+
1170
+ .ush-no-data__title {
1171
+ font-size: 16px;
1172
+ font-weight: 600;
1173
+ margin-bottom: 4px;
1174
+ }
1175
+
1176
+ .ush-no-data__subtitle {
1177
+ font-size: 13px;
1178
+ color: #999;
1179
+ }
1180
+
1181
+ .ush-loading {
1182
+ width: 100%;
1183
+ height: 100%;
1184
+ box-sizing: border-box;
1185
+ padding: 2rem;
1186
+ background-color: #fff;
1187
+ display: flex;
1188
+ flex-direction: column;
1189
+ justify-content: center;
1190
+ align-items: center;
1191
+ position: absolute;
1192
+ z-index: 4;
1193
+ }
1194
+
1195
+ .ush-loader {
1196
+ width: 48px;
1197
+ height: 48px;
1198
+ border-radius: 50%;
1199
+ position: relative;
1200
+ animation: rotate 1s linear infinite;
1201
+ }
1202
+
1203
+ .ush-loader::before,
1204
+ .ush-loader::after {
1205
+ content: "";
1206
+ box-sizing: border-box;
1207
+ position: absolute;
1208
+ inset: 0px;
1209
+ border-radius: 50%;
1210
+ border: 5px solid gainsboro;
1211
+ animation: prixClipFix 2s linear infinite;
1212
+ }
1213
+
1214
+ .ush-loader::after {
1215
+ transform: rotate3d(90, 90, 0, 180deg);
1216
+ border-color: #ff3d00;
1217
+ }
1218
+
1219
+ @keyframes rotate {
1220
+ 0% {
1221
+ transform: rotate(0deg);
1222
+ }
1223
+ 100% {
1224
+ transform: rotate(360deg);
1225
+ }
1226
+ }
1227
+
1228
+ @keyframes prixClipFix {
1229
+ 0% {
1230
+ clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
1231
+ }
1232
+ 50% {
1233
+ clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
1234
+ }
1235
+ 75%,
1236
+ 100% {
1237
+ clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
1238
+ }
1239
+ }
1240
+
1241
+ .ush-error {
1242
+ width: 100%;
1243
+ height: 100%;
1244
+ box-sizing: border-box;
1245
+ padding: 2rem;
1246
+ background-color: #fff;
1247
+ display: flex;
1248
+ flex-direction: column;
1249
+ justify-content: center;
1250
+ align-items: center;
1251
+ }
1252
+
1253
+ .ush-error__title {
1254
+ font-size: 24px;
1255
+ color: #dc3545;
1256
+ margin-bottom: 1rem;
1257
+ }
1258
+
1259
+ .ush-error__message {
1260
+ font-size: 16px;
1261
+ color: #6c757d;
1262
+ text-align: center;
1263
+ }
1264
+
1265
+ .ush-error__icon {
1266
+ width: 48px;
1267
+ height: 48px;
1268
+ margin-bottom: 12px;
1269
+
1270
+ background: #f8d7da;
1271
+ border-radius: 50%;
1272
+
1273
+ display: flex;
1274
+ align-items: center;
1275
+ justify-content: center;
1276
+
1277
+ position: relative;
1278
+ }
1279
+
1280
+ /* vertical bar of the exclamation mark */
1281
+
1282
+ .ush-error__icon::before {
1283
+ content: "";
1284
+ width: 4px;
1285
+ height: 18px;
1286
+ background: #dc3545;
1287
+ border-radius: 2px;
1288
+ position: absolute;
1289
+ top: 10px;
1290
+ }
1291
+
1292
+ /* dot of the exclamation mark */
1293
+
1294
+ .ush-error__icon::after {
1295
+ content: "";
1296
+ width: 4px;
1297
+ height: 4px;
1298
+ background: #dc3545;
1299
+ border-radius: 50%;
1300
+ position: absolute;
1301
+ bottom: 10px;
1302
+ }
1303
+
1304
+ .ush-filter-row-viewport {
1305
+ overflow: hidden;
1306
+ flex: 0 0 auto;
1307
+ background: #f0f0f0;
1308
+ display: flex;
1309
+ }
1310
+
1311
+ .ush-filter-row {
1312
+ height: 30px;
1313
+ display: flex;
1314
+ align-items: center;
1315
+ border-top: 1px solid #d0d0d0;
1316
+ }
1317
+
1318
+ .ush-filter-row.ush-pinned-left {
1319
+ position: sticky;
1320
+ left: 0;
1321
+ z-index: 3;
1322
+ box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
1323
+ }
1324
+
1325
+ .ush-filter-row.ush-pinned-right {
1326
+ position: sticky;
1327
+ right: 0;
1328
+ z-index: 3;
1329
+ box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
1330
+ }
1331
+
1332
+ .ush-filter-cell {
1333
+ display: flex;
1334
+ position: relative;
1335
+ flex: 0 0 auto;
1336
+ min-width: 0;
1337
+ padding: 0 2px;
1338
+ height: 30px;
1339
+ background: #e8e8e8;
1340
+ border-right: 1px solid #ccc;
1341
+ overflow: hidden;
1342
+ align-items: center;
1343
+ }
1344
+
1345
+ .ush-filter-cell-content {
1346
+ flex: 1 1 auto;
1347
+ min-width: 0;
1348
+ overflow: hidden;
1349
+ white-space: nowrap;
1350
+ }
1351
+
1352
+ .ush-filter-editor {
1353
+ width: 0;
1354
+ min-width: 100%;
1355
+ padding: 4px;
1356
+ font-size: inherit;
1357
+ height: 25px;
1358
+ }
1359
+
1360
+ .ush-filter-cell .ush-filter-icon {
1361
+ cursor: pointer;
1362
+ }
1363
+
1364
+ .ush-filter-cell .ush-filter-icon.ush-disabled,
1365
+ .ush-header-cell .ush-filter-icon.ush-disabled {
1366
+ pointer-events: none;
1367
+ }
1368
+
1369
+ .ush-filter-cell .ush-filter-icon.ush-disabled svg,
1370
+ .ush-header-cell .ush-filter-icon.ush-disabled svg {
1371
+ stroke: gray;
1372
+ }
1373
+
1374
+ .ush-filter-operators {
1375
+ background-color: white;
1376
+ border: 1px solid gainsboro;
1377
+ list-style-type: none;
1378
+ padding: 4px;
1379
+ overflow-y: auto;
1380
+ max-height: 150px;
1381
+ height: auto;
1382
+ width: 150px;
1383
+ box-shadow:
1384
+ rgba(0, 0, 0, 0.16) 0px 3px 6px,
1385
+ rgba(0, 0, 0, 0.23) 0px 3px 6px;
1386
+ margin: 0;
1387
+ font-size: 12px;
1388
+ position: absolute;
1389
+ }
1390
+
1391
+ .ush-filter-operators li {
1392
+ cursor: pointer;
1393
+ padding: 2px;
1394
+ }
1395
+
1396
+ .ush-filter-operators li:hover {
1397
+ background-color: gainsboro;
1398
+ }
1399
+
1400
+ .ush-filter-operators li.active {
1401
+ background-color: gray;
1402
+ color: white;
1403
+ }
1404
+
1405
+ .ush-menu-filter {
1406
+ background-color: white;
1407
+ border: 1px solid gainsboro;
1408
+ padding: 4px;
1409
+ overflow-y: auto;
1410
+ height: auto;
1411
+ max-width: 600px;
1412
+ box-shadow:
1413
+ rgba(0, 0, 0, 0.16) 0px 3px 6px,
1414
+ rgba(0, 0, 0, 0.23) 0px 3px 6px;
1415
+ margin: 0;
1416
+ }
1417
+
1418
+ .ush-menu-filter-row {
1419
+ display: flex;
1420
+ gap: 5px;
1421
+ margin-top: 5px;
1422
+ }
1423
+
1424
+ .ush-header-cell .ush-filter-icon {
1425
+ cursor: pointer;
1426
+ padding: calc(var(--ush-spacing) * 0.5);
1427
+ border-radius: var(--ush-radius-sm);
1428
+ }
1429
+
1430
+ .ush-header-cell .ush-filter-icon:hover {
1431
+ background-color: var(--ush-col-header-icon-bg-hover);
1432
+ }
1433
+
1434
+ .ush-header-cell .ush-filter-icon svg {
1435
+ width: var(--ush-spacing-4);
1436
+ height: var(--ush-spacing-4);
1437
+ color: var(--ush-col-header-icon-c);
1438
+ }
1439
+
1440
+ .ush-header-cell .ush-filter-icon:hover svg {
1441
+ color: var(--ush-col-header-icon-c-hover);
1442
+ }
1443
+
1444
+ .ush-filter-btn-container {
1445
+ display: flex;
1446
+ justify-content: end;
1447
+ gap: 5px;
1448
+ margin-top: 10px;
1449
+ font-size: inherit;
1450
+ }
1451
+
1452
+ .ush-filter-icon.ush-active-filter svg,
1453
+ .ush-filter-icon.ush-active-filter:hover svg,
1454
+ .ush-excel-filter .ush-active-filter {
1455
+ color: var(--ush-grid-filter-active-icon-c);
1456
+ stroke-width: 1.75;
1457
+ }
1458
+
1459
+ .ush-excel-filter {
1460
+ background-color: white;
1461
+ border: 1px solid gainsboro;
1462
+ padding: 4px;
1463
+ overflow-y: auto;
1464
+ max-height: 400px;
1465
+ width: 200px;
1466
+ box-shadow:
1467
+ rgba(0, 0, 0, 0.16) 0px 3px 6px,
1468
+ rgba(0, 0, 0, 0.23) 0px 3px 6px;
1469
+ margin: 0;
1470
+ z-index: 1001;
1471
+ }
1472
+
1473
+ .ush-excel-filter ul {
1474
+ list-style-type: none;
1475
+ font-weight: normal;
1476
+ padding: 0;
1477
+ margin: 0;
1478
+ font-size: 12px;
1479
+ }
1480
+
1481
+ .ush-excel-filter li {
1482
+ padding: 2px;
1483
+ cursor: pointer;
1484
+ display: flex;
1485
+ gap: 5px;
1486
+ align-items: center;
1487
+ }
1488
+
1489
+ .ush-excel-filter li.ush-disabled {
1490
+ color: #aaa;
1491
+ cursor: not-allowed;
1492
+ pointer-events: none;
1493
+ opacity: 0.6;
1494
+ }
1495
+
1496
+ .ush-excel-filter li:not(.input):hover {
1497
+ background-color: gainsboro;
1498
+ }
1499
+
1500
+ .ush-excel-filter .ush-separator {
1501
+ margin: 5px 0px;
1502
+ border-bottom: 1px solid gainsboro;
1503
+ }
1504
+
1505
+ .ush-excel-filter .chevron-right {
1506
+ margin-left: auto;
1507
+ }
1508
+
1509
+ .ush-excel-filter input[type="text"] {
1510
+ flex: 1;
1511
+ font-size: 12px;
1512
+ }
1513
+
1514
+ .ush-excel-filter .ush-checkbox-items {
1515
+ overflow-y: auto;
1516
+ max-height: 220px;
1517
+ display: flex;
1518
+ flex-direction: column;
1519
+ }
1520
+
1521
+ .ush-excel-filter .checkbox-label {
1522
+ display: flex;
1523
+ align-items: center;
1524
+ gap: 4px;
1525
+ font-size: 12px;
1526
+ font-weight: normal;
1527
+ }
1528
+
1529
+ .ush-excel-filter .toggle-btn {
1530
+ background-color: transparent;
1531
+ border: none;
1532
+ font-size: 16px;
1533
+ width: 22px;
1534
+ }
1535
+
1536
+ .ush-excel-filter .node-header {
1537
+ display: flex;
1538
+ align-items: center;
1539
+ }
1540
+
1541
+ .ush-excel-filter .level-0 {
1542
+ padding-left: 0px;
1543
+ }
1544
+
1545
+ .ush-excel-filter .level-1 {
1546
+ padding-left: 20px;
1547
+ }
1548
+
1549
+ .ush-excel-filter .level-2 {
1550
+ padding-left: 62px;
1551
+ }
1552
+
1553
+ .date {
1554
+ padding-left: 22px;
1555
+ }
1556
+
1557
+ .ush-excel-filter .no-data {
1558
+ font-weight: normal;
1559
+ font-size: 12px;
1560
+ display: flex;
1561
+ align-items: center;
1562
+ justify-content: center;
1563
+ height: 220px;
1564
+ }
1565
+
1566
+ .ush-checkbox-items .hidden {
1567
+ display: none;
1568
+ }
1569
+
1570
+ .ush-excel-filter-operators {
1571
+ font-size: 12px;
1572
+ font-weight: normal;
1573
+ background-color: white;
1574
+ border: 1px solid gainsboro;
1575
+ padding: 4px;
1576
+ overflow-y: auto;
1577
+ max-height: 250px;
1578
+ width: 200px;
1579
+ box-shadow:
1580
+ rgba(0, 0, 0, 0.16) 0px 3px 6px,
1581
+ rgba(0, 0, 0, 0.23) 0px 3px 6px;
1582
+ margin: 0;
1583
+ }
1584
+
1585
+ .ush-excel-filter-operators li {
1586
+ padding: 4px;
1587
+ cursor: pointer;
1588
+ display: flex;
1589
+ gap: 5px;
1590
+ }
1591
+
1592
+ .ush-excel-filter-operators li:hover {
1593
+ background-color: gainsboro;
1594
+ }
1595
+
1596
+ .ush-excel-filter-operators .hidden,
1597
+ .ush-excel-filter .filters .hidden {
1598
+ visibility: hidden;
1599
+ }
1600
+
1601
+ .ush-excel-filter-popup {
1602
+ background-color: white;
1603
+ border: 1px solid gainsboro;
1604
+ padding: 4px;
1605
+ overflow-y: auto;
1606
+ height: auto;
1607
+ width: auto;
1608
+ box-shadow:
1609
+ rgba(0, 0, 0, 0.16) 0px 3px 6px,
1610
+ rgba(0, 0, 0, 0.23) 0px 3px 6px;
1611
+ margin: 0;
1612
+ z-index: 1001;
1613
+ position: absolute;
1614
+ top: 50%;
1615
+ left: 50%;
1616
+ transform: translate(-50%, -50%);
1617
+ font-size: 12px;
1618
+ }
1619
+
1620
+ .ush-excel-filter-popup .title-bar {
1621
+ display: flex;
1622
+ padding: 4px;
1623
+ font-weight: bold;
1624
+ }
1625
+
1626
+ .ush-excel-filter-popup .title-bar .icon {
1627
+ margin-left: auto;
1628
+ cursor: pointer;
1629
+ }
1630
+
1631
+ .ush-excel-filter-popup > * {
1632
+ padding: 4px;
1633
+ }
1634
+
1635
+ .ush-excel-filter-popup select {
1636
+ border: 1px solid black;
1637
+ width: 180px;
1638
+ font-size: inherit;
1639
+ }
1640
+
1641
+ .ush-excel-filter-popup input:not([type="radio"]) {
1642
+ width: 180px;
1643
+ font-size: inherit;
1644
+ }
1645
+
1646
+ .ush-excel-filter-popup .filter-crit,
1647
+ .ush-excel-filter-popup .radio-btn {
1648
+ display: flex;
1649
+ gap: 10px;
1650
+ font-size: inherit;
1651
+ }
1652
+
1653
+ .ush-excel-filter-popup .radio-btn {
1654
+ padding-left: 0;
1655
+ font-size: inherit;
1656
+ }
1657
+
1658
+ .ush-icon svg {
1659
+ vertical-align: middle;
1660
+ }
1661
+
1662
+ .ush-grouping-panel {
1663
+ display: flex !important;
1664
+ height: 40px;
1665
+ background-color: var(--ush-grouping-panel-bg);
1666
+ cursor: default !important;
1667
+ font-size: 12px;
1668
+ padding: 10px;
1669
+ border-bottom: 1px solid var(--ush-grouping-panel-border-bc);
1670
+ }
1671
+
1672
+ .ush-grouping-drag-preview {
1673
+ background: white;
1674
+ border: 1px solid #ccc;
1675
+ padding: 4px 8px;
1676
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
1677
+ border-radius: 4px;
1678
+ font-size: 12px;
1679
+ display: flex;
1680
+ gap: 2px;
1681
+ align-items: center;
1682
+ justify-content: center;
1683
+ }
1684
+
1685
+ .ush-grouping-panel .grouped-col-container {
1686
+ display: flex;
1687
+ gap: 5px;
1688
+ }
1689
+
1690
+ .ush-grouping-panel .grouped-col {
1691
+ padding: 5px;
1692
+ border: 1px solid gray;
1693
+ /* background-color: lightgray; */
1694
+ border-radius: 4px;
1695
+ display: flex;
1696
+ align-items: center;
1697
+ justify-content: center;
1698
+ gap: 5px;
1699
+ transition:
1700
+ transform 200ms ease,
1701
+ opacity 150ms ease;
1702
+ will-change: transform;
1703
+ transform: translateZ(0);
1704
+ backface-visibility: hidden;
1705
+ }
1706
+
1707
+ .ush-grouping-panel .grouped-col:hover {
1708
+ background-color: silver;
1709
+ cursor: pointer;
1710
+ }
1711
+
1712
+ .ush-grouping-panel .grouped-col:focus {
1713
+ outline: 1px solid black;
1714
+ transition: outline 0.2s ease-in-out;
1715
+ }
1716
+
1717
+ .ush-grouping-panel .grouped-col.drag-active {
1718
+ pointer-events: none;
1719
+ }
1720
+
1721
+ .grouped-col.drag-placeholder {
1722
+ opacity: 0.4;
1723
+ border: 1px dashed black;
1724
+ }
1725
+
1726
+ .ush-group-row {
1727
+ background: #f5f5f5;
1728
+ font-weight: bold;
1729
+ }
1730
+
1731
+ .ush-group-content {
1732
+ display: flex;
1733
+ align-items: center;
1734
+ height: 100%;
1735
+ }
1736
+
1737
+ .ush-group-toggle {
1738
+ margin-right: 6px;
1739
+ cursor: pointer;
1740
+ transition: transform 200ms ease;
1741
+ }
1742
+
1743
+ .ush-group-toggle:hover {
1744
+ background-color: gainsboro;
1745
+ }
1746
+
1747
+ .ush-group-toggle svg,
1748
+ .grouped-col svg {
1749
+ width: 18px;
1750
+ height: 18px;
1751
+ }
1752
+
1753
+ .ush-group-label {
1754
+ font-size: 12px;
1755
+ }
1756
+
1757
+ .ush-group-row:not(.collapsed) .ush-group-toggle {
1758
+ transform: rotate(90deg);
1759
+ }
1760
+
1761
+ .ush-sticky-group-header {
1762
+ position: absolute;
1763
+ top: 0; /* will be set to the height of the header */
1764
+ left: 0;
1765
+ right: 0;
1766
+ z-index: 10;
1767
+ background: #f5f5f5;
1768
+ font-weight: bold;
1769
+ cursor: pointer;
1770
+ border-top: 1px solid #d0d0d0;
1771
+ overflow-x: clip;
1772
+ }
1773
+
1774
+ .ush-sticky-inner-scroll {
1775
+ display: flex;
1776
+ flex-direction: column;
1777
+ overflow: hidden;
1778
+ width: 100%;
1779
+ height: 100%;
1780
+ }
1781
+
1782
+ .ush-sticky-inner-scroll .ush-row {
1783
+ position: relative;
1784
+ }
1785
+
1786
+ .ush-sticky-group-header .ush-pinned-left {
1787
+ position: sticky;
1788
+ left: 0;
1789
+ z-index: 3;
1790
+ box-shadow: 1px 0 1px rgba(0, 0, 0, 0.15);
1791
+ display: flex;
1792
+ flex-direction: column;
1793
+ flex: 0 0 auto;
1794
+ }
1795
+
1796
+ .ush-sticky-group-header .ush-pinned-right {
1797
+ position: sticky;
1798
+ right: 0;
1799
+ z-index: 3;
1800
+ box-shadow: -2px 0 1px rgba(0, 0, 0, 0.15);
1801
+ display: flex;
1802
+ flex-direction: column;
1803
+ flex: 0 0 auto;
1804
+ }
1805
+
1806
+ .ush-group-row-standalone {
1807
+ width: calc(100% - 1px);
1808
+ }
1809
+
1810
+ .ush-group-row-standalone .ush-cell:first-child {
1811
+ overflow: visible;
1812
+ }
1813
+
1814
+ .ush-group-row-standalone .ush-cell:not(:last-child) {
1815
+ border-right: none;
1816
+ }
1817
+
1818
+ .ush-group-row-standalone .ush-cell.checkbox-col {
1819
+ border-right: 1px solid #d0d0d0;
1820
+ }
1821
+
1822
+ .ush-group-footer {
1823
+ background: #fafafa;
1824
+ color: #555;
1825
+ font-size: 0.9em;
1826
+ font-weight: normal;
1827
+ }
1828
+
1829
+ .ush-pager {
1830
+ background-color: var(--ush-grid-pager-bg);
1831
+ padding: 4px;
1832
+ display: flex !important;
1833
+ height: calc(var(--ush-spacing) * 9);
1834
+ border-top: 1px solid var(--ush-grid-pager-border-tc);
1835
+ }
1836
+
1837
+ .ush-pager .container {
1838
+ display: flex;
1839
+ width: 100%;
1840
+ align-items: center;
1841
+ }
1842
+
1843
+ .ush-pager .pages {
1844
+ display: flex;
1845
+ align-items: center;
1846
+ }
1847
+
1848
+ .ush-pager .page-numbers {
1849
+ display: flex;
1850
+ flex-direction: row;
1851
+ }
1852
+
1853
+ .ush-pager .ush-icon {
1854
+ cursor: pointer;
1855
+ display: block;
1856
+ color: var(--ush-grid-pager-page-tc);
1857
+ }
1858
+
1859
+ .ush-pager .ush-icon:hover {
1860
+ background-color: var(--ush-grid-pager-page-bg-hover);
1861
+ }
1862
+
1863
+ .ush-pager .pages span {
1864
+ cursor: pointer;
1865
+ font-size: var(--ush-text-xs);
1866
+ font-family: var(--ush-font-mono);
1867
+ border-radius: 4px;
1868
+ width: var(--ush-spacing-6);
1869
+ height: var(--ush-spacing-6);
1870
+ display: flex;
1871
+ align-items: center;
1872
+ justify-content: center;
1873
+ color: var(--ush-grid-pager-page-tc);
1874
+ }
1875
+
1876
+ .ush-pager .pages span:not(.active):hover {
1877
+ background-color: var(--ush-grid-pager-page-bg-hover);
1878
+ color: var(--ush-grid-pager-page-tc-hover);
1879
+ }
1880
+
1881
+ .ush-pager span.active {
1882
+ background-color: var(--ush-grid-pager-active-bg);
1883
+ color: var(--ush-grid-pager-active-tc);
1884
+ }
1885
+
1886
+ .ush-pager span.active:hover {
1887
+ background-color: var(--ush-grid-pager-active-bg-hover);
1888
+ }
1889
+
1890
+ .ush-pager .ush-icon.ush-disabled {
1891
+ color: #aaa;
1892
+ cursor: not-allowed;
1893
+ pointer-events: none;
1894
+ opacity: 0.6;
1895
+ }
1896
+
1897
+ .ush-pager .record-numbers {
1898
+ margin-left: auto;
1899
+ font-size: var(--ush-text-xs);
1900
+ display: flex;
1901
+ gap: 5px;
1902
+ }
1903
+
1904
+ .ush-pager .record-numbers .numb {
1905
+ color: var(--ush-grid-pager-total-numb-tc);
1906
+ font-family: var(--ush-font-mono);
1907
+ }
1908
+
1909
+ .ush-pager .record-numbers .text {
1910
+ color: var(--ush-grid-pager-total-text-tc);
1911
+ font-family: var(--ush-font-sans);
1912
+ }
1913
+
1914
+ .ush-pager .page-sizes {
1915
+ font-size: var(--ush-text-xs);
1916
+ color: var(--ush-grid-pager-page-size-tc);
1917
+ font-family: var(--ush-font-sans);
1918
+ }
1919
+
1920
+ .ush-pager .page-sizes select {
1921
+ font-size: 12px;
1922
+ margin-left: 10px;
1923
+ outline-style: none;
1924
+ color: var(--ush-grid-pager-select-tc);
1925
+ background-color: var(--ush-grid-pager-select-bg);
1926
+ border: 1px solid var(--ush-grid-pager-select-bc);
1927
+ border-radius: var(--ush-radius-sm);
1928
+ cursor: pointer;
1929
+ height: calc(var(--ush-spacing) * 6);
1930
+ font-family: var(--ush-font-mono);
1931
+ padding-left: var(--ush-spacing-2);
1932
+ padding-right: var(--ush-spacing-6);
1933
+ }
1934
+
1935
+ .ush-pager .page-sizes span {
1936
+ padding-left: 5px;
1937
+ }
1938
+
1939
+ .ush-pager .active-frame {
1940
+ position: absolute;
1941
+ border-radius: 4px;
1942
+ pointer-events: none;
1943
+ }
1944
+
1945
+ .ush-pager .separator {
1946
+ width: 1px;
1947
+ background-color: var(--ush-grid-pager-separator-bg);
1948
+ height: calc(var(--ush-spacing) * 5);
1949
+ margin: 0 10px;
1950
+ }
1951
+
1952
+ .ush-row.selected {
1953
+ background-color: #e6f2ff;
1954
+ border-color: #99caff;
1955
+ }
1956
+
1957
+ .ush-row.selected:hover {
1958
+ background-color: #d9ecff;
1959
+ }
1960
+
1961
+ .ush-selection-overlay,
1962
+ .ush-selection-overlay-left,
1963
+ .ush-selection-overlay-right,
1964
+ .ush-selection-overlay-new-row,
1965
+ .ush-selection-overlay-left-new-row,
1966
+ .ush-selection-overlay-right-new-row {
1967
+ position: absolute;
1968
+ top: 0;
1969
+ left: 0;
1970
+ width: 100%;
1971
+ height: 100%;
1972
+ pointer-events: none;
1973
+ overflow: hidden;
1974
+ z-index: 2;
1975
+ }
1976
+
1977
+ .ush-selection-rect,
1978
+ .ush-active-cell {
1979
+ position: absolute;
1980
+ pointer-events: none;
1981
+ box-sizing: border-box;
1982
+ }
1983
+
1984
+ .ush-selection-hidden {
1985
+ border: none !important;
1986
+ background: none !important;
1987
+ }
1988
+
1989
+ .ush-selection-rect-visible {
1990
+ border: 2px solid #1a73e8;
1991
+ background: rgba(26, 115, 232, 0.12);
1992
+ }
1993
+
1994
+ .ush-active-cell-visible {
1995
+ border: 2px solid #1a73e8;
1996
+ background: transparent;
1997
+ }
1998
+
1999
+ .ush-selection-overlay-new-row,
2000
+ .ush-selection-overlay-left-new-row,
2001
+ .ush-selection-overlay-right-new-row {
2002
+ border-top: 1px solid #d0d0d0;
2003
+ }
2004
+
2005
+ .ush-selection-rect-ants {
2006
+ position: absolute;
2007
+ box-sizing: border-box;
2008
+ pointer-events: none;
2009
+ background: rgba(26, 115, 232, 0.12);
2010
+ }
2011
+
2012
+ .ush-selection-rect-ants,
2013
+ .ush-active-cell-ants {
2014
+ border: none !important;
2015
+ position: absolute;
2016
+ box-sizing: border-box;
2017
+ pointer-events: none;
2018
+ background: rgba(26, 115, 232, 0.12);
2019
+
2020
+ background-image:
2021
+ repeating-linear-gradient(
2022
+ to right,
2023
+ #1a73e8 0,
2024
+ #1a73e8 4px,
2025
+ transparent 4px,
2026
+ transparent 8px
2027
+ ),
2028
+ repeating-linear-gradient(
2029
+ to bottom,
2030
+ #1a73e8 0,
2031
+ #1a73e8 4px,
2032
+ transparent 4px,
2033
+ transparent 8px
2034
+ ),
2035
+ repeating-linear-gradient(
2036
+ to right,
2037
+ #1a73e8 0,
2038
+ #1a73e8 4px,
2039
+ transparent 4px,
2040
+ transparent 8px
2041
+ ),
2042
+ repeating-linear-gradient(
2043
+ to bottom,
2044
+ #1a73e8 0,
2045
+ #1a73e8 4px,
2046
+ transparent 4px,
2047
+ transparent 8px
2048
+ );
2049
+
2050
+ background-size:
2051
+ 100% 2px,
2052
+ 2px 100%,
2053
+ 100% 2px,
2054
+ 2px 100%;
2055
+
2056
+ background-position:
2057
+ 0 0,
2058
+ 100% 0,
2059
+ 0 100%,
2060
+ 0 0;
2061
+
2062
+ background-repeat: no-repeat;
2063
+
2064
+ animation: ush-ants 0.3s linear infinite;
2065
+ }
2066
+
2067
+ @keyframes ush-ants {
2068
+ from {
2069
+ background-position:
2070
+ 0 0,
2071
+ 100% 0,
2072
+ 0 100%,
2073
+ 0 0;
2074
+ }
2075
+ to {
2076
+ background-position:
2077
+ 8px 0,
2078
+ 100% 8px,
2079
+ -8px 100%,
2080
+ 0 -8px;
2081
+ }
2082
+ }
2083
+
2084
+ .ush-cell.ush-checkbox,
2085
+ .ush-header-cell-content.ush-checkbox {
2086
+ display: flex;
2087
+ justify-content: center;
2088
+ }
2089
+
2090
+ .ush-statusbar {
2091
+ display: flex;
2092
+ height: 40px;
2093
+ background-color: var(--ush-grid-statusbar-bg);
2094
+ font-size: 12px;
2095
+ padding: 5px;
2096
+ border-top: 1px solid var(--ush-grid-statusbar-border-tc);
2097
+ }
2098
+
2099
+ .ush-status-item {
2100
+ padding: 4px;
2101
+ }
2102
+
2103
+ .ush-statusbar .text {
2104
+ font-family: var(--ush-font-display);
2105
+ color: var(--ush-grid-statusbar-text-tc);
2106
+ font-weight: var(--ush-font-weight-semibold);
2107
+ }
2108
+
2109
+ .ush-statusbar .numb {
2110
+ font-family: var(--ush-font-mono);
2111
+ color: var(--ush-grid-statusbar-numb-tc);
2112
+ }
2113
+
2114
+ .ush-toolbar {
2115
+ display: flex;
2116
+ height: 40px;
2117
+ background-color: var(--ush-grid-toolbar);
2118
+ cursor: default !important;
2119
+ font-size: 12px;
2120
+ padding: 5px 10px 5px 10px;
2121
+ border-bottom: 1px solid var(--ush-grid-toolbar-border-bc);
2122
+ }
2123
+
2124
+ .ush-toolbar .container {
2125
+ display: flex;
2126
+ align-items: center;
2127
+ width: 100%;
2128
+ gap: 5px;
2129
+ }
2130
+
2131
+ .ush-toolbar .container > :not(ush-spacer) {
2132
+ flex: 0 0 auto; /* never grow, never shrink */
2133
+ display: inline-flex;
2134
+ align-items: center;
2135
+ vertical-align: middle;
2136
+ }
2137
+
2138
+ .ush-spacer {
2139
+ flex: 1 1 auto; /* grow to fill space */
2140
+ min-width: 0; /* allow shrinking if needed */
2141
+ }
2142
+
2143
+ .ush-spacer-sized {
2144
+ flex: 0 0 auto; /* fixed-size spacer */
2145
+ }
2146
+
2147
+ .ush-cell-editor {
2148
+ width: 0;
2149
+ min-width: 100%;
2150
+ padding: 0;
2151
+ font-size: inherit;
2152
+ font-family: inherit;
2153
+ line-height: inherit;
2154
+ position: relative;
2155
+ }
2156
+
2157
+ input[type="text"].ush-cell-editor,
2158
+ input[type="date"].ush-cell-editor,
2159
+ input[type="checkbox"].ush-cell-editor {
2160
+ border: none;
2161
+ background-color: #e8f0fe;
2162
+ }
2163
+
2164
+ input[type="checkbox"].ush-cell-editor {
2165
+ min-width: 0;
2166
+ background: var(--ush-cbx-bg);
2167
+ border: 1px solid var(--ush-cbx-bc);
2168
+ width: calc(var(--ush-spacing-4) * 0.875);
2169
+ height: calc(var(--ush-spacing-4) * 0.875);
2170
+ }
2171
+
2172
+ input[type="checkbox"].ush-cell-editor::after {
2173
+ width: calc(var(--ush-spacing-4) * 0.875);
2174
+ height: calc(var(--ush-spacing-4) * 0.875);
2175
+ }
2176
+
2177
+ input[type="checkbox"]:checked.ush-cell-editor {
2178
+ background: var(--ush-cbx-checked-bg);
2179
+ border-color: var(--ush-cbx-checked-bc);
2180
+ color: var(--ush-cbx-checked-tc);
2181
+ }
2182
+
2183
+ input[type="text"].ush-cell-editor:focus-visible,
2184
+ input[type="date"].ush-cell-editor:focus-visible,
2185
+ input[type="checkbox"].ush-cell-editor:focus-visible {
2186
+ outline: none;
2187
+ }
2188
+
2189
+ .ush-cell:has(input[type="checkbox"]) {
2190
+ display: flex;
2191
+ justify-content: center;
2192
+ }
2193
+
2194
+ .ush-cell:has(.ush-cell-editor) {
2195
+ background-color: #e8f0fe;
2196
+ }
2197
+
2198
+ .ush-cell:has(.ush-cell-editor-invalid) {
2199
+ background-color: #fdecea;
2200
+ }
2201
+
2202
+ input.ush-cell-editor.ush-cell-editor-invalid {
2203
+ background-color: #fdecea !important;
2204
+ }
2205
+
2206
+ .ush-active-cell.ush-cell-editor-invalid {
2207
+ border: 2px solid #d93025;
2208
+ }
2209
+
2210
+ .ush-new-row {
2211
+ height: 20px;
2212
+ display: flex;
2213
+ align-items: center;
2214
+ position: relative;
2215
+ flex: 0 0 auto;
2216
+ }
2217
+
2218
+ .ush-new-row-viewport {
2219
+ overflow: hidden;
2220
+ flex: 0 0 auto;
2221
+ background: #f0f0f0;
2222
+ display: flex;
2223
+ position: relative;
2224
+ }
2225
+
2226
+ .ush-new-row .ush-cell {
2227
+ height: inherit;
2228
+ }