@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/component/alert.css
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
color: var(--ax-text-default);
|
|
200
200
|
align-items: flex-start;
|
|
201
201
|
gap: var(--ax-space-8);
|
|
202
|
-
padding: var(--ax-space-
|
|
202
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
203
203
|
display: flex;
|
|
204
204
|
}
|
|
205
205
|
|
|
@@ -207,6 +207,10 @@
|
|
|
207
207
|
margin-top: var(--ax-space-2);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
.aksel-base-alert[data-size="small"] .aksel-base-alert__message {
|
|
211
|
+
padding: var(--ax-space-12) var(--ax-space-16);
|
|
212
|
+
}
|
|
213
|
+
|
|
210
214
|
.aksel-base-alert[data-size="small"] .aksel-base-alert__message > .aksel-base-alert__icon {
|
|
211
215
|
margin-top: 0;
|
|
212
216
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer aksel.reset,aksel.theming,aksel.baseline,aksel.print,aksel.typography,aksel.components.core,aksel.components.core.loader,aksel.components.core.button,aksel.components.form;@layer aksel.components.modules{.aksel-alert{border-radius:var(--ax-radius-12);padding:var(--ax-space-16) var(--ax-space-20);gap:var(--ax-space-12);border:1px solid;border-color:var(--ax-border-default);background-color:var(--ax-bg-moderate);align-items:center;display:flex}.aksel-alert>.aksel-alert__icon{color:var(--ax-text-decoration)}@media(forced-colors:active){.aksel-alert{color:canvastext;background-color:canvas;border:1px solid canvastext}}.aksel-alert__wrapper--maxwidth{max-width:43.5rem}.aksel-alert__icon{height:var(--ax-font-line-height-xlarge);flex-shrink:0;align-self:flex-start;font-size:1.5rem}.aksel-alert--small{padding:var(--ax-space-12) var(--ax-space-16);gap:var(--ax-space-8)}.aksel-alert--small>.aksel-alert__icon{height:var(--ax-font-line-height-large);margin-block-start:0}.aksel-alert--full-width{border-radius:0}.aksel-alert--inline{background-color:#0000;border:none;padding:0}.aksel-alert__button-wrapper{flex-flow:row;flex:1;justify-content:flex-end;align-self:flex-start;display:flex}.aksel-alert--close-button>.aksel-alert__wrapper,.aksel-alert--close-button>.aksel-alert__icon{margin-block-start:var(--ax-space-2)}.aksel-alert--close-button.aksel-alert--small{align-items:flex-start}.aksel-alert--close-button.aksel-alert--small>.aksel-alert__wrapper,.aksel-alert--close-button.aksel-alert--small>.aksel-alert__icon{margin-block-start:var(--ax-space-4)}.aksel-base-alert{border-radius:var(--ax-radius-12);--__axc-base-alert-pi: var(--ax-space-20);--__axc-base-alert-content-p: var(--ax-space-12) var(--__axc-base-alert-pi) var(--ax-space-16) var(--__axc-base-alert-pi);--__axc-base-alert-header-max-width: 37.5rem;--__axc-base-alert-header-icon-margin-block-start: var(--ax-space-8);--__axc-base-alert-header-close-button-margin-block-start: var(--ax-space-4);--__axc-global-alert-alignment: max(var(--__axc-base-alert-pi), calc((100% - var(--__axc-base-alert-header-max-width)) / 2));height:fit-content;display:grid;overflow:clip}.aksel-base-alert[data-centered=false]{--__axc-global-alert-alignment: var(--ax-space-20)}.aksel-base-alert[data-size=small]{--__axc-base-alert-content-p: var(--ax-space-8) var(--ax-space-16) var(--ax-space-12) var(--ax-space-16);--__axc-base-alert-header-icon-margin-block-start: var(--ax-space-6);--__axc-base-alert-header-close-button-margin-block-start: var(--ax-space-2)}.aksel-base-alert[data-size=small][data-centered=false]{--__axc-global-alert-alignment: var(--ax-space-16)}.aksel-base-alert[data-variant=moderate]{outline:1px solid var(--ax-border-default);outline-offset:-1px}.aksel-base-alert[data-variant=moderate][data-size=small]{--__axc-base-alert-pi: var(--ax-space-16)}.aksel-base-alert[data-variant=strong]{outline:2px solid var(--ax-border-default);outline-offset:-2px}.aksel-base-alert[data-variant=strong][data-color=neutral]{outline-color:var(--ax-border-strong)}.aksel-base-alert[data-global=true]{border-radius:0}.aksel-base-alert__header{align-items:flex-start;gap:var(--ax-space-8);padding:0 var(--__axc-base-alert-pi);border-bottom:1px solid;display:flex}.aksel-base-alert[data-global=true] .aksel-base-alert__header{padding-inline:var(--__axc-global-alert-alignment)}.aksel-base-alert[data-variant=moderate] .aksel-base-alert__header{background:var(--ax-bg-moderate);color:var(--ax-text-default);border-color:var(--ax-border-subtleA);padding-top:var(--ax-space-1)}.aksel-base-alert[data-variant=strong] .aksel-base-alert__header{background:var(--ax-bg-strong);color:var(--ax-text-contrast);border-bottom:none}.aksel-base-alert__header:only-child{border-bottom:none}.aksel-base-alert__icon{margin-top:var(--__axc-base-alert-header-icon-margin-block-start);font-size:1.5rem;display:grid}.aksel-base-alert__title{padding-block:var(--ax-space-6)}.aksel-base-alert__content{padding:var(--__axc-base-alert-content-p);background-color:var(--ax-bg-default)}.aksel-base-alert__content[data-color]{color:var(--ax-text-neutral)}.aksel-base-alert[data-global=true] .aksel-base-alert__content{padding-inline:var(--__axc-global-alert-alignment)}.aksel-base-alert__close-button{margin-left:auto;z-index:1;margin-block-start:var(--__axc-base-alert-header-close-button-margin-block-start)}.aksel-base-alert__close-button:focus-visible{outline-color:var(--ax-bg-default)}.aksel-base-alert__close-button.aksel-base-alert__close-button.aksel-base-alert__close-button{color:var(--ax-text-neutral-contrast)}.aksel-base-alert__message{border-radius:var(--ax-radius-12);outline:1px solid var(--ax-border-default);outline-offset:-1px;background:var(--ax-bg-moderate);height:fit-content;color:var(--ax-text-default);align-items:flex-start;gap:var(--ax-space-8);padding:var(--ax-space-
|
|
1
|
+
@layer aksel.reset,aksel.theming,aksel.baseline,aksel.print,aksel.typography,aksel.components.core,aksel.components.core.loader,aksel.components.core.button,aksel.components.form;@layer aksel.components.modules{.aksel-alert{border-radius:var(--ax-radius-12);padding:var(--ax-space-16) var(--ax-space-20);gap:var(--ax-space-12);border:1px solid;border-color:var(--ax-border-default);background-color:var(--ax-bg-moderate);align-items:center;display:flex}.aksel-alert>.aksel-alert__icon{color:var(--ax-text-decoration)}@media(forced-colors:active){.aksel-alert{color:canvastext;background-color:canvas;border:1px solid canvastext}}.aksel-alert__wrapper--maxwidth{max-width:43.5rem}.aksel-alert__icon{height:var(--ax-font-line-height-xlarge);flex-shrink:0;align-self:flex-start;font-size:1.5rem}.aksel-alert--small{padding:var(--ax-space-12) var(--ax-space-16);gap:var(--ax-space-8)}.aksel-alert--small>.aksel-alert__icon{height:var(--ax-font-line-height-large);margin-block-start:0}.aksel-alert--full-width{border-radius:0}.aksel-alert--inline{background-color:#0000;border:none;padding:0}.aksel-alert__button-wrapper{flex-flow:row;flex:1;justify-content:flex-end;align-self:flex-start;display:flex}.aksel-alert--close-button>.aksel-alert__wrapper,.aksel-alert--close-button>.aksel-alert__icon{margin-block-start:var(--ax-space-2)}.aksel-alert--close-button.aksel-alert--small{align-items:flex-start}.aksel-alert--close-button.aksel-alert--small>.aksel-alert__wrapper,.aksel-alert--close-button.aksel-alert--small>.aksel-alert__icon{margin-block-start:var(--ax-space-4)}.aksel-base-alert{border-radius:var(--ax-radius-12);--__axc-base-alert-pi: var(--ax-space-20);--__axc-base-alert-content-p: var(--ax-space-12) var(--__axc-base-alert-pi) var(--ax-space-16) var(--__axc-base-alert-pi);--__axc-base-alert-header-max-width: 37.5rem;--__axc-base-alert-header-icon-margin-block-start: var(--ax-space-8);--__axc-base-alert-header-close-button-margin-block-start: var(--ax-space-4);--__axc-global-alert-alignment: max(var(--__axc-base-alert-pi), calc((100% - var(--__axc-base-alert-header-max-width)) / 2));height:fit-content;display:grid;overflow:clip}.aksel-base-alert[data-centered=false]{--__axc-global-alert-alignment: var(--ax-space-20)}.aksel-base-alert[data-size=small]{--__axc-base-alert-content-p: var(--ax-space-8) var(--ax-space-16) var(--ax-space-12) var(--ax-space-16);--__axc-base-alert-header-icon-margin-block-start: var(--ax-space-6);--__axc-base-alert-header-close-button-margin-block-start: var(--ax-space-2)}.aksel-base-alert[data-size=small][data-centered=false]{--__axc-global-alert-alignment: var(--ax-space-16)}.aksel-base-alert[data-variant=moderate]{outline:1px solid var(--ax-border-default);outline-offset:-1px}.aksel-base-alert[data-variant=moderate][data-size=small]{--__axc-base-alert-pi: var(--ax-space-16)}.aksel-base-alert[data-variant=strong]{outline:2px solid var(--ax-border-default);outline-offset:-2px}.aksel-base-alert[data-variant=strong][data-color=neutral]{outline-color:var(--ax-border-strong)}.aksel-base-alert[data-global=true]{border-radius:0}.aksel-base-alert__header{align-items:flex-start;gap:var(--ax-space-8);padding:0 var(--__axc-base-alert-pi);border-bottom:1px solid;display:flex}.aksel-base-alert[data-global=true] .aksel-base-alert__header{padding-inline:var(--__axc-global-alert-alignment)}.aksel-base-alert[data-variant=moderate] .aksel-base-alert__header{background:var(--ax-bg-moderate);color:var(--ax-text-default);border-color:var(--ax-border-subtleA);padding-top:var(--ax-space-1)}.aksel-base-alert[data-variant=strong] .aksel-base-alert__header{background:var(--ax-bg-strong);color:var(--ax-text-contrast);border-bottom:none}.aksel-base-alert__header:only-child{border-bottom:none}.aksel-base-alert__icon{margin-top:var(--__axc-base-alert-header-icon-margin-block-start);font-size:1.5rem;display:grid}.aksel-base-alert__title{padding-block:var(--ax-space-6)}.aksel-base-alert__content{padding:var(--__axc-base-alert-content-p);background-color:var(--ax-bg-default)}.aksel-base-alert__content[data-color]{color:var(--ax-text-neutral)}.aksel-base-alert[data-global=true] .aksel-base-alert__content{padding-inline:var(--__axc-global-alert-alignment)}.aksel-base-alert__close-button{margin-left:auto;z-index:1;margin-block-start:var(--__axc-base-alert-header-close-button-margin-block-start)}.aksel-base-alert__close-button:focus-visible{outline-color:var(--ax-bg-default)}.aksel-base-alert__close-button.aksel-base-alert__close-button.aksel-base-alert__close-button{color:var(--ax-text-neutral-contrast)}.aksel-base-alert__message{border-radius:var(--ax-radius-12);outline:1px solid var(--ax-border-default);outline-offset:-1px;background:var(--ax-bg-moderate);height:fit-content;color:var(--ax-text-default);align-items:flex-start;gap:var(--ax-space-8);padding:var(--ax-space-16) var(--ax-space-20);display:flex}.aksel-base-alert__message>.aksel-base-alert__icon{margin-top:var(--ax-space-2)}.aksel-base-alert[data-size=small] .aksel-base-alert__message{padding:var(--ax-space-12) var(--ax-space-16)}.aksel-base-alert[data-size=small] .aksel-base-alert__message>.aksel-base-alert__icon{margin-top:0}}@layer aksel.layout;
|
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
@layer aksel.reset, aksel.theming, aksel.baseline, aksel.print, aksel.typography, aksel.components.core, aksel.components.core.loader, aksel.components.core.button, aksel.components.form;
|
|
2
|
+
|
|
3
|
+
@layer aksel.components.modules {
|
|
4
|
+
.aksel-data-grid {
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
width: 100%;
|
|
8
|
+
display: flex;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.aksel-data-table__border-wrapper {
|
|
13
|
+
max-height: 100%;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.aksel-data-table__scroll-wrapper {
|
|
18
|
+
scroll-timeline: --horizontal-table-scroll inline;
|
|
19
|
+
width: 100%;
|
|
20
|
+
position: relative;
|
|
21
|
+
overflow: auto;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.aksel-data-table[data-layout="fixed"] {
|
|
25
|
+
table-layout: fixed;
|
|
26
|
+
width: 1px;
|
|
27
|
+
min-width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.aksel-data-table[data-layout="auto"] {
|
|
31
|
+
min-width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.aksel-data-table {
|
|
35
|
+
--__axc-data-table-text-size: var(--ax-font-size-large);
|
|
36
|
+
--__axc-data-table-density: var(--ax-space-12);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.aksel-data-table[data-text-size="small"] {
|
|
40
|
+
--__axc-data-table-text-size: var(--ax-font-size-medium);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.aksel-data-table[data-density="tight"] {
|
|
44
|
+
--__axc-data-table-density: var(--ax-space-6);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.aksel-data-table[data-density="loose"] {
|
|
48
|
+
--__axc-data-table-density: var(--ax-space-20);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.aksel-data-table[data-zebra-stripes="true"] .aksel-data-table__tbody :where(.aksel-data-table__tr:nth-child(odd)) {
|
|
52
|
+
background-color: var(--ax-bg-neutral-softA);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.aksel-data-table__thead {
|
|
56
|
+
background-color: var(--ax-bg-raised);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.aksel-data-table[data-loading="true"] .aksel-data-table__thead:after {
|
|
60
|
+
content: "";
|
|
61
|
+
background-color: var(--ax-bg-strong);
|
|
62
|
+
z-index: 11;
|
|
63
|
+
block-size: 2px;
|
|
64
|
+
animation: 1s linear infinite animateDataTableLoading;
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset-block-end: -2px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.aksel-data-table__tbody {
|
|
70
|
+
background-color: var(--ax-bg-raised);
|
|
71
|
+
position: relative;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.aksel-data-table__tbody[inert] {
|
|
75
|
+
opacity: var(--ax-opacity-disabled);
|
|
76
|
+
transition: opacity .2s cubic-bezier(.25, .46, .45, .94);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@starting-style {
|
|
80
|
+
.aksel-data-table__tbody[inert] {
|
|
81
|
+
opacity: .001;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.aksel-data-table__tbody[inert]:after {
|
|
86
|
+
content: "";
|
|
87
|
+
background-color: var(--ax-bg-overlay);
|
|
88
|
+
z-index: 10;
|
|
89
|
+
opacity: .2;
|
|
90
|
+
transition: opacity .2s cubic-bezier(.25, .46, .45, .94);
|
|
91
|
+
position: absolute;
|
|
92
|
+
inset: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@starting-style {
|
|
96
|
+
.aksel-data-table__tbody[inert]:after {
|
|
97
|
+
opacity: .001;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.aksel-data-table__tr[data-selected="true"] {
|
|
102
|
+
background-color: var(--ax-bg-softA);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.aksel-data-table__thead .aksel-data-table__tr[data-sticky="true"] {
|
|
106
|
+
z-index: 3;
|
|
107
|
+
box-shadow: 1px 1px 0 0 var(--ax-border-neutral-subtle);
|
|
108
|
+
position: sticky;
|
|
109
|
+
top: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.aksel-data-table__border-wrapper {
|
|
113
|
+
border-radius: var(--ax-radius-12);
|
|
114
|
+
position: relative;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.aksel-data-table__border-wrapper:after {
|
|
119
|
+
content: "";
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
border: 1px solid var(--ax-border-neutral-subtle);
|
|
122
|
+
border-radius: var(--ax-radius-12);
|
|
123
|
+
z-index: 3;
|
|
124
|
+
position: absolute;
|
|
125
|
+
inset: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.aksel-data-table {
|
|
129
|
+
border-collapse: collapse;
|
|
130
|
+
border-spacing: 0;
|
|
131
|
+
border-right: 1px solid var(--ax-border-neutral-subtle);
|
|
132
|
+
border-bottom: 1px solid var(--ax-border-neutral-subtle);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.aksel-data-table__thead {
|
|
136
|
+
box-shadow: 0 1px 0 0 var(--ax-border-neutral-subtle);
|
|
137
|
+
position: relative;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@keyframes scroll-shadow-fade-start {
|
|
141
|
+
0% {
|
|
142
|
+
opacity: 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
10%, 100% {
|
|
146
|
+
opacity: 1;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@keyframes scroll-shadow-fade-end {
|
|
151
|
+
90% {
|
|
152
|
+
opacity: 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
100% {
|
|
156
|
+
opacity: 0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.aksel-data-table__cell {
|
|
161
|
+
box-shadow: inset 1px 1px 0 0 var(--ax-border-neutral-subtle);
|
|
162
|
+
text-align: start;
|
|
163
|
+
vertical-align: middle;
|
|
164
|
+
scroll-margin: var(--ax-space-0);
|
|
165
|
+
font-size: var(--__axc-data-table-text-size);
|
|
166
|
+
padding: 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.aksel-data-table__cell:not(.aksel-data-table__column-header) {
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.aksel-data-table__cell[data-nested="true"] {
|
|
174
|
+
position: relative;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.aksel-data-table__cell[data-nested="true"] > .aksel-data-table__cell-content {
|
|
178
|
+
margin-inline-start: calc(32px + 8px + calc(var(--__axc-data-table-nested-depth) * var(--ax-space-16)));
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.aksel-data-table__thead .aksel-data-table__cell {
|
|
182
|
+
background-color: var(--ax-bg-neutral-soft);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.aksel-data-table__cell[data-align="left"] {
|
|
186
|
+
text-align: start;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.aksel-data-table__cell[data-align="center"] {
|
|
190
|
+
text-align: center;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.aksel-data-table__cell[data-align="right"] {
|
|
194
|
+
text-align: end;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.aksel-data-table__cell[data-sticky] {
|
|
198
|
+
z-index: 1;
|
|
199
|
+
position: sticky;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.aksel-data-table__cell[data-sticky]:after {
|
|
203
|
+
content: "";
|
|
204
|
+
pointer-events: none;
|
|
205
|
+
border-color: var(--ax-border-neutral-subtle);
|
|
206
|
+
border-style: solid;
|
|
207
|
+
border-width: 0;
|
|
208
|
+
position: absolute;
|
|
209
|
+
inset-block: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.aksel-data-table__cell[data-sticky][data-sticky="start"] {
|
|
213
|
+
left: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.aksel-data-table__cell[data-sticky][data-sticky="start"][data-sticky-last]:before {
|
|
217
|
+
content: "";
|
|
218
|
+
pointer-events: none;
|
|
219
|
+
width: 100%;
|
|
220
|
+
height: 100%;
|
|
221
|
+
box-shadow: 4px 0 8px 1px var(--ax-border-neutral-subtleA);
|
|
222
|
+
clip-path: inset(0 -24px 0 0);
|
|
223
|
+
opacity: 0;
|
|
224
|
+
position: absolute;
|
|
225
|
+
inset: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.aksel-data-table[data-scroll] .aksel-data-table__cell[data-sticky][data-sticky="start"][data-sticky-last]:before {
|
|
229
|
+
opacity: 1;
|
|
230
|
+
animation: 1s linear scroll-shadow-fade-start;
|
|
231
|
+
animation-timeline: --horizontal-table-scroll;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.aksel-data-table__cell[data-sticky][data-sticky="start"][data-sticky-last]:after {
|
|
235
|
+
border-right-width: 1px;
|
|
236
|
+
inset-inline: 0 -1px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.aksel-data-table__cell[data-sticky][data-sticky="end"] {
|
|
240
|
+
right: 0;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.aksel-data-table__cell[data-sticky][data-sticky="end"]:before {
|
|
244
|
+
content: "";
|
|
245
|
+
pointer-events: none;
|
|
246
|
+
width: 100%;
|
|
247
|
+
height: 100%;
|
|
248
|
+
box-shadow: -4px 0 8px 1px var(--ax-border-neutral-subtleA);
|
|
249
|
+
clip-path: inset(0 0 0 -24px);
|
|
250
|
+
opacity: 0;
|
|
251
|
+
position: absolute;
|
|
252
|
+
inset: 0;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.aksel-data-table[data-scroll] .aksel-data-table__cell[data-sticky][data-sticky="end"]:before {
|
|
256
|
+
opacity: 1;
|
|
257
|
+
animation: 1s linear scroll-shadow-fade-end;
|
|
258
|
+
animation-timeline: --horizontal-table-scroll;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.aksel-data-table__cell[data-sticky] {
|
|
262
|
+
background-color: var(--ax-bg-raised);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.aksel-data-table__tr[data-selected="true"] .aksel-data-table__cell[data-sticky] {
|
|
266
|
+
background-color: var(--ax-bg-soft);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.aksel-data-table__thead .aksel-data-table__cell[data-sticky] {
|
|
270
|
+
background-color: var(--ax-bg-neutral-soft);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.aksel-data-table__cell:focus-visible, .aksel-data-table__cell:has(.aksel-data-table__th-sort-button:focus) {
|
|
274
|
+
outline: 2px solid var(--ax-border-focus);
|
|
275
|
+
outline-offset: -4px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.aksel-data-table__cell[data-cell-type="action"] {
|
|
279
|
+
padding: 0;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.aksel-data-table__cell[data-cell-type="action"] > .aksel-data-table__cell-content {
|
|
283
|
+
place-content: center;
|
|
284
|
+
display: grid;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.aksel-data-table__cell {
|
|
288
|
+
--__axc-data-table-pi-cell: var(--ax-space-16);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.aksel-data-table__cell:not([data-cell-type="action"]) > .aksel-data-table__cell-content {
|
|
292
|
+
padding-block: var(--__axc-data-table-density);
|
|
293
|
+
padding-inline: var(--__axc-data-table-pi-cell);
|
|
294
|
+
overflow: hidden;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.aksel-data-table[data-truncate-content="true"] :is(.aksel-data-table__cell:not([data-cell-type="action"]) > .aksel-data-table__cell-content) {
|
|
298
|
+
text-overflow: ellipsis;
|
|
299
|
+
white-space: nowrap;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.aksel-data-table__column-header {
|
|
303
|
+
--__axc-data-table-density: var(--ax-space-8);
|
|
304
|
+
font-weight: var(--ax-font-weight-bold);
|
|
305
|
+
position: relative;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.aksel-data-table__column-header:has(.aksel-data-table__th-sort-button:hover:not(:disabled)) {
|
|
309
|
+
background-color: var(--ax-bg-neutral-moderate-hover);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.aksel-data-table__column-header:has(.aksel-data-table__th-sort-button:active:not(:disabled)) {
|
|
313
|
+
background-color: var(--ax-bg-neutral-moderate-pressed);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.aksel-data-table__column-header[data-sortable="true"] {
|
|
317
|
+
block-size: calc(var(--__axc-data-table-density) + 1.5rem);
|
|
318
|
+
padding: 0;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.aksel-data-table__th-sort-button {
|
|
322
|
+
align-items: center;
|
|
323
|
+
gap: var(--ax-space-2);
|
|
324
|
+
block-size: calc(var(--__axc-data-table-density) + 1.5rem);
|
|
325
|
+
cursor: pointer;
|
|
326
|
+
text-align: start;
|
|
327
|
+
width: 100%;
|
|
328
|
+
font-weight: inherit;
|
|
329
|
+
background-color: rgba(0, 0, 0, 0);
|
|
330
|
+
border: none;
|
|
331
|
+
padding: 0;
|
|
332
|
+
display: flex;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.aksel-data-table__th-sort-button:focus-visible {
|
|
336
|
+
outline: none;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.aksel-data-table__th-sort-button:disabled {
|
|
340
|
+
color: inherit;
|
|
341
|
+
cursor: default;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.aksel-data-table__th-sort-icon {
|
|
345
|
+
flex-shrink: 0;
|
|
346
|
+
margin-left: auto;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.aksel-data-table__th-sort-icon[data-sort-direction="none"] {
|
|
350
|
+
visibility: hidden;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.aksel-data-table__th-sort-button:is(:hover, :focus-visible, :focus-within):not(:disabled) .aksel-data-table__th-sort-icon {
|
|
354
|
+
visibility: visible;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.aksel-data-table[data-layout="fixed"] .aksel-data-table__th-sort-icon[data-sort-direction="none"] {
|
|
358
|
+
display: none;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.aksel-data-table[data-layout="fixed"] .aksel-data-table__th-sort-button:is(:hover, :focus-visible, :focus-within) .aksel-data-table__th-sort-icon {
|
|
362
|
+
display: block;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.aksel-data-table__th-content {
|
|
366
|
+
text-overflow: ellipsis;
|
|
367
|
+
white-space: nowrap;
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.aksel-data-table__th-resize-handle {
|
|
372
|
+
z-index: 1;
|
|
373
|
+
cursor: col-resize;
|
|
374
|
+
background: none;
|
|
375
|
+
border: none;
|
|
376
|
+
justify-content: center;
|
|
377
|
+
width: 19px;
|
|
378
|
+
margin: 0;
|
|
379
|
+
padding: 0;
|
|
380
|
+
display: flex;
|
|
381
|
+
position: absolute;
|
|
382
|
+
inset-block: 0;
|
|
383
|
+
inset-inline-end: -10px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.aksel-data-table__th-resize-handle:focus-visible {
|
|
387
|
+
outline: 2px solid var(--ax-border-focus);
|
|
388
|
+
outline-offset: -4px;
|
|
389
|
+
border-radius: var(--ax-radius-8);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.aksel-data-table__th-resize-handle:after {
|
|
393
|
+
content: "";
|
|
394
|
+
inset-block: 0;
|
|
395
|
+
border-radius: var(--ax-radius-full);
|
|
396
|
+
width: 3px;
|
|
397
|
+
height: 75%;
|
|
398
|
+
transition: background 50ms linear;
|
|
399
|
+
position: absolute;
|
|
400
|
+
top: 50%;
|
|
401
|
+
transform: translateY(-50%);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.aksel-data-table__th-resize-handle:hover, .aksel-data-table__th-resize-handle:focus-visible, .aksel-data-table__th-resize-handle:active {
|
|
405
|
+
z-index: 3;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.aksel-data-table__th-resize-handle:hover:after {
|
|
409
|
+
background: var(--ax-bg-strong);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.aksel-data-table__th-resize-handle:active:after, .aksel-data-table__th-resize-handle:focus-visible:after {
|
|
413
|
+
background: var(--ax-bg-strong-pressed);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.aksel-data-table__column-header:last-of-type .aksel-data-table__th-resize-handle {
|
|
417
|
+
width: 15px;
|
|
418
|
+
inset-inline-end: 0;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.aksel-data-table__column-header:last-of-type .aksel-data-table__th-resize-handle:after {
|
|
422
|
+
inset-inline-end: 0;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.aksel-data-table__th-resize-handle[data-active="true"] .aksel-data-table__th-resize-handle-indicator {
|
|
426
|
+
color: var(--ax-bg-strong);
|
|
427
|
+
height: 1.5rem;
|
|
428
|
+
position: absolute;
|
|
429
|
+
top: 50%;
|
|
430
|
+
transform: translateY(-50%);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.aksel-data-table__th-resize-handle[data-active="true"] .aksel-data-table__th-resize-handle-indicator:first-child {
|
|
434
|
+
right: 12px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.aksel-data-table__th-resize-handle[data-active="true"] .aksel-data-table__th-resize-handle-indicator:last-child {
|
|
438
|
+
left: 12px;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.aksel-data-table__th-resize-handle[data-active="true"]:after {
|
|
442
|
+
background: var(--ax-bg-strong);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.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 {
|
|
446
|
+
outline: none;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.aksel-data-table__th-action-button {
|
|
450
|
+
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;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.aksel-data-table__th-action-button:focus-visible {
|
|
454
|
+
transition: none;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.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 {
|
|
458
|
+
opacity: 0;
|
|
459
|
+
min-width: 0;
|
|
460
|
+
max-width: 0;
|
|
461
|
+
padding: 0;
|
|
462
|
+
overflow: hidden;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.aksel-data-table__th {
|
|
466
|
+
scroll-margin-block: var(--ax-space-0);
|
|
467
|
+
scroll-margin-inline: var(--ax-space-0);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.aksel-data-table__th:focus-visible, .aksel-data-table__th:has(.aksel-data-table__th-sort-button:focus) {
|
|
471
|
+
outline: 2px solid var(--ax-border-focus);
|
|
472
|
+
outline-offset: -4px;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.aksel-data-table__th[data-cell-type="action"] {
|
|
476
|
+
padding: 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.aksel-data-table__th[data-cell-type="action"] > .aksel-data-table__cell-content {
|
|
480
|
+
place-content: center;
|
|
481
|
+
display: grid;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.aksel-data-table__tfoot {
|
|
485
|
+
background-color: var(--ax-bg-raised);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.aksel-data-table__filler-cell {
|
|
489
|
+
width: auto;
|
|
490
|
+
padding: 0;
|
|
491
|
+
display: table-cell;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.aksel-data-table__drag-and-drop-root {
|
|
495
|
+
margin: 0;
|
|
496
|
+
padding: 0;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.aksel-data-drag-and-drop__drag-handler__button {
|
|
500
|
+
background: none;
|
|
501
|
+
border: none;
|
|
502
|
+
height: 1.5rem;
|
|
503
|
+
padding: 0;
|
|
504
|
+
position: relative;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.aksel-data-drag-and-drop__drag-handler__button:hover {
|
|
508
|
+
cursor: grab;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.aksel-data-drag-and-drop__drag-handler__button:focus-visible, .aksel-data-drag-and-drop__drag-handler__button[data-drag-handler-active="true"] {
|
|
512
|
+
outline: 2px solid var(--ax-border-focus);
|
|
513
|
+
outline-offset: -1px;
|
|
514
|
+
border-radius: var(--ax-radius-8);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.aksel-data-table__drag-and-drop-item[data-overlay="true"] {
|
|
518
|
+
opacity: .8;
|
|
519
|
+
width: 100%;
|
|
520
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
521
|
+
background-color: var(--ax-bg-default);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.aksel-data-table__drag-and-drop-item[data-drop-target="true"]:not([data-overlay="true"]) {
|
|
525
|
+
background: var(--ax-bg-neutral-moderate);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.aksel-data-drag-and-drop__drag-handler {
|
|
529
|
+
height: 1.5rem;
|
|
530
|
+
position: relative;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow {
|
|
534
|
+
background: var(--ax-bg-default);
|
|
535
|
+
cursor: pointer;
|
|
536
|
+
z-index: 1;
|
|
537
|
+
border: none;
|
|
538
|
+
border-radius: 50%;
|
|
539
|
+
height: 1.8rem;
|
|
540
|
+
padding: 0;
|
|
541
|
+
position: absolute;
|
|
542
|
+
left: 50%;
|
|
543
|
+
transform: translate(-50%, -50%);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow[data-direction="up"] {
|
|
547
|
+
top: -18px;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow[data-direction="down"] {
|
|
551
|
+
bottom: calc(-100% - 22px);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow:disabled {
|
|
555
|
+
opacity: .8;
|
|
556
|
+
cursor: not-allowed;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.aksel-data-table__empty-state {
|
|
560
|
+
padding-block: var(--ax-space-32);
|
|
561
|
+
padding-inline: var(--ax-space-16);
|
|
562
|
+
text-align: center;
|
|
563
|
+
place-content: center;
|
|
564
|
+
gap: var(--ax-space-8);
|
|
565
|
+
justify-items: center;
|
|
566
|
+
display: grid;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.aksel-data-table__loading-state {
|
|
570
|
+
padding-block: var(--ax-space-32);
|
|
571
|
+
padding-inline: var(--ax-space-16);
|
|
572
|
+
text-align: center;
|
|
573
|
+
place-content: center;
|
|
574
|
+
gap: var(--ax-space-8);
|
|
575
|
+
justify-items: center;
|
|
576
|
+
display: grid;
|
|
577
|
+
position: relative;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
@keyframes animateDataTableLoading {
|
|
581
|
+
0% {
|
|
582
|
+
inline-size: 0;
|
|
583
|
+
inset-inline-start: 0;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
20% {
|
|
587
|
+
inline-size: 40%;
|
|
588
|
+
inset-inline-start: 0;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
80% {
|
|
592
|
+
inline-size: 40%;
|
|
593
|
+
inset-inline-start: 60%;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
100% {
|
|
597
|
+
inline-size: 0;
|
|
598
|
+
inset-inline-start: 100%;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.aksel-data-table tr .aksel-checkbox {
|
|
603
|
+
padding: 0;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.aksel-data-table tr .aksel-checkbox:focus-within:after {
|
|
607
|
+
inset: 0;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
html[data-dragging-cursor="true"], html[data-dragging-cursor="true"] *, html[data-dragging-cursor="true"] :before, html[data-dragging-cursor="true"] :after {
|
|
611
|
+
cursor: grabbing !important;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.aksel-data-table__nested-toggle {
|
|
615
|
+
inset-block: 0;
|
|
616
|
+
left: calc(var(--__axc-data-table-pi-cell) + var(--__axc-data-table-nested-depth) * var(--ax-space-16));
|
|
617
|
+
align-items: center;
|
|
618
|
+
display: flex;
|
|
619
|
+
position: absolute;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.aksel-data-table__details-panel-row {
|
|
623
|
+
box-shadow: inset 1px 1px 0 0 var(--ax-border-neutral-subtle);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.aksel-data-table__details-panel-row-cell:focus-visible {
|
|
627
|
+
outline: 2px solid var(--ax-border-focus);
|
|
628
|
+
outline-offset: -4px;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
@layer aksel.layout;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer aksel.reset,aksel.theming,aksel.baseline,aksel.print,aksel.typography,aksel.components.core,aksel.components.core.loader,aksel.components.core.button,aksel.components.form;@layer aksel.components.modules{.aksel-data-grid{flex-direction:column;flex-grow:1;width:100%;display:flex;overflow:hidden}.aksel-data-table__border-wrapper{max-height:100%;display:flex}.aksel-data-table__scroll-wrapper{scroll-timeline:--horizontal-table-scroll inline;width:100%;position:relative;overflow:auto}.aksel-data-table[data-layout=fixed]{table-layout:fixed;width:1px;min-width:100%}.aksel-data-table[data-layout=auto]{min-width:100%}.aksel-data-table{--__axc-data-table-text-size: var(--ax-font-size-large);--__axc-data-table-density: var(--ax-space-12)}.aksel-data-table[data-text-size=small]{--__axc-data-table-text-size: var(--ax-font-size-medium)}.aksel-data-table[data-density=tight]{--__axc-data-table-density: var(--ax-space-6)}.aksel-data-table[data-density=loose]{--__axc-data-table-density: var(--ax-space-20)}.aksel-data-table[data-zebra-stripes=true] .aksel-data-table__tbody :where(.aksel-data-table__tr:nth-child(odd)){background-color:var(--ax-bg-neutral-softA)}.aksel-data-table__thead{background-color:var(--ax-bg-raised)}.aksel-data-table[data-loading=true] .aksel-data-table__thead:after{content:"";background-color:var(--ax-bg-strong);z-index:11;block-size:2px;animation:1s linear infinite animateDataTableLoading;position:absolute;inset-block-end:-2px}.aksel-data-table__tbody{background-color:var(--ax-bg-raised);position:relative}.aksel-data-table__tbody[inert]{opacity:var(--ax-opacity-disabled);transition:opacity .2s cubic-bezier(.25,.46,.45,.94)}@starting-style{.aksel-data-table__tbody[inert]{opacity:.001}}.aksel-data-table__tbody[inert]:after{content:"";background-color:var(--ax-bg-overlay);z-index:10;opacity:.2;transition:opacity .2s cubic-bezier(.25,.46,.45,.94);position:absolute;inset:0}@starting-style{.aksel-data-table__tbody[inert]:after{opacity:.001}}.aksel-data-table__tr[data-selected=true]{background-color:var(--ax-bg-softA)}.aksel-data-table__thead .aksel-data-table__tr[data-sticky=true]{z-index:3;box-shadow:1px 1px 0 0 var(--ax-border-neutral-subtle);position:sticky;top:0}.aksel-data-table__border-wrapper{border-radius:var(--ax-radius-12);position:relative;overflow:hidden}.aksel-data-table__border-wrapper:after{content:"";pointer-events:none;border:1px solid var(--ax-border-neutral-subtle);border-radius:var(--ax-radius-12);z-index:3;position:absolute;inset:0}.aksel-data-table{border-collapse:collapse;border-spacing:0;border-right:1px solid var(--ax-border-neutral-subtle);border-bottom:1px solid var(--ax-border-neutral-subtle)}.aksel-data-table__thead{box-shadow:0 1px 0 0 var(--ax-border-neutral-subtle);position:relative}@keyframes scroll-shadow-fade-start{0%{opacity:0}10%,to{opacity:1}}@keyframes scroll-shadow-fade-end{90%{opacity:1}to{opacity:0}}.aksel-data-table__cell{box-shadow:inset 1px 1px 0 0 var(--ax-border-neutral-subtle);text-align:start;vertical-align:middle;scroll-margin:var(--ax-space-0);font-size:var(--__axc-data-table-text-size);padding:0}.aksel-data-table__cell:not(.aksel-data-table__column-header){overflow:hidden}.aksel-data-table__cell[data-nested=true]{position:relative}.aksel-data-table__cell[data-nested=true]>.aksel-data-table__cell-content{margin-inline-start:calc(32px + 8px + calc(var(--__axc-data-table-nested-depth) * var(--ax-space-16)))}.aksel-data-table__thead .aksel-data-table__cell{background-color:var(--ax-bg-neutral-soft)}.aksel-data-table__cell[data-align=left]{text-align:start}.aksel-data-table__cell[data-align=center]{text-align:center}.aksel-data-table__cell[data-align=right]{text-align:end}.aksel-data-table__cell[data-sticky]{z-index:1;position:sticky}.aksel-data-table__cell[data-sticky]:after{content:"";pointer-events:none;border-color:var(--ax-border-neutral-subtle);border-style:solid;border-width:0;position:absolute;inset-block:0}.aksel-data-table__cell[data-sticky][data-sticky=start]{left:0}.aksel-data-table__cell[data-sticky][data-sticky=start][data-sticky-last]:before{content:"";pointer-events:none;width:100%;height:100%;box-shadow:4px 0 8px 1px var(--ax-border-neutral-subtleA);clip-path:inset(0 -24px 0 0);opacity:0;position:absolute;inset:0}.aksel-data-table[data-scroll] .aksel-data-table__cell[data-sticky][data-sticky=start][data-sticky-last]:before{opacity:1;animation:1s linear scroll-shadow-fade-start;animation-timeline:--horizontal-table-scroll}.aksel-data-table__cell[data-sticky][data-sticky=start][data-sticky-last]:after{border-right-width:1px;inset-inline:0 -1px}.aksel-data-table__cell[data-sticky][data-sticky=end]{right:0}.aksel-data-table__cell[data-sticky][data-sticky=end]:before{content:"";pointer-events:none;width:100%;height:100%;box-shadow:-4px 0 8px 1px var(--ax-border-neutral-subtleA);clip-path:inset(0 0 0 -24px);opacity:0;position:absolute;inset:0}.aksel-data-table[data-scroll] .aksel-data-table__cell[data-sticky][data-sticky=end]:before{opacity:1;animation:1s linear scroll-shadow-fade-end;animation-timeline:--horizontal-table-scroll}.aksel-data-table__cell[data-sticky]{background-color:var(--ax-bg-raised)}.aksel-data-table__tr[data-selected=true] .aksel-data-table__cell[data-sticky]{background-color:var(--ax-bg-soft)}.aksel-data-table__thead .aksel-data-table__cell[data-sticky]{background-color:var(--ax-bg-neutral-soft)}.aksel-data-table__cell:focus-visible,.aksel-data-table__cell:has(.aksel-data-table__th-sort-button:focus){outline:2px solid var(--ax-border-focus);outline-offset:-4px}.aksel-data-table__cell[data-cell-type=action]{padding:0}.aksel-data-table__cell[data-cell-type=action]>.aksel-data-table__cell-content{place-content:center;display:grid}.aksel-data-table__cell{--__axc-data-table-pi-cell: var(--ax-space-16)}.aksel-data-table__cell:not([data-cell-type=action])>.aksel-data-table__cell-content{padding-block:var(--__axc-data-table-density);padding-inline:var(--__axc-data-table-pi-cell);overflow:hidden}.aksel-data-table[data-truncate-content=true] :is(.aksel-data-table__cell:not([data-cell-type=action])>.aksel-data-table__cell-content){text-overflow:ellipsis;white-space:nowrap}.aksel-data-table__column-header{--__axc-data-table-density: var(--ax-space-8);font-weight:var(--ax-font-weight-bold);position:relative}.aksel-data-table__column-header:has(.aksel-data-table__th-sort-button:hover:not(:disabled)){background-color:var(--ax-bg-neutral-moderate-hover)}.aksel-data-table__column-header:has(.aksel-data-table__th-sort-button:active:not(:disabled)){background-color:var(--ax-bg-neutral-moderate-pressed)}.aksel-data-table__column-header[data-sortable=true]{block-size:calc(var(--__axc-data-table-density) + 1.5rem);padding:0}.aksel-data-table__th-sort-button{align-items:center;gap:var(--ax-space-2);block-size:calc(var(--__axc-data-table-density) + 1.5rem);cursor:pointer;text-align:start;width:100%;font-weight:inherit;background-color:#0000;border:none;padding:0;display:flex}.aksel-data-table__th-sort-button:focus-visible{outline:none}.aksel-data-table__th-sort-button:disabled{color:inherit;cursor:default}.aksel-data-table__th-sort-icon{flex-shrink:0;margin-left:auto}.aksel-data-table__th-sort-icon[data-sort-direction=none]{visibility:hidden}.aksel-data-table__th-sort-button:is(:hover,:focus-visible,:focus-within):not(:disabled) .aksel-data-table__th-sort-icon{visibility:visible}.aksel-data-table[data-layout=fixed] .aksel-data-table__th-sort-icon[data-sort-direction=none]{display:none}.aksel-data-table[data-layout=fixed] .aksel-data-table__th-sort-button:is(:hover,:focus-visible,:focus-within) .aksel-data-table__th-sort-icon{display:block}.aksel-data-table__th-content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.aksel-data-table__th-resize-handle{z-index:1;cursor:col-resize;background:none;border:none;justify-content:center;width:19px;margin:0;padding:0;display:flex;position:absolute;inset-block:0;inset-inline-end:-10px}.aksel-data-table__th-resize-handle:focus-visible{outline:2px solid var(--ax-border-focus);outline-offset:-4px;border-radius:var(--ax-radius-8)}.aksel-data-table__th-resize-handle:after{content:"";inset-block:0;border-radius:var(--ax-radius-full);width:3px;height:75%;transition:background 50ms linear;position:absolute;top:50%;transform:translateY(-50%)}.aksel-data-table__th-resize-handle:hover,.aksel-data-table__th-resize-handle:focus-visible,.aksel-data-table__th-resize-handle:active{z-index:3}.aksel-data-table__th-resize-handle:hover:after{background:var(--ax-bg-strong)}.aksel-data-table__th-resize-handle:active:after,.aksel-data-table__th-resize-handle:focus-visible:after{background:var(--ax-bg-strong-pressed)}.aksel-data-table__column-header:last-of-type .aksel-data-table__th-resize-handle{width:15px;inset-inline-end:0}.aksel-data-table__column-header:last-of-type .aksel-data-table__th-resize-handle:after{inset-inline-end:0}.aksel-data-table__th-resize-handle[data-active=true] .aksel-data-table__th-resize-handle-indicator{color:var(--ax-bg-strong);height:1.5rem;position:absolute;top:50%;transform:translateY(-50%)}.aksel-data-table__th-resize-handle[data-active=true] .aksel-data-table__th-resize-handle-indicator:first-child{right:12px}.aksel-data-table__th-resize-handle[data-active=true] .aksel-data-table__th-resize-handle-indicator:last-child{left:12px}.aksel-data-table__th-resize-handle[data-active=true]:after{background:var(--ax-bg-strong)}.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{outline:none}.aksel-data-table__th-action-button{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}.aksel-data-table__th-action-button:focus-visible{transition:none}.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{opacity:0;min-width:0;max-width:0;padding:0;overflow:hidden}.aksel-data-table__th{scroll-margin-block:var(--ax-space-0);scroll-margin-inline:var(--ax-space-0)}.aksel-data-table__th:focus-visible,.aksel-data-table__th:has(.aksel-data-table__th-sort-button:focus){outline:2px solid var(--ax-border-focus);outline-offset:-4px}.aksel-data-table__th[data-cell-type=action]{padding:0}.aksel-data-table__th[data-cell-type=action]>.aksel-data-table__cell-content{place-content:center;display:grid}.aksel-data-table__tfoot{background-color:var(--ax-bg-raised)}.aksel-data-table__filler-cell{width:auto;padding:0;display:table-cell}.aksel-data-table__drag-and-drop-root{margin:0;padding:0}.aksel-data-drag-and-drop__drag-handler__button{background:none;border:none;height:1.5rem;padding:0;position:relative}.aksel-data-drag-and-drop__drag-handler__button:hover{cursor:grab}.aksel-data-drag-and-drop__drag-handler__button:focus-visible,.aksel-data-drag-and-drop__drag-handler__button[data-drag-handler-active=true]{outline:2px solid var(--ax-border-focus);outline-offset:-1px;border-radius:var(--ax-radius-8)}.aksel-data-table__drag-and-drop-item[data-overlay=true]{opacity:.8;width:100%;box-shadow:var(--ax-shadow-dialog);background-color:var(--ax-bg-default)}.aksel-data-table__drag-and-drop-item[data-drop-target=true]:not([data-overlay=true]){background:var(--ax-bg-neutral-moderate)}.aksel-data-drag-and-drop__drag-handler{height:1.5rem;position:relative}.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow{background:var(--ax-bg-default);cursor:pointer;z-index:1;border:none;border-radius:50%;height:1.8rem;padding:0;position:absolute;left:50%;transform:translate(-50%,-50%)}.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow[data-direction=up]{top:-18px}.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow[data-direction=down]{bottom:calc(-100% - 22px)}.aksel-data-drag-and-drop__drag-handler .aksel-data-drag-and-drop__drag-handler__arrow:disabled{opacity:.8;cursor:not-allowed}.aksel-data-table__empty-state{padding-block:var(--ax-space-32);padding-inline:var(--ax-space-16);text-align:center;place-content:center;gap:var(--ax-space-8);justify-items:center;display:grid}.aksel-data-table__loading-state{padding-block:var(--ax-space-32);padding-inline:var(--ax-space-16);text-align:center;place-content:center;gap:var(--ax-space-8);justify-items:center;display:grid;position:relative}@keyframes animateDataTableLoading{0%{inline-size:0;inset-inline-start:0}20%{inline-size:40%;inset-inline-start:0}80%{inline-size:40%;inset-inline-start:60%}to{inline-size:0;inset-inline-start:100%}}.aksel-data-table tr .aksel-checkbox{padding:0}.aksel-data-table tr .aksel-checkbox:focus-within:after{inset:0}html[data-dragging-cursor=true],html[data-dragging-cursor=true] *,html[data-dragging-cursor=true] :before,html[data-dragging-cursor=true] :after{cursor:grabbing!important}.aksel-data-table__nested-toggle{inset-block:0;left:calc(var(--__axc-data-table-pi-cell) + var(--__axc-data-table-nested-depth) * var(--ax-space-16));align-items:center;display:flex;position:absolute}.aksel-data-table__details-panel-row{box-shadow:inset 1px 1px 0 0 var(--ax-border-neutral-subtle)}.aksel-data-table__details-panel-row-cell:focus-visible{outline:2px solid var(--ax-border-focus);outline-offset:-4px}}@layer aksel.layout;
|