nexa-ui-kit 0.11.6 → 0.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/NAlert.js +2 -14
- package/dist/components/NAlert.nexa +3 -14
- package/dist/components/NAutocomplete.js +1 -1
- package/dist/components/NAutocomplete.nexa +2 -1
- package/dist/components/NAvatar.js +0 -5
- package/dist/components/NAvatar.nexa +1 -5
- package/dist/components/NBadge.js +0 -6
- package/dist/components/NBadge.nexa +1 -6
- package/dist/components/NBottomSheet.js +0 -5
- package/dist/components/NBottomSheet.nexa +1 -5
- package/dist/components/NButton.js +219 -296
- package/dist/components/NButton.nexa +241 -320
- package/dist/components/NCard.js +39 -82
- package/dist/components/NCard.nexa +27 -71
- package/dist/components/NCheckbox.js +74 -63
- package/dist/components/NCheckbox.nexa +64 -44
- package/dist/components/NChips.nexa +1 -0
- package/dist/components/NDataTable.js +300 -356
- package/dist/components/NDataTable.nexa +265 -320
- package/dist/components/NDatepicker.js +4 -25
- package/dist/components/NDatepicker.nexa +5 -25
- package/dist/components/NForm.nexa +1 -0
- package/dist/components/NFormField.js +0 -5
- package/dist/components/NFormField.nexa +1 -5
- package/dist/components/NImage.js +1 -6
- package/dist/components/NImage.nexa +2 -6
- package/dist/components/NInput.js +96 -263
- package/dist/components/NInput.nexa +89 -259
- package/dist/components/NInputNumber.nexa +1 -1
- package/dist/components/NModal.js +1 -118
- package/dist/components/NModal.nexa +2 -119
- package/dist/components/NMultiSelect.js +1 -1
- package/dist/components/NMultiSelect.nexa +2 -1
- package/dist/components/NPaginator.js +1 -11
- package/dist/components/NPaginator.nexa +2 -11
- package/dist/components/NPassword.nexa +1 -0
- package/dist/components/NProgressBar.js +0 -11
- package/dist/components/NProgressBar.nexa +1 -11
- package/dist/components/NRadio.js +1 -8
- package/dist/components/NRadio.nexa +2 -8
- package/dist/components/NScrollView.js +0 -6
- package/dist/components/NScrollView.nexa +1 -6
- package/dist/components/NSelect.js +7 -35
- package/dist/components/NSelect.nexa +8 -35
- package/dist/components/NSkeleton.js +3 -9
- package/dist/components/NSkeleton.nexa +4 -9
- package/dist/components/NSwitch.js +0 -6
- package/dist/components/NSwitch.nexa +1 -6
- package/dist/components/NTabs.js +0 -11
- package/dist/components/NTabs.nexa +1 -11
- package/dist/components/NTag.js +1 -11
- package/dist/components/NTag.nexa +2 -11
- package/dist/components/NToastContainer.js +3 -27
- package/dist/components/NToastContainer.nexa +4 -27
- package/dist/components/NTooltip.js +0 -13
- package/dist/components/NTooltip.nexa +1 -13
- package/dist/components/NTreeMenu.js +1 -21
- package/dist/components/NTreeMenu.nexa +2 -21
- package/dist/components/NVirtualList.js +0 -2
- package/dist/components/NVirtualList.nexa +1 -2
- package/dist/styles/tokens.css +82 -173
- package/package.json +5 -5
- package/src/components/NAlert.nexa +3 -14
- package/src/components/NAutocomplete.nexa +2 -1
- package/src/components/NAvatar.nexa +1 -5
- package/src/components/NBadge.nexa +1 -6
- package/src/components/NBottomSheet.nexa +1 -5
- package/src/components/NButton.nexa +241 -320
- package/src/components/NCard.nexa +27 -71
- package/src/components/NCheckbox.nexa +64 -44
- package/src/components/NChips.nexa +1 -0
- package/src/components/NDataTable.nexa +265 -320
- package/src/components/NDatepicker.nexa +5 -25
- package/src/components/NForm.nexa +1 -0
- package/src/components/NFormField.nexa +1 -5
- package/src/components/NImage.nexa +2 -6
- package/src/components/NInput.nexa +89 -259
- package/src/components/NInputNumber.nexa +1 -1
- package/src/components/NModal.nexa +2 -119
- package/src/components/NMultiSelect.nexa +2 -1
- package/src/components/NPaginator.nexa +2 -11
- package/src/components/NPassword.nexa +1 -0
- package/src/components/NProgressBar.nexa +1 -11
- package/src/components/NRadio.nexa +2 -8
- package/src/components/NScrollView.nexa +1 -6
- package/src/components/NSelect.nexa +8 -35
- package/src/components/NSkeleton.nexa +4 -9
- package/src/components/NSwitch.nexa +1 -6
- package/src/components/NTabs.nexa +1 -11
- package/src/components/NTag.nexa +2 -11
- package/src/components/NToastContainer.nexa +4 -27
- package/src/components/NTooltip.nexa +1 -13
- package/src/components/NTreeMenu.nexa +2 -21
- package/src/components/NVirtualList.nexa +1 -2
- package/src/styles/tokens.css +82 -173
|
@@ -212,324 +212,269 @@ const startResize = (e) => { if (!props.resizableColumns) return; const field =
|
|
|
212
212
|
</tbody>
|
|
213
213
|
</table>
|
|
214
214
|
</div>
|
|
215
|
-
<div v-if="paginator" class="n-dt-paginator-wrap">
|
|
216
|
-
<NPaginator :first="internalFirst.value" :rows="internalRows.value" :totalRecords="totalRecords.value" :rowsPerPageOptions="rowsPerPageOptions" @page="onPage" />
|
|
217
|
-
</div>
|
|
218
|
-
</div>
|
|
219
|
-
</template>
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
border
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
.n-dt.is-grid {
|
|
231
|
-
border-color: var(--n-color-border);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.n-dt.is-grid .n-dt-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
.
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
.n-dt-
|
|
273
|
-
width: 100%;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
.n-dt-th.is-
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
.n-dt-th.is-
|
|
315
|
-
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
.
|
|
364
|
-
color: var(--n-color-
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
.n-dt-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
.n-dt-
|
|
413
|
-
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.n-dt-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
.n-dt-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
.n-dt-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
align-items: center;
|
|
481
|
-
justify-content: center;
|
|
482
|
-
padding: 0;
|
|
483
|
-
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
484
|
-
color: transparent;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.n-dt-selectbox.is-checked {
|
|
488
|
-
background: var(--n-color-primary);
|
|
489
|
-
border-color: var(--n-color-primary);
|
|
490
|
-
color: white;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.n-dt-selectbox:hover:not(.is-checked) {
|
|
494
|
-
border-color: var(--n-color-primary);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.n-dt-selectbox.is-checked svg {
|
|
498
|
-
animation: n-dt-check-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
@keyframes n-dt-check-pop {
|
|
502
|
-
0% { transform: scale(0); }
|
|
503
|
-
50% { transform: scale(1.15); }
|
|
504
|
-
100% { transform: scale(1); }
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.n-dt-empty-row .n-dt-empty {
|
|
508
|
-
padding: 2rem 1rem;
|
|
509
|
-
text-align: center;
|
|
510
|
-
color: var(--n-color-text-muted);
|
|
511
|
-
font-size: var(--n-text-sm);
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
.n-dt-sm .n-dt-th,
|
|
515
|
-
.n-dt-sm .n-dt-td {
|
|
516
|
-
padding: 0.4rem 0.6rem;
|
|
517
|
-
font-size: var(--n-text-xs);
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.n-dt-lg .n-dt-th,
|
|
521
|
-
.n-dt-lg .n-dt-td {
|
|
522
|
-
padding: 0.85rem 1rem;
|
|
523
|
-
font-size: var(--n-text-base);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.n-dt-paginator-wrap {
|
|
527
|
-
border-top: 1px solid var(--n-color-border);
|
|
528
|
-
background: var(--n-color-surface-alt, var(--n-color-surface));
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.n-dt-paginator-wrap :deep(.n-paginator) {
|
|
532
|
-
border-top: none;
|
|
533
|
-
background: transparent;
|
|
534
|
-
}
|
|
215
|
+
<div v-if="paginator" class="n-dt-paginator-wrap">
|
|
216
|
+
<NPaginator :first="internalFirst.value" :rows="internalRows.value" :totalRecords="totalRecords.value" :rowsPerPageOptions="rowsPerPageOptions" @page="onPage" />
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
</template>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<style scoped>
|
|
223
|
+
.n-dt {
|
|
224
|
+
border: 1px solid var(--n-color-border);
|
|
225
|
+
border-radius: var(--n-radius-lg);
|
|
226
|
+
background: var(--n-color-surface);
|
|
227
|
+
overflow: hidden;
|
|
228
|
+
font-family: var(--n-font-sans);
|
|
229
|
+
}
|
|
230
|
+
.n-dt.is-grid {
|
|
231
|
+
border-color: var(--n-color-border);
|
|
232
|
+
}
|
|
233
|
+
.n-dt.is-grid .n-dt-th,
|
|
234
|
+
.n-dt.is-grid .n-dt-td {
|
|
235
|
+
border: 1px solid var(--n-color-border);
|
|
236
|
+
}
|
|
237
|
+
.n-dt-toolbar {
|
|
238
|
+
display: flex;
|
|
239
|
+
align-items: center;
|
|
240
|
+
justify-content: space-between;
|
|
241
|
+
padding: 0.75rem 1rem;
|
|
242
|
+
border-bottom: 1px solid var(--n-color-border);
|
|
243
|
+
}
|
|
244
|
+
.n-dt-global {
|
|
245
|
+
display: flex;
|
|
246
|
+
align-items: center;
|
|
247
|
+
gap: 0.5rem;
|
|
248
|
+
color: var(--n-color-text-muted);
|
|
249
|
+
}
|
|
250
|
+
.n-dt-global-input {
|
|
251
|
+
width: 260px;
|
|
252
|
+
max-width: 100%;
|
|
253
|
+
background: transparent;
|
|
254
|
+
border: 1px solid var(--n-color-border);
|
|
255
|
+
border-radius: var(--n-radius-md);
|
|
256
|
+
padding: 0.45rem 0.75rem;
|
|
257
|
+
color: var(--n-color-text);
|
|
258
|
+
font-size: var(--n-text-sm);
|
|
259
|
+
outline: none;
|
|
260
|
+
box-sizing: border-box;
|
|
261
|
+
transition: border-color var(--n-transition-fast), box-shadow var(--n-transition-fast);
|
|
262
|
+
}
|
|
263
|
+
.n-dt-global-input:focus {
|
|
264
|
+
border-color: var(--n-color-primary);
|
|
265
|
+
box-shadow: var(--n-ring-primary);
|
|
266
|
+
}
|
|
267
|
+
.n-dt-wrapper {
|
|
268
|
+
width: 100%;
|
|
269
|
+
overflow: auto;
|
|
270
|
+
border-radius: inherit;
|
|
271
|
+
}
|
|
272
|
+
.n-dt-table {
|
|
273
|
+
width: 100%;
|
|
274
|
+
border-collapse: collapse;
|
|
275
|
+
table-layout: fixed;
|
|
276
|
+
}
|
|
277
|
+
.n-dt-thead {
|
|
278
|
+
background-color: var(--n-color-surface-alt);
|
|
279
|
+
}
|
|
280
|
+
.n-dt-th {
|
|
281
|
+
position: relative;
|
|
282
|
+
padding: 0.75rem 1rem;
|
|
283
|
+
border-bottom: 1px solid var(--n-color-border);
|
|
284
|
+
color: var(--n-color-text);
|
|
285
|
+
font-size: var(--n-text-sm);
|
|
286
|
+
font-weight: 600;
|
|
287
|
+
user-select: none;
|
|
288
|
+
vertical-align: middle;
|
|
289
|
+
text-align: left;
|
|
290
|
+
background: var(--n-color-surface-alt);
|
|
291
|
+
transition: background-color var(--n-transition-fast);
|
|
292
|
+
}
|
|
293
|
+
.n-dt-th.is-sortable {
|
|
294
|
+
cursor: pointer;
|
|
295
|
+
}
|
|
296
|
+
.n-dt-th.is-sortable:hover {
|
|
297
|
+
background-color: var(--n-color-surface-hover);
|
|
298
|
+
}
|
|
299
|
+
.n-dt-th.is-right {
|
|
300
|
+
text-align: right;
|
|
301
|
+
}
|
|
302
|
+
.n-dt-th.is-center {
|
|
303
|
+
text-align: center;
|
|
304
|
+
}
|
|
305
|
+
.n-dt-th.is-selection {
|
|
306
|
+
width: 3rem;
|
|
307
|
+
text-align: center;
|
|
308
|
+
}
|
|
309
|
+
.n-dt-th-content {
|
|
310
|
+
display: flex;
|
|
311
|
+
align-items: center;
|
|
312
|
+
gap: 0.5rem;
|
|
313
|
+
}
|
|
314
|
+
.n-dt-th.is-right .n-dt-th-content {
|
|
315
|
+
justify-content: flex-end;
|
|
316
|
+
}
|
|
317
|
+
.n-dt-th.is-center .n-dt-th-content {
|
|
318
|
+
justify-content: center;
|
|
319
|
+
}
|
|
320
|
+
.n-dt-th-text {
|
|
321
|
+
overflow: hidden;
|
|
322
|
+
text-overflow: ellipsis;
|
|
323
|
+
white-space: nowrap;
|
|
324
|
+
letter-spacing: normal;
|
|
325
|
+
}
|
|
326
|
+
.n-dt-sort {
|
|
327
|
+
display: inline-flex;
|
|
328
|
+
flex-direction: column;
|
|
329
|
+
align-items: center;
|
|
330
|
+
gap: 0;
|
|
331
|
+
line-height: 1;
|
|
332
|
+
margin-left: auto;
|
|
333
|
+
flex-shrink: 0;
|
|
334
|
+
}
|
|
335
|
+
.n-dt-sort-arrow {
|
|
336
|
+
display: block;
|
|
337
|
+
color: var(--n-color-text-muted);
|
|
338
|
+
transition: color var(--n-transition-fast);
|
|
339
|
+
margin: -3px 0;
|
|
340
|
+
}
|
|
341
|
+
.n-dt-sort-arrow-up.is-on,
|
|
342
|
+
.n-dt-sort-arrow-down.is-on {
|
|
343
|
+
color: var(--n-color-primary);
|
|
344
|
+
}
|
|
345
|
+
.n-dt-th.is-sortable:hover .n-dt-sort-arrow:not(.is-on) {
|
|
346
|
+
color: var(--n-color-text);
|
|
347
|
+
}
|
|
348
|
+
.n-dt-resizer {
|
|
349
|
+
position: absolute;
|
|
350
|
+
right: 0;
|
|
351
|
+
top: 0;
|
|
352
|
+
bottom: 0;
|
|
353
|
+
width: 4px;
|
|
354
|
+
cursor: col-resize;
|
|
355
|
+
background: transparent;
|
|
356
|
+
transition: background-color var(--n-transition-fast);
|
|
357
|
+
}
|
|
358
|
+
.n-dt-resizer:hover {
|
|
359
|
+
background-color: var(--n-color-primary);
|
|
360
|
+
}
|
|
361
|
+
.n-dt-filter-row .n-dt-th {
|
|
362
|
+
border-bottom: 1px solid var(--n-color-border);
|
|
363
|
+
padding: 0.5rem 1rem;
|
|
364
|
+
background-color: var(--n-color-surface-alt);
|
|
365
|
+
}
|
|
366
|
+
.n-dt-filter {
|
|
367
|
+
width: 100%;
|
|
368
|
+
max-width: 100%;
|
|
369
|
+
display: block;
|
|
370
|
+
background: var(--n-color-surface);
|
|
371
|
+
border: 1px solid var(--n-color-border);
|
|
372
|
+
border-radius: var(--n-radius-sm);
|
|
373
|
+
padding: 0.375rem 0.5rem;
|
|
374
|
+
color: var(--n-color-text);
|
|
375
|
+
font-size: var(--n-text-xs);
|
|
376
|
+
outline: none;
|
|
377
|
+
box-sizing: border-box;
|
|
378
|
+
transition: border-color var(--n-transition-fast), box-shadow var(--n-transition-fast);
|
|
379
|
+
}
|
|
380
|
+
.n-dt-filter:focus {
|
|
381
|
+
border-color: var(--n-color-primary);
|
|
382
|
+
box-shadow: var(--n-ring-primary);
|
|
383
|
+
}
|
|
384
|
+
.n-dt-tbody .n-dt-row {
|
|
385
|
+
background-color: var(--n-color-surface);
|
|
386
|
+
transition: background-color var(--n-transition-fast), color var(--n-transition-fast);
|
|
387
|
+
}
|
|
388
|
+
.n-dt-tbody .n-dt-row.is-hover:hover {
|
|
389
|
+
background-color: var(--n-color-surface-hover);
|
|
390
|
+
}
|
|
391
|
+
.n-dt-tbody .n-dt-row.is-selected {
|
|
392
|
+
background-color: var(--n-color-primary-light);
|
|
393
|
+
color: var(--n-color-primary-text);
|
|
394
|
+
}
|
|
395
|
+
.n-dt-tbody .n-dt-row.is-selected .n-dt-td {
|
|
396
|
+
color: var(--n-color-primary-active);
|
|
397
|
+
}
|
|
398
|
+
.n-dt-table.is-striped .n-dt-tbody .n-dt-row:nth-child(even) {
|
|
399
|
+
background-color: var(--n-color-surface-alt);
|
|
400
|
+
}
|
|
401
|
+
.n-dt-table.is-striped .n-dt-tbody .n-dt-row:nth-child(even).is-hover:hover {
|
|
402
|
+
background-color: var(--n-color-surface-hover);
|
|
403
|
+
}
|
|
404
|
+
.n-dt-td {
|
|
405
|
+
padding: 0.75rem 1rem;
|
|
406
|
+
border-bottom: 1px solid var(--n-color-border);
|
|
407
|
+
color: var(--n-color-text);
|
|
408
|
+
font-size: var(--n-text-sm);
|
|
409
|
+
vertical-align: middle;
|
|
410
|
+
text-align: left;
|
|
411
|
+
}
|
|
412
|
+
.n-dt-td.is-right {
|
|
413
|
+
text-align: right;
|
|
414
|
+
}
|
|
415
|
+
.n-dt-td.is-center {
|
|
416
|
+
text-align: center;
|
|
417
|
+
}
|
|
418
|
+
.n-dt-td.is-selection {
|
|
419
|
+
width: 3rem;
|
|
420
|
+
text-align: center;
|
|
421
|
+
}
|
|
422
|
+
.n-dt-selectbox {
|
|
423
|
+
width: 20px;
|
|
424
|
+
height: 20px;
|
|
425
|
+
border: 2px solid var(--n-color-border);
|
|
426
|
+
border-radius: var(--n-radius-sm);
|
|
427
|
+
background: transparent;
|
|
428
|
+
cursor: pointer;
|
|
429
|
+
display: inline-flex;
|
|
430
|
+
align-items: center;
|
|
431
|
+
justify-content: center;
|
|
432
|
+
padding: 0;
|
|
433
|
+
transition: background-color var(--n-transition-fast), border-color var(--n-transition-fast), box-shadow var(--n-transition-fast);
|
|
434
|
+
color: transparent;
|
|
435
|
+
}
|
|
436
|
+
.n-dt-selectbox.is-checked {
|
|
437
|
+
background-color: var(--n-color-primary);
|
|
438
|
+
border-color: var(--n-color-primary);
|
|
439
|
+
color: #fff;
|
|
440
|
+
}
|
|
441
|
+
.n-dt-selectbox:hover:not(.is-checked) {
|
|
442
|
+
border-color: var(--n-color-primary);
|
|
443
|
+
}
|
|
444
|
+
.n-dt-selectbox:focus-visible {
|
|
445
|
+
outline: none;
|
|
446
|
+
box-shadow: var(--n-ring-primary);
|
|
447
|
+
}
|
|
448
|
+
.n-dt-selectbox.is-checked svg {
|
|
449
|
+
animation: n-dt-check-pop 0.2s ease-out;
|
|
450
|
+
}
|
|
451
|
+
@keyframes n-dt-check-pop {
|
|
452
|
+
0% { transform: scale(0.5); }
|
|
453
|
+
50% { transform: scale(1.2); }
|
|
454
|
+
100% { transform: scale(1); }
|
|
455
|
+
}
|
|
456
|
+
.n-dt-empty-row .n-dt-empty {
|
|
457
|
+
padding: 2rem 1rem;
|
|
458
|
+
text-align: center;
|
|
459
|
+
color: var(--n-color-text-muted);
|
|
460
|
+
font-size: var(--n-text-sm);
|
|
461
|
+
}
|
|
462
|
+
.n-dt-sm .n-dt-th,
|
|
463
|
+
.n-dt-sm .n-dt-td {
|
|
464
|
+
padding: 0.5rem 0.75rem;
|
|
465
|
+
font-size: var(--n-text-xs);
|
|
466
|
+
}
|
|
467
|
+
.n-dt-lg .n-dt-th,
|
|
468
|
+
.n-dt-lg .n-dt-td {
|
|
469
|
+
padding: 1rem 1.25rem;
|
|
470
|
+
font-size: var(--n-text-base);
|
|
471
|
+
}
|
|
472
|
+
.n-dt-paginator-wrap {
|
|
473
|
+
border-top: 1px solid var(--n-color-border);
|
|
474
|
+
background: var(--n-color-surface-alt);
|
|
475
|
+
}
|
|
476
|
+
.n-dt-paginator-wrap :deep(.n-paginator) {
|
|
477
|
+
border-top: none;
|
|
478
|
+
background: transparent;
|
|
479
|
+
}
|
|
535
480
|
</style>
|