@navikt/ds-css 8.10.5 → 8.11.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.
- package/dist/component/alert.css +5 -1
- package/dist/component/alert.min.css +1 -1
- package/dist/component/datagridpreview.css +632 -0
- package/dist/component/datagridpreview.min.css +1 -0
- package/dist/components.css +632 -1
- package/dist/components.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +633 -2
- package/dist/index.min.css +1 -1
- package/package.json +3 -3
- package/src/alert.css +7 -3
- package/src/{data-table.css → data-grid-preview.css} +43 -29
- package/src/index.css +1 -0
package/dist/components.css
CHANGED
|
@@ -3067,7 +3067,7 @@
|
|
|
3067
3067
|
color: var(--ax-text-default);
|
|
3068
3068
|
align-items: flex-start;
|
|
3069
3069
|
gap: var(--ax-space-8);
|
|
3070
|
-
padding: var(--ax-space-
|
|
3070
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
3071
3071
|
display: flex;
|
|
3072
3072
|
}
|
|
3073
3073
|
|
|
@@ -3075,6 +3075,10 @@
|
|
|
3075
3075
|
margin-top: var(--ax-space-2);
|
|
3076
3076
|
}
|
|
3077
3077
|
|
|
3078
|
+
.aksel-base-alert[data-size="small"] .aksel-base-alert__message {
|
|
3079
|
+
padding: var(--ax-space-12) var(--ax-space-16);
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3078
3082
|
.aksel-base-alert[data-size="small"] .aksel-base-alert__message > .aksel-base-alert__icon {
|
|
3079
3083
|
margin-top: 0;
|
|
3080
3084
|
}
|
|
@@ -3520,6 +3524,633 @@
|
|
|
3520
3524
|
}
|
|
3521
3525
|
}
|
|
3522
3526
|
|
|
3527
|
+
.aksel-data-grid {
|
|
3528
|
+
flex-direction: column;
|
|
3529
|
+
flex-grow: 1;
|
|
3530
|
+
width: 100%;
|
|
3531
|
+
display: flex;
|
|
3532
|
+
overflow: hidden;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
.aksel-data-table__border-wrapper {
|
|
3536
|
+
max-height: 100%;
|
|
3537
|
+
display: flex;
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
.aksel-data-table__scroll-wrapper {
|
|
3541
|
+
scroll-timeline: --horizontal-table-scroll inline;
|
|
3542
|
+
width: 100%;
|
|
3543
|
+
position: relative;
|
|
3544
|
+
overflow: auto;
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
.aksel-data-table[data-layout="fixed"] {
|
|
3548
|
+
table-layout: fixed;
|
|
3549
|
+
width: 1px;
|
|
3550
|
+
min-width: 100%;
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
.aksel-data-table[data-layout="auto"] {
|
|
3554
|
+
min-width: 100%;
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
.aksel-data-table {
|
|
3558
|
+
--__axc-data-table-text-size: var(--ax-font-size-large);
|
|
3559
|
+
--__axc-data-table-density: var(--ax-space-12);
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
.aksel-data-table[data-text-size="small"] {
|
|
3563
|
+
--__axc-data-table-text-size: var(--ax-font-size-medium);
|
|
3564
|
+
}
|
|
3565
|
+
|
|
3566
|
+
.aksel-data-table[data-density="tight"] {
|
|
3567
|
+
--__axc-data-table-density: var(--ax-space-6);
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
.aksel-data-table[data-density="loose"] {
|
|
3571
|
+
--__axc-data-table-density: var(--ax-space-20);
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3574
|
+
.aksel-data-table[data-zebra-stripes="true"] .aksel-data-table__tbody :where(.aksel-data-table__tr:nth-child(odd)) {
|
|
3575
|
+
background-color: var(--ax-bg-neutral-softA);
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
.aksel-data-table__thead {
|
|
3579
|
+
background-color: var(--ax-bg-raised);
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
.aksel-data-table[data-loading="true"] .aksel-data-table__thead:after {
|
|
3583
|
+
content: "";
|
|
3584
|
+
background-color: var(--ax-bg-strong);
|
|
3585
|
+
z-index: 11;
|
|
3586
|
+
block-size: 2px;
|
|
3587
|
+
animation: 1s linear infinite animateDataTableLoading;
|
|
3588
|
+
position: absolute;
|
|
3589
|
+
inset-block-end: -2px;
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3592
|
+
.aksel-data-table__tbody {
|
|
3593
|
+
background-color: var(--ax-bg-raised);
|
|
3594
|
+
position: relative;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
.aksel-data-table__tbody[inert] {
|
|
3598
|
+
opacity: var(--ax-opacity-disabled);
|
|
3599
|
+
transition: opacity .2s cubic-bezier(.25, .46, .45, .94);
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
@starting-style {
|
|
3603
|
+
.aksel-data-table__tbody[inert] {
|
|
3604
|
+
opacity: .001;
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
.aksel-data-table__tbody[inert]:after {
|
|
3609
|
+
content: "";
|
|
3610
|
+
background-color: var(--ax-bg-overlay);
|
|
3611
|
+
z-index: 10;
|
|
3612
|
+
opacity: .2;
|
|
3613
|
+
transition: opacity .2s cubic-bezier(.25, .46, .45, .94);
|
|
3614
|
+
position: absolute;
|
|
3615
|
+
inset: 0;
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
@starting-style {
|
|
3619
|
+
.aksel-data-table__tbody[inert]:after {
|
|
3620
|
+
opacity: .001;
|
|
3621
|
+
}
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
.aksel-data-table__tr[data-selected="true"] {
|
|
3625
|
+
background-color: var(--ax-bg-softA);
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
.aksel-data-table__thead .aksel-data-table__tr[data-sticky="true"] {
|
|
3629
|
+
z-index: 3;
|
|
3630
|
+
box-shadow: 1px 1px 0 0 var(--ax-border-neutral-subtle);
|
|
3631
|
+
position: sticky;
|
|
3632
|
+
top: 0;
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3635
|
+
.aksel-data-table__border-wrapper {
|
|
3636
|
+
border-radius: var(--ax-radius-12);
|
|
3637
|
+
position: relative;
|
|
3638
|
+
overflow: hidden;
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3641
|
+
.aksel-data-table__border-wrapper:after {
|
|
3642
|
+
content: "";
|
|
3643
|
+
pointer-events: none;
|
|
3644
|
+
border: 1px solid var(--ax-border-neutral-subtle);
|
|
3645
|
+
border-radius: var(--ax-radius-12);
|
|
3646
|
+
z-index: 3;
|
|
3647
|
+
position: absolute;
|
|
3648
|
+
inset: 0;
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
.aksel-data-table {
|
|
3652
|
+
border-collapse: collapse;
|
|
3653
|
+
border-spacing: 0;
|
|
3654
|
+
border-right: 1px solid var(--ax-border-neutral-subtle);
|
|
3655
|
+
border-bottom: 1px solid var(--ax-border-neutral-subtle);
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
.aksel-data-table__thead {
|
|
3659
|
+
box-shadow: 0 1px 0 0 var(--ax-border-neutral-subtle);
|
|
3660
|
+
position: relative;
|
|
3661
|
+
}
|
|
3662
|
+
|
|
3663
|
+
@keyframes scroll-shadow-fade-start {
|
|
3664
|
+
0% {
|
|
3665
|
+
opacity: 0;
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
10%, 100% {
|
|
3669
|
+
opacity: 1;
|
|
3670
|
+
}
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3673
|
+
@keyframes scroll-shadow-fade-end {
|
|
3674
|
+
90% {
|
|
3675
|
+
opacity: 1;
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
100% {
|
|
3679
|
+
opacity: 0;
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
|
|
3683
|
+
.aksel-data-table__cell {
|
|
3684
|
+
box-shadow: inset 1px 1px 0 0 var(--ax-border-neutral-subtle);
|
|
3685
|
+
text-align: start;
|
|
3686
|
+
vertical-align: middle;
|
|
3687
|
+
scroll-margin: var(--ax-space-0);
|
|
3688
|
+
font-size: var(--__axc-data-table-text-size);
|
|
3689
|
+
padding: 0;
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
.aksel-data-table__cell:not(.aksel-data-table__column-header) {
|
|
3693
|
+
overflow: hidden;
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
.aksel-data-table__cell[data-nested="true"] {
|
|
3697
|
+
position: relative;
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
.aksel-data-table__cell[data-nested="true"] > .aksel-data-table__cell-content {
|
|
3701
|
+
margin-inline-start: calc(32px + 8px + calc(var(--__axc-data-table-nested-depth) * var(--ax-space-16)));
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
.aksel-data-table__thead .aksel-data-table__cell {
|
|
3705
|
+
background-color: var(--ax-bg-neutral-soft);
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
.aksel-data-table__cell[data-align="left"] {
|
|
3709
|
+
text-align: start;
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3712
|
+
.aksel-data-table__cell[data-align="center"] {
|
|
3713
|
+
text-align: center;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
.aksel-data-table__cell[data-align="right"] {
|
|
3717
|
+
text-align: end;
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
.aksel-data-table__cell[data-sticky] {
|
|
3721
|
+
z-index: 1;
|
|
3722
|
+
position: sticky;
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
.aksel-data-table__cell[data-sticky]:after {
|
|
3726
|
+
content: "";
|
|
3727
|
+
pointer-events: none;
|
|
3728
|
+
border-color: var(--ax-border-neutral-subtle);
|
|
3729
|
+
border-style: solid;
|
|
3730
|
+
border-width: 0;
|
|
3731
|
+
position: absolute;
|
|
3732
|
+
inset-block: 0;
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
.aksel-data-table__cell[data-sticky][data-sticky="start"] {
|
|
3736
|
+
left: 0;
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
.aksel-data-table__cell[data-sticky][data-sticky="start"][data-sticky-last]:before {
|
|
3740
|
+
content: "";
|
|
3741
|
+
pointer-events: none;
|
|
3742
|
+
width: 100%;
|
|
3743
|
+
height: 100%;
|
|
3744
|
+
box-shadow: 4px 0 8px 1px var(--ax-border-neutral-subtleA);
|
|
3745
|
+
clip-path: inset(0 -24px 0 0);
|
|
3746
|
+
opacity: 0;
|
|
3747
|
+
position: absolute;
|
|
3748
|
+
inset: 0;
|
|
3749
|
+
}
|
|
3750
|
+
|
|
3751
|
+
.aksel-data-table[data-scroll] .aksel-data-table__cell[data-sticky][data-sticky="start"][data-sticky-last]:before {
|
|
3752
|
+
opacity: 1;
|
|
3753
|
+
animation: 1s linear scroll-shadow-fade-start;
|
|
3754
|
+
animation-timeline: --horizontal-table-scroll;
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3757
|
+
.aksel-data-table__cell[data-sticky][data-sticky="start"][data-sticky-last]:after {
|
|
3758
|
+
border-right-width: 1px;
|
|
3759
|
+
inset-inline: 0 -1px;
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
.aksel-data-table__cell[data-sticky][data-sticky="end"] {
|
|
3763
|
+
right: 0;
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3766
|
+
.aksel-data-table__cell[data-sticky][data-sticky="end"]:before {
|
|
3767
|
+
content: "";
|
|
3768
|
+
pointer-events: none;
|
|
3769
|
+
width: 100%;
|
|
3770
|
+
height: 100%;
|
|
3771
|
+
box-shadow: -4px 0 8px 1px var(--ax-border-neutral-subtleA);
|
|
3772
|
+
clip-path: inset(0 0 0 -24px);
|
|
3773
|
+
opacity: 0;
|
|
3774
|
+
position: absolute;
|
|
3775
|
+
inset: 0;
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
.aksel-data-table[data-scroll] .aksel-data-table__cell[data-sticky][data-sticky="end"]:before {
|
|
3779
|
+
opacity: 1;
|
|
3780
|
+
animation: 1s linear scroll-shadow-fade-end;
|
|
3781
|
+
animation-timeline: --horizontal-table-scroll;
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3784
|
+
.aksel-data-table__cell[data-sticky] {
|
|
3785
|
+
background-color: var(--ax-bg-raised);
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
.aksel-data-table__tr[data-selected="true"] .aksel-data-table__cell[data-sticky] {
|
|
3789
|
+
background-color: var(--ax-bg-soft);
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
.aksel-data-table__thead .aksel-data-table__cell[data-sticky] {
|
|
3793
|
+
background-color: var(--ax-bg-neutral-soft);
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3796
|
+
.aksel-data-table__cell:focus-visible, .aksel-data-table__cell:has(.aksel-data-table__th-sort-button:focus) {
|
|
3797
|
+
outline: 2px solid var(--ax-border-focus);
|
|
3798
|
+
outline-offset: -4px;
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3801
|
+
.aksel-data-table__cell[data-cell-type="action"] {
|
|
3802
|
+
padding: 0;
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3805
|
+
.aksel-data-table__cell[data-cell-type="action"] > .aksel-data-table__cell-content {
|
|
3806
|
+
place-content: center;
|
|
3807
|
+
display: grid;
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3810
|
+
.aksel-data-table__cell {
|
|
3811
|
+
--__axc-data-table-pi-cell: var(--ax-space-16);
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
.aksel-data-table__cell:not([data-cell-type="action"]) > .aksel-data-table__cell-content {
|
|
3815
|
+
padding-block: var(--__axc-data-table-density);
|
|
3816
|
+
padding-inline: var(--__axc-data-table-pi-cell);
|
|
3817
|
+
overflow: hidden;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
.aksel-data-table[data-truncate-content="true"] :is(.aksel-data-table__cell:not([data-cell-type="action"]) > .aksel-data-table__cell-content) {
|
|
3821
|
+
text-overflow: ellipsis;
|
|
3822
|
+
white-space: nowrap;
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3825
|
+
.aksel-data-table__column-header {
|
|
3826
|
+
--__axc-data-table-density: var(--ax-space-8);
|
|
3827
|
+
font-weight: var(--ax-font-weight-bold);
|
|
3828
|
+
position: relative;
|
|
3829
|
+
}
|
|
3830
|
+
|
|
3831
|
+
.aksel-data-table__column-header:has(.aksel-data-table__th-sort-button:hover:not(:disabled)) {
|
|
3832
|
+
background-color: var(--ax-bg-neutral-moderate-hover);
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
.aksel-data-table__column-header:has(.aksel-data-table__th-sort-button:active:not(:disabled)) {
|
|
3836
|
+
background-color: var(--ax-bg-neutral-moderate-pressed);
|
|
3837
|
+
}
|
|
3838
|
+
|
|
3839
|
+
.aksel-data-table__column-header[data-sortable="true"] {
|
|
3840
|
+
block-size: calc(var(--__axc-data-table-density) + 1.5rem);
|
|
3841
|
+
padding: 0;
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
.aksel-data-table__th-sort-button {
|
|
3845
|
+
align-items: center;
|
|
3846
|
+
gap: var(--ax-space-2);
|
|
3847
|
+
block-size: calc(var(--__axc-data-table-density) + 1.5rem);
|
|
3848
|
+
cursor: pointer;
|
|
3849
|
+
text-align: start;
|
|
3850
|
+
width: 100%;
|
|
3851
|
+
font-weight: inherit;
|
|
3852
|
+
background-color: rgba(0, 0, 0, 0);
|
|
3853
|
+
border: none;
|
|
3854
|
+
padding: 0;
|
|
3855
|
+
display: flex;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
.aksel-data-table__th-sort-button:focus-visible {
|
|
3859
|
+
outline: none;
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
.aksel-data-table__th-sort-button:disabled {
|
|
3863
|
+
color: inherit;
|
|
3864
|
+
cursor: default;
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3867
|
+
.aksel-data-table__th-sort-icon {
|
|
3868
|
+
flex-shrink: 0;
|
|
3869
|
+
margin-left: auto;
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
.aksel-data-table__th-sort-icon[data-sort-direction="none"] {
|
|
3873
|
+
visibility: hidden;
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3876
|
+
.aksel-data-table__th-sort-button:is(:hover, :focus-visible, :focus-within):not(:disabled) .aksel-data-table__th-sort-icon {
|
|
3877
|
+
visibility: visible;
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
.aksel-data-table[data-layout="fixed"] .aksel-data-table__th-sort-icon[data-sort-direction="none"] {
|
|
3881
|
+
display: none;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
.aksel-data-table[data-layout="fixed"] .aksel-data-table__th-sort-button:is(:hover, :focus-visible, :focus-within) .aksel-data-table__th-sort-icon {
|
|
3885
|
+
display: block;
|
|
3886
|
+
}
|
|
3887
|
+
|
|
3888
|
+
.aksel-data-table__th-content {
|
|
3889
|
+
text-overflow: ellipsis;
|
|
3890
|
+
white-space: nowrap;
|
|
3891
|
+
overflow: hidden;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
.aksel-data-table__th-resize-handle {
|
|
3895
|
+
z-index: 1;
|
|
3896
|
+
cursor: col-resize;
|
|
3897
|
+
background: none;
|
|
3898
|
+
border: none;
|
|
3899
|
+
justify-content: center;
|
|
3900
|
+
width: 19px;
|
|
3901
|
+
margin: 0;
|
|
3902
|
+
padding: 0;
|
|
3903
|
+
display: flex;
|
|
3904
|
+
position: absolute;
|
|
3905
|
+
inset-block: 0;
|
|
3906
|
+
inset-inline-end: -10px;
|
|
3907
|
+
}
|
|
3908
|
+
|
|
3909
|
+
.aksel-data-table__th-resize-handle:focus-visible {
|
|
3910
|
+
outline: 2px solid var(--ax-border-focus);
|
|
3911
|
+
outline-offset: -4px;
|
|
3912
|
+
border-radius: var(--ax-radius-8);
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
.aksel-data-table__th-resize-handle:after {
|
|
3916
|
+
content: "";
|
|
3917
|
+
inset-block: 0;
|
|
3918
|
+
border-radius: var(--ax-radius-full);
|
|
3919
|
+
width: 3px;
|
|
3920
|
+
height: 75%;
|
|
3921
|
+
transition: background 50ms linear;
|
|
3922
|
+
position: absolute;
|
|
3923
|
+
top: 50%;
|
|
3924
|
+
transform: translateY(-50%);
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
.aksel-data-table__th-resize-handle:hover, .aksel-data-table__th-resize-handle:focus-visible, .aksel-data-table__th-resize-handle:active {
|
|
3928
|
+
z-index: 3;
|
|
3929
|
+
}
|
|
3930
|
+
|
|
3931
|
+
.aksel-data-table__th-resize-handle:hover:after {
|
|
3932
|
+
background: var(--ax-bg-strong);
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
.aksel-data-table__th-resize-handle:active:after, .aksel-data-table__th-resize-handle:focus-visible:after {
|
|
3936
|
+
background: var(--ax-bg-strong-pressed);
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3939
|
+
.aksel-data-table__column-header:last-of-type .aksel-data-table__th-resize-handle {
|
|
3940
|
+
width: 15px;
|
|
3941
|
+
inset-inline-end: 0;
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
.aksel-data-table__column-header:last-of-type .aksel-data-table__th-resize-handle:after {
|
|
3945
|
+
inset-inline-end: 0;
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
.aksel-data-table__th-resize-handle[data-active="true"] .aksel-data-table__th-resize-handle-indicator {
|
|
3949
|
+
color: var(--ax-bg-strong);
|
|
3950
|
+
height: 1.5rem;
|
|
3951
|
+
position: absolute;
|
|
3952
|
+
top: 50%;
|
|
3953
|
+
transform: translateY(-50%);
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3956
|
+
.aksel-data-table__th-resize-handle[data-active="true"] .aksel-data-table__th-resize-handle-indicator:first-child {
|
|
3957
|
+
right: 12px;
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
.aksel-data-table__th-resize-handle[data-active="true"] .aksel-data-table__th-resize-handle-indicator:last-child {
|
|
3961
|
+
left: 12px;
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
.aksel-data-table__th-resize-handle[data-active="true"]:after {
|
|
3965
|
+
background: var(--ax-bg-strong);
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
.aksel-data-table__th-resize-handle[data-active="true"]:focus-visible, .aksel-data-table__th-resize-handle[data-active="true"]:focus, .aksel-data-table__th-resize-handle[data-active="true"]:active {
|
|
3969
|
+
outline: none;
|
|
3970
|
+
}
|
|
3971
|
+
|
|
3972
|
+
.aksel-data-table__th-action-button {
|
|
3973
|
+
transition: opacity .1s ease-in-out, width .1s ease-in-out, min-width .1s ease-in-out, max-width .1s ease-in-out, padding .1s ease-in-out;
|
|
3974
|
+
}
|
|
3975
|
+
|
|
3976
|
+
.aksel-data-table__th-action-button:focus-visible {
|
|
3977
|
+
transition: none;
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3980
|
+
.aksel-data-table__th-action-button:not(.aksel-data-table__th:is(:hover, :focus-within) .aksel-data-table__th-action-button, .aksel-data-table__th-action-button:focus-visible, .aksel-data-table__th-action-button[data-expanded="true"]), .aksel-data-table__th:has(.aksel-data-table__th-resize-handle:hover:not(:focus)) .aksel-data-table__th-action-button {
|
|
3981
|
+
opacity: 0;
|
|
3982
|
+
min-width: 0;
|
|
3983
|
+
max-width: 0;
|
|
3984
|
+
padding: 0;
|
|
3985
|
+
overflow: hidden;
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
.aksel-data-table__th {
|
|
3989
|
+
scroll-margin-block: var(--ax-space-0);
|
|
3990
|
+
scroll-margin-inline: var(--ax-space-0);
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
.aksel-data-table__th:focus-visible, .aksel-data-table__th:has(.aksel-data-table__th-sort-button:focus) {
|
|
3994
|
+
outline: 2px solid var(--ax-border-focus);
|
|
3995
|
+
outline-offset: -4px;
|
|
3996
|
+
}
|
|
3997
|
+
|
|
3998
|
+
.aksel-data-table__th[data-cell-type="action"] {
|
|
3999
|
+
padding: 0;
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
.aksel-data-table__th[data-cell-type="action"] > .aksel-data-table__cell-content {
|
|
4003
|
+
place-content: center;
|
|
4004
|
+
display: grid;
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
.aksel-data-table__tfoot {
|
|
4008
|
+
background-color: var(--ax-bg-raised);
|
|
4009
|
+
}
|
|
4010
|
+
|
|
4011
|
+
.aksel-data-table__filler-cell {
|
|
4012
|
+
width: auto;
|
|
4013
|
+
padding: 0;
|
|
4014
|
+
display: table-cell;
|
|
4015
|
+
}
|
|
4016
|
+
|
|
4017
|
+
.aksel-data-table__drag-and-drop-root {
|
|
4018
|
+
margin: 0;
|
|
4019
|
+
padding: 0;
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
.aksel-data-drag-and-drop__drag-handler__button {
|
|
4023
|
+
background: none;
|
|
4024
|
+
border: none;
|
|
4025
|
+
height: 1.5rem;
|
|
4026
|
+
padding: 0;
|
|
4027
|
+
position: relative;
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
.aksel-data-drag-and-drop__drag-handler__button:hover {
|
|
4031
|
+
cursor: grab;
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
.aksel-data-drag-and-drop__drag-handler__button:focus-visible, .aksel-data-drag-and-drop__drag-handler__button[data-drag-handler-active="true"] {
|
|
4035
|
+
outline: 2px solid var(--ax-border-focus);
|
|
4036
|
+
outline-offset: -1px;
|
|
4037
|
+
border-radius: var(--ax-radius-8);
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
.aksel-data-table__drag-and-drop-item[data-overlay="true"] {
|
|
4041
|
+
opacity: .8;
|
|
4042
|
+
width: 100%;
|
|
4043
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
4044
|
+
background-color: var(--ax-bg-default);
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
.aksel-data-table__drag-and-drop-item[data-drop-target="true"]:not([data-overlay="true"]) {
|
|
4048
|
+
background: var(--ax-bg-neutral-moderate);
|
|
4049
|
+
}
|
|
4050
|
+
|
|
4051
|
+
.aksel-data-drag-and-drop__drag-handler {
|
|
4052
|
+
height: 1.5rem;
|
|
4053
|
+
position: relative;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow {
|
|
4057
|
+
background: var(--ax-bg-default);
|
|
4058
|
+
cursor: pointer;
|
|
4059
|
+
z-index: 1;
|
|
4060
|
+
border: none;
|
|
4061
|
+
border-radius: 50%;
|
|
4062
|
+
height: 1.8rem;
|
|
4063
|
+
padding: 0;
|
|
4064
|
+
position: absolute;
|
|
4065
|
+
left: 50%;
|
|
4066
|
+
transform: translate(-50%, -50%);
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow[data-direction="up"] {
|
|
4070
|
+
top: -18px;
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow[data-direction="down"] {
|
|
4074
|
+
bottom: calc(-100% - 22px);
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4077
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow:disabled {
|
|
4078
|
+
opacity: .8;
|
|
4079
|
+
cursor: not-allowed;
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
.aksel-data-table__empty-state {
|
|
4083
|
+
padding-block: var(--ax-space-32);
|
|
4084
|
+
padding-inline: var(--ax-space-16);
|
|
4085
|
+
text-align: center;
|
|
4086
|
+
place-content: center;
|
|
4087
|
+
gap: var(--ax-space-8);
|
|
4088
|
+
justify-items: center;
|
|
4089
|
+
display: grid;
|
|
4090
|
+
}
|
|
4091
|
+
|
|
4092
|
+
.aksel-data-table__loading-state {
|
|
4093
|
+
padding-block: var(--ax-space-32);
|
|
4094
|
+
padding-inline: var(--ax-space-16);
|
|
4095
|
+
text-align: center;
|
|
4096
|
+
place-content: center;
|
|
4097
|
+
gap: var(--ax-space-8);
|
|
4098
|
+
justify-items: center;
|
|
4099
|
+
display: grid;
|
|
4100
|
+
position: relative;
|
|
4101
|
+
}
|
|
4102
|
+
|
|
4103
|
+
@keyframes animateDataTableLoading {
|
|
4104
|
+
0% {
|
|
4105
|
+
inline-size: 0;
|
|
4106
|
+
inset-inline-start: 0;
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
20% {
|
|
4110
|
+
inline-size: 40%;
|
|
4111
|
+
inset-inline-start: 0;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
80% {
|
|
4115
|
+
inline-size: 40%;
|
|
4116
|
+
inset-inline-start: 60%;
|
|
4117
|
+
}
|
|
4118
|
+
|
|
4119
|
+
100% {
|
|
4120
|
+
inline-size: 0;
|
|
4121
|
+
inset-inline-start: 100%;
|
|
4122
|
+
}
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
.aksel-data-table tr .aksel-checkbox {
|
|
4126
|
+
padding: 0;
|
|
4127
|
+
}
|
|
4128
|
+
|
|
4129
|
+
.aksel-data-table tr .aksel-checkbox:focus-within:after {
|
|
4130
|
+
inset: 0;
|
|
4131
|
+
}
|
|
4132
|
+
|
|
4133
|
+
html[data-dragging-cursor="true"], html[data-dragging-cursor="true"] *, html[data-dragging-cursor="true"] :before, html[data-dragging-cursor="true"] :after {
|
|
4134
|
+
cursor: grabbing !important;
|
|
4135
|
+
}
|
|
4136
|
+
|
|
4137
|
+
.aksel-data-table__nested-toggle {
|
|
4138
|
+
inset-block: 0;
|
|
4139
|
+
left: calc(var(--__axc-data-table-pi-cell) + var(--__axc-data-table-nested-depth) * var(--ax-space-16));
|
|
4140
|
+
align-items: center;
|
|
4141
|
+
display: flex;
|
|
4142
|
+
position: absolute;
|
|
4143
|
+
}
|
|
4144
|
+
|
|
4145
|
+
.aksel-data-table__details-panel-row {
|
|
4146
|
+
box-shadow: inset 1px 1px 0 0 var(--ax-border-neutral-subtle);
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4149
|
+
.aksel-data-table__details-panel-row-cell:focus-visible {
|
|
4150
|
+
outline: 2px solid var(--ax-border-focus);
|
|
4151
|
+
outline-offset: -4px;
|
|
4152
|
+
}
|
|
4153
|
+
|
|
3523
4154
|
.aksel-dialog__popup {
|
|
3524
4155
|
--__axc-dialog-transform: ;
|
|
3525
4156
|
--__axc-dialog-p-b: var(--ax-space-16);
|