@fremtind/jokul 0.17.1 → 0.18.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/build/build-stats.html +1 -1
- package/build/style.css +1 -1
- package/package.json +2 -2
- package/src/components/accordion/styles/_index.scss +2 -0
- package/src/components/button/styles/_index.scss +2 -0
- package/src/components/button/styles/button.css +2 -2
- package/src/components/button/styles/button.min.css +1 -1
- package/src/components/card/styles/_index.scss +3 -0
- package/src/components/checkbox/styles/checkbox.css +4 -4
- package/src/components/checkbox/styles/checkbox.min.css +1 -1
- package/src/components/combobox/styles/_index.scss +6 -0
- package/src/components/cookie-consent/styles/_index.scss +4 -0
- package/src/components/datepicker/styles/_index.scss +4 -0
- package/src/components/expander/styles/_index.scss +3 -0
- package/src/components/feedback/styles/_index.scss +8 -0
- package/src/components/feedback/styles/feedback.css +2 -2
- package/src/components/feedback/styles/feedback.min.css +1 -1
- package/src/components/icon/styles/_index.scss +1 -0
- package/src/components/input-group/styles/_index.scss +3 -0
- package/src/components/input-group/styles/input-group.css +2 -2
- package/src/components/input-group/styles/input-group.min.css +1 -1
- package/src/components/link/styles/_index.scss +1 -0
- package/src/components/link-list/styles/_index.scss +3 -0
- package/src/components/loader/styles/loader.css +6 -6
- package/src/components/loader/styles/loader.min.css +1 -1
- package/src/components/loader/styles/skeleton-loader.css +5 -5
- package/src/components/loader/styles/skeleton-loader.min.css +1 -1
- package/src/components/message/styles/_index.scss +2 -0
- package/src/components/message/styles/message.css +2 -2
- package/src/components/message/styles/message.min.css +1 -1
- package/src/components/modal/styles/_index.scss +3 -0
- package/src/components/progress-bar/styles/progress-bar.css +2 -2
- package/src/components/progress-bar/styles/progress-bar.min.css +1 -1
- package/src/components/radio-button/styles/_index.scss +2 -0
- package/src/components/radio-button/styles/radio-button.css +2 -2
- package/src/components/radio-button/styles/radio-button.min.css +1 -1
- package/src/components/select/styles/_index.scss +3 -0
- package/src/components/system-message/styles/_index.scss +2 -0
- package/src/components/system-message/styles/system-message.css +2 -2
- package/src/components/system-message/styles/system-message.min.css +1 -1
- package/src/components/table/styles/_index.scss +6 -0
- package/src/components/table/styles/table.css +556 -0
- package/src/components/table/styles/table.min.css +1 -0
- package/src/components/table/styles/table.scss +54 -0
- package/src/components/tag/styles/_index.scss +3 -0
- package/src/components/text-input/styles/_index.scss +4 -0
- package/src/components/toast/styles/_index.scss +3 -0
- package/src/components/toast/styles/toast.css +4 -4
- package/src/components/toast/styles/toast.min.css +1 -1
- package/src/components/toggle-switch/styles/_index.scss +2 -0
- package/src/components/tooltip/styles/_index.scss +2 -0
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 23 Sep 2024 08:51:40 GMT
|
|
5
|
+
*/
|
|
6
|
+
.jkl-table-caption--sr-only {
|
|
7
|
+
border: 0 !important;
|
|
8
|
+
clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
|
|
9
|
+
clip-path: inset(50%) !important; /* 2 */
|
|
10
|
+
height: 1px !important;
|
|
11
|
+
margin: -1px !important;
|
|
12
|
+
overflow: hidden !important;
|
|
13
|
+
padding: 0 !important;
|
|
14
|
+
position: absolute !important;
|
|
15
|
+
width: 1px !important;
|
|
16
|
+
white-space: nowrap !important; /* 3 */
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:root,
|
|
20
|
+
[data-layout-density=comfortable],
|
|
21
|
+
[data-density=comfortable] {
|
|
22
|
+
--jkl-table-cell-font-size: var(--jkl-body-font-size);
|
|
23
|
+
--jkl-table-cell-line-height: var(--jkl-body-line-height);
|
|
24
|
+
--jkl-table-cell-font-weight: var(--jkl-body-font-weight);
|
|
25
|
+
--jkl-table-cell-padding: 0.6875rem 0.5rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-layout-density=compact],
|
|
29
|
+
[data-density=compact] {
|
|
30
|
+
--jkl-table-cell-font-size: var(--jkl-small-font-size);
|
|
31
|
+
--jkl-table-cell-line-height: var(--jkl-small-line-height);
|
|
32
|
+
--jkl-table-cell-font-weight: var(--jkl-small-font-weight);
|
|
33
|
+
--jkl-table-cell-padding: 0.3125rem 0.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.jkl-table-cell {
|
|
37
|
+
font-size: var(--jkl-table-cell-font-size);
|
|
38
|
+
line-height: var(--jkl-table-cell-line-height);
|
|
39
|
+
font-weight: var(--jkl-table-cell-font-weight);
|
|
40
|
+
padding: var(--jkl-table-cell-padding);
|
|
41
|
+
position: relative;
|
|
42
|
+
text-align: left;
|
|
43
|
+
vertical-align: top;
|
|
44
|
+
}
|
|
45
|
+
.jkl-table-cell--vertical-align-center {
|
|
46
|
+
vertical-align: baseline;
|
|
47
|
+
}
|
|
48
|
+
.jkl-table-cell--align-center {
|
|
49
|
+
text-align: center;
|
|
50
|
+
}
|
|
51
|
+
.jkl-table-cell--align-right {
|
|
52
|
+
text-align: right;
|
|
53
|
+
}
|
|
54
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
55
|
+
.jkl-table--collapse-to-list .jkl-table-cell--align-right {
|
|
56
|
+
text-align: unset;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.jkl-table--collapse-to-list[data-collapse] .jkl-table-cell--align-right {
|
|
60
|
+
text-align: unset;
|
|
61
|
+
}
|
|
62
|
+
.jkl-table--collapse-to-list .jkl-table-cell[data-th]:not(.jkl-table-cell--expand-without-text)::before {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
66
|
+
.jkl-table--collapse-to-list .jkl-table-cell[data-th]:not(.jkl-table-cell--expand-without-text)::before {
|
|
67
|
+
content: attr(data-th);
|
|
68
|
+
display: block;
|
|
69
|
+
font-size: 1rem;
|
|
70
|
+
line-height: 1.5rem;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
--jkl-icon-weight: 500;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
.jkl-table--collapse-to-list[data-collapse] .jkl-table-cell:not(.jkl-table-cell--expand-without-text)::before {
|
|
76
|
+
content: attr(data-th);
|
|
77
|
+
display: block;
|
|
78
|
+
font-size: 1rem;
|
|
79
|
+
line-height: 1.5rem;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
--jkl-icon-weight: 500;
|
|
82
|
+
}
|
|
83
|
+
@media (min-width: 680px) {
|
|
84
|
+
.jkl-table--collapse-to-list:not([data-collapse]) .jkl-table-cell--expand-without-text .jkl-expand-button__text {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.jkl-table-cell .jkl-table-row-expand-button {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.jkl-table-row--expandable.jkl-table-row--clickable:not(.jkl-expandable-table-row--clickable-external):hover .jkl-table-row-expand-button, html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-table-row--expandable.jkl-table-row--clickable:not(.jkl-expandable-table-row--clickable-external):focus .jkl-table-row-expand-button {
|
|
94
|
+
color: var(--expand-button-focus-color);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media screen and (prefers-color-scheme: light) {
|
|
98
|
+
:root {
|
|
99
|
+
--jkl-table-head-sticky-color: var(--jkl-background-color);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
[data-theme=light] {
|
|
103
|
+
--jkl-table-head-sticky-color: var(--jkl-background-color);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
107
|
+
:root {
|
|
108
|
+
--jkl-table-head-sticky-color: var(--jkl-background-color);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
[data-theme=dark] {
|
|
112
|
+
--jkl-table-head-sticky-color: var(--jkl-background-color);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.jkl-table-head--sr-only {
|
|
116
|
+
border: 0 !important;
|
|
117
|
+
clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
|
|
118
|
+
clip-path: inset(50%) !important; /* 2 */
|
|
119
|
+
height: 1px !important;
|
|
120
|
+
margin: -1px !important;
|
|
121
|
+
overflow: hidden !important;
|
|
122
|
+
padding: 0 !important;
|
|
123
|
+
position: absolute !important;
|
|
124
|
+
width: 1px !important;
|
|
125
|
+
white-space: nowrap !important; /* 3 */
|
|
126
|
+
}
|
|
127
|
+
.jkl-table-head--sticky > .jkl-table-row {
|
|
128
|
+
position: sticky;
|
|
129
|
+
top: 0;
|
|
130
|
+
z-index: 1;
|
|
131
|
+
background-color: var(--jkl-table-head-sticky-color);
|
|
132
|
+
border-bottom: none;
|
|
133
|
+
box-shadow: inset 0 0 0 #000, inset 0 -0.0625rem 0 var(--jkl-table-row-hover-border-color);
|
|
134
|
+
background-clip: padding-box;
|
|
135
|
+
vertical-align: bottom;
|
|
136
|
+
height: 2.3em;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:root,
|
|
140
|
+
[data-layout-density=comfortable],
|
|
141
|
+
[data-density=comfortable] {
|
|
142
|
+
--jkl-table-header-font-size: var(--jkl-body-font-size);
|
|
143
|
+
--jkl-table-header-line-height: var(--jkl-body-line-height);
|
|
144
|
+
--jkl-table-header-font-weight: var(--jkl-body-font-weight);
|
|
145
|
+
--jkl-table-header-padding: 0 0.5rem 0.4375rem 0.5rem;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
[data-layout-density=compact],
|
|
149
|
+
[data-density=compact] {
|
|
150
|
+
--jkl-table-header-font-size: var(--jkl-small-font-size);
|
|
151
|
+
--jkl-table-header-line-height: var(--jkl-small-line-height);
|
|
152
|
+
--jkl-table-header-font-weight: var(--jkl-small-font-weight);
|
|
153
|
+
--jkl-table-header-padding: 0 0.5rem 0.1875rem 0.5rem;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.jkl-table-header {
|
|
157
|
+
font-size: var(--jkl-table-header-font-size);
|
|
158
|
+
line-height: var(--jkl-table-header-line-height);
|
|
159
|
+
font-weight: var(--jkl-table-header-font-weight);
|
|
160
|
+
padding: var(--jkl-table-header-padding);
|
|
161
|
+
text-align: left;
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
}
|
|
164
|
+
.jkl-table-header--align-center {
|
|
165
|
+
text-align: center;
|
|
166
|
+
}
|
|
167
|
+
.jkl-table-header--align-right {
|
|
168
|
+
text-align: right;
|
|
169
|
+
}
|
|
170
|
+
.jkl-table-header--bold {
|
|
171
|
+
font-weight: 700;
|
|
172
|
+
}
|
|
173
|
+
.jkl-table-header--sortable {
|
|
174
|
+
cursor: pointer;
|
|
175
|
+
user-select: none;
|
|
176
|
+
}
|
|
177
|
+
.jkl-table-header--sr-only {
|
|
178
|
+
border: 0 !important;
|
|
179
|
+
clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
|
|
180
|
+
clip-path: inset(50%) !important; /* 2 */
|
|
181
|
+
height: 1px !important;
|
|
182
|
+
margin: -1px !important;
|
|
183
|
+
overflow: hidden !important;
|
|
184
|
+
padding: 0 !important;
|
|
185
|
+
position: absolute !important;
|
|
186
|
+
width: 1px !important;
|
|
187
|
+
white-space: nowrap !important; /* 3 */
|
|
188
|
+
}
|
|
189
|
+
.jkl-table-header__arrows {
|
|
190
|
+
transition-timing-function: ease-out;
|
|
191
|
+
transition-duration: 75ms;
|
|
192
|
+
transition-property: opacity;
|
|
193
|
+
display: inline-block;
|
|
194
|
+
margin-bottom: 0.125rem;
|
|
195
|
+
margin-left: 0.25rem;
|
|
196
|
+
vertical-align: middle;
|
|
197
|
+
opacity: 0;
|
|
198
|
+
width: 1.2em;
|
|
199
|
+
}
|
|
200
|
+
.jkl-table-header__arrows--active {
|
|
201
|
+
opacity: 1;
|
|
202
|
+
}
|
|
203
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
204
|
+
.jkl-table--collapse-to-list .jkl-table-header {
|
|
205
|
+
display: none;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
.jkl-table--collapse-to-list[data-collapse] .jkl-table-header {
|
|
209
|
+
display: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.jkl-table-pagination {
|
|
213
|
+
display: flex;
|
|
214
|
+
gap: 1rem;
|
|
215
|
+
flex-direction: column;
|
|
216
|
+
width: 100%;
|
|
217
|
+
}
|
|
218
|
+
@media (min-width: 680px) {
|
|
219
|
+
.jkl-table-pagination {
|
|
220
|
+
flex-direction: row;
|
|
221
|
+
gap: 0.75rem;
|
|
222
|
+
justify-content: space-between;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
.jkl-table-pagination__left {
|
|
226
|
+
flex-shrink: 1;
|
|
227
|
+
}
|
|
228
|
+
.jkl-table-pagination__right {
|
|
229
|
+
flex-grow: 1;
|
|
230
|
+
display: flex;
|
|
231
|
+
flex-wrap: nowrap;
|
|
232
|
+
}
|
|
233
|
+
.jkl-table-pagination__picker {
|
|
234
|
+
display: flex;
|
|
235
|
+
flex-direction: row;
|
|
236
|
+
align-items: center;
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
}
|
|
239
|
+
.jkl-table-pagination__picker--page {
|
|
240
|
+
padding-inline-end: 1.5rem;
|
|
241
|
+
width: min(12rem, 100%);
|
|
242
|
+
}
|
|
243
|
+
@media (min-width: 680px) {
|
|
244
|
+
.jkl-table-pagination__picker--page {
|
|
245
|
+
justify-content: flex-end;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
.jkl-table-pagination__picker--page .jkl-table-pagination__picker-input {
|
|
249
|
+
width: min(4rem, 100%);
|
|
250
|
+
}
|
|
251
|
+
.jkl-table-pagination__picker-label {
|
|
252
|
+
margin-inline-end: 0.5rem;
|
|
253
|
+
}
|
|
254
|
+
.jkl-table-pagination__nav {
|
|
255
|
+
flex-grow: 1;
|
|
256
|
+
display: flex;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
justify-content: center;
|
|
259
|
+
flex-wrap: wrap;
|
|
260
|
+
gap: 1rem;
|
|
261
|
+
}
|
|
262
|
+
@media (min-width: 680px) {
|
|
263
|
+
.jkl-table-pagination__nav {
|
|
264
|
+
flex-direction: row;
|
|
265
|
+
align-items: center;
|
|
266
|
+
justify-content: flex-end;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
.jkl-table-pagination__nav ul {
|
|
270
|
+
list-style: none;
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-wrap: nowrap;
|
|
273
|
+
margin: 0;
|
|
274
|
+
padding: 0;
|
|
275
|
+
}
|
|
276
|
+
.jkl-table-pagination__nav li {
|
|
277
|
+
margin: 0;
|
|
278
|
+
padding: 0;
|
|
279
|
+
}
|
|
280
|
+
.jkl-table-pagination__previous, .jkl-table-pagination__next, .jkl-table-pagination__page {
|
|
281
|
+
background: transparent;
|
|
282
|
+
color: var(--jkl-link-color);
|
|
283
|
+
border-radius: 0.1875rem;
|
|
284
|
+
cursor: pointer;
|
|
285
|
+
user-select: none;
|
|
286
|
+
padding: 0;
|
|
287
|
+
height: 2rem;
|
|
288
|
+
min-width: 2rem;
|
|
289
|
+
outline: 0;
|
|
290
|
+
border-style: none;
|
|
291
|
+
outline-style: none;
|
|
292
|
+
}
|
|
293
|
+
.jkl-table-pagination__previous:active, .jkl-table-pagination__previous:hover, .jkl-table-pagination__previous:focus, .jkl-table-pagination__next:active, .jkl-table-pagination__next:hover, .jkl-table-pagination__next:focus, .jkl-table-pagination__page:active, .jkl-table-pagination__page:hover, .jkl-table-pagination__page:focus {
|
|
294
|
+
outline: 0;
|
|
295
|
+
outline-style: none;
|
|
296
|
+
}
|
|
297
|
+
@media screen and (forced-colors: active) {
|
|
298
|
+
.jkl-table-pagination__previous, .jkl-table-pagination__next, .jkl-table-pagination__page {
|
|
299
|
+
outline: revert;
|
|
300
|
+
border-style: revert;
|
|
301
|
+
outline-style: revert;
|
|
302
|
+
}
|
|
303
|
+
.jkl-table-pagination__previous:active, .jkl-table-pagination__previous:hover, .jkl-table-pagination__previous:focus, .jkl-table-pagination__next:active, .jkl-table-pagination__next:hover, .jkl-table-pagination__next:focus, .jkl-table-pagination__page:active, .jkl-table-pagination__page:hover, .jkl-table-pagination__page:focus {
|
|
304
|
+
outline: revert;
|
|
305
|
+
outline-style: revert;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
.jkl-table-pagination__previous:hover:not(:focus), .jkl-table-pagination__next:hover:not(:focus), .jkl-table-pagination__page:hover:not(:focus) {
|
|
309
|
+
color: var(--jkl-link-hover-color);
|
|
310
|
+
}
|
|
311
|
+
html:not([data-mousenavigation]) .jkl-table-pagination__previous:focus, html:not([data-mousenavigation]) .jkl-table-pagination__next:focus, html:not([data-mousenavigation]) .jkl-table-pagination__page:focus {
|
|
312
|
+
outline: 0.125rem solid var(--jkl-link-active-color);
|
|
313
|
+
}
|
|
314
|
+
.jkl-table-pagination__previous, .jkl-table-pagination__next {
|
|
315
|
+
padding-top: 0.125rem;
|
|
316
|
+
}
|
|
317
|
+
.jkl-table-pagination__ellipsis {
|
|
318
|
+
text-align: center;
|
|
319
|
+
vertical-align: bottom;
|
|
320
|
+
display: inline-block;
|
|
321
|
+
height: 2rem;
|
|
322
|
+
width: 2rem;
|
|
323
|
+
}
|
|
324
|
+
.jkl-table-pagination__page--active {
|
|
325
|
+
--jkl-icon-weight: 500;
|
|
326
|
+
font-weight: 700;
|
|
327
|
+
letter-spacing: -0.014em;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
@media screen and (prefers-color-scheme: light) {
|
|
331
|
+
:root {
|
|
332
|
+
--jkl-table-row-border-color: #c8c5c3;
|
|
333
|
+
--jkl-table-row-border-none-color: rgba(200, 197, 195, 0);
|
|
334
|
+
--jkl-table-row-hover-border-color: #1b1917;
|
|
335
|
+
--jkl-table-row-highlight-color: #ece9e5;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
[data-theme=light] {
|
|
339
|
+
--jkl-table-row-border-color: #c8c5c3;
|
|
340
|
+
--jkl-table-row-border-none-color: rgba(200, 197, 195, 0);
|
|
341
|
+
--jkl-table-row-hover-border-color: #1b1917;
|
|
342
|
+
--jkl-table-row-highlight-color: #ece9e5;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
346
|
+
:root {
|
|
347
|
+
--jkl-table-row-border-color: #636060;
|
|
348
|
+
--jkl-table-row-border-none-color: rgba(99, 96, 96, 0);
|
|
349
|
+
--jkl-table-row-hover-border-color: #f9f9f9;
|
|
350
|
+
--jkl-table-row-highlight-color: #444141;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
[data-theme=dark] {
|
|
354
|
+
--jkl-table-row-border-color: #636060;
|
|
355
|
+
--jkl-table-row-border-none-color: rgba(99, 96, 96, 0);
|
|
356
|
+
--jkl-table-row-hover-border-color: #f9f9f9;
|
|
357
|
+
--jkl-table-row-highlight-color: #444141;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.jkl-table-row {
|
|
361
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-border-color);
|
|
362
|
+
/* stylelint-disable-next-line selector-not-notation */
|
|
363
|
+
}
|
|
364
|
+
.jkl-table-head > .jkl-table-row {
|
|
365
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
366
|
+
}
|
|
367
|
+
:not(.jkl-table-head, .jkl-table-foot) > .jkl-table-row {
|
|
368
|
+
border-top: solid 0.0625rem transparent;
|
|
369
|
+
}
|
|
370
|
+
:not(.jkl-table-head, .jkl-table-foot) > .jkl-table-row:hover {
|
|
371
|
+
/*
|
|
372
|
+
* Det er viktig at hover her har double border style i motsetning til default,
|
|
373
|
+
* ellers vinner ikke border-top "spesifisitetskampen" i border-collapse.
|
|
374
|
+
* Under testing i Chrome, Firefox og Safari på macOS ble border fremdeles
|
|
375
|
+
* rendret som solid. ¯\_(ツ)_/¯
|
|
376
|
+
*
|
|
377
|
+
* https://stackoverflow.com/a/36239151
|
|
378
|
+
* https://stackoverflow.com/a/4096554
|
|
379
|
+
* https://www.w3.org/TR/CSS2/tables.html#border-conflict-resolution
|
|
380
|
+
*/
|
|
381
|
+
border-top: double 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
382
|
+
border-bottom: double 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
383
|
+
}
|
|
384
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
385
|
+
.jkl-table--collapse-to-list > .jkl-table-head > .jkl-table-row {
|
|
386
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-border-color);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
.jkl-table--collapse-to-list[data-collapse] > .jkl-table-head > .jkl-table-row {
|
|
390
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-border-color);
|
|
391
|
+
}
|
|
392
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
393
|
+
.jkl-table--collapse-to-list :not(.jkl-table-head) > .jkl-table-row {
|
|
394
|
+
padding-top: 0.75rem;
|
|
395
|
+
padding-bottom: 0.75rem;
|
|
396
|
+
}
|
|
397
|
+
.jkl-table--collapse-to-list :not(.jkl-table-head) > .jkl-table-row:first-of-type {
|
|
398
|
+
border-top: solid 0.0625rem var(--jkl-table-row-border-color);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row {
|
|
402
|
+
padding-top: 0.75rem;
|
|
403
|
+
padding-bottom: 0.75rem;
|
|
404
|
+
}
|
|
405
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row:first-of-type {
|
|
406
|
+
border-top: solid 0.0625rem var(--jkl-table-row-border-color);
|
|
407
|
+
}
|
|
408
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable {
|
|
409
|
+
transition-property: border, padding;
|
|
410
|
+
transition-timing-function: ease;
|
|
411
|
+
transition-duration: 150ms;
|
|
412
|
+
/* stylelint-disable-next-line selector-max-specificity -- selector needs to nest itself to select sub tables with the same properties */
|
|
413
|
+
}
|
|
414
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable.jkl-table-row--expanded {
|
|
415
|
+
border-bottom-color: var(--jkl-table-row-border-none-color);
|
|
416
|
+
}
|
|
417
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable .jkl-table-row-expand-button {
|
|
418
|
+
margin-left: auto;
|
|
419
|
+
}
|
|
420
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable:hover + tr {
|
|
421
|
+
background-color: var(--jkl-table-row-highlight-color);
|
|
422
|
+
}
|
|
423
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable:hover + tr .jkl-table-row {
|
|
424
|
+
border-bottom-color: var(--jkl-table-row-hover-border-color);
|
|
425
|
+
}
|
|
426
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable + tr .jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable {
|
|
427
|
+
transition-property: border;
|
|
428
|
+
transition-timing-function: ease;
|
|
429
|
+
transition-duration: 150ms;
|
|
430
|
+
}
|
|
431
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row.jkl-table-row--expandable + [aria-hidden=false] .jkl-table-row {
|
|
432
|
+
border-top-color: var(--jkl-table-row-border-none-color);
|
|
433
|
+
}
|
|
434
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
435
|
+
.jkl-table--collapse-to-list :not(.jkl-table-head) > .jkl-table-row:hover {
|
|
436
|
+
/* Tilbakestill hacken som gir riktig border når tabellen ikke har display: block; */
|
|
437
|
+
border-top: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
438
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row:hover {
|
|
442
|
+
/* Tilbakestill hacken som gir riktig border når tabellen ikke har display: block; */
|
|
443
|
+
border-top: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
444
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
445
|
+
}
|
|
446
|
+
.jkl-table-row--clickable {
|
|
447
|
+
outline: 0;
|
|
448
|
+
}
|
|
449
|
+
.jkl-table-row--clickable:hover, html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-table-row--clickable:focus {
|
|
450
|
+
cursor: pointer;
|
|
451
|
+
background-color: var(--jkl-table-row-highlight-color);
|
|
452
|
+
border-top: double 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
453
|
+
border-bottom: double 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
454
|
+
}
|
|
455
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
456
|
+
.jkl-table--collapse-to-list :not(.jkl-table-head) > .jkl-table-row--clickable:hover {
|
|
457
|
+
/* Tilbakestill hacken som gir riktig border når tabellen ikke har display: block; */
|
|
458
|
+
border-top: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
459
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head) > .jkl-table-row--clickable:hover {
|
|
463
|
+
/* Tilbakestill hacken som gir riktig border når tabellen ikke har display: block; */
|
|
464
|
+
border-top: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
465
|
+
border-bottom: solid 0.0625rem var(--jkl-table-row-hover-border-color);
|
|
466
|
+
}
|
|
467
|
+
@media screen and (forced-colors: active) {
|
|
468
|
+
.jkl-table-row--clickable {
|
|
469
|
+
outline: revert;
|
|
470
|
+
color: ButtonText;
|
|
471
|
+
}
|
|
472
|
+
.jkl-table-row--clickable:hover {
|
|
473
|
+
background-color: ButtonFace;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
.jkl-table-row--clicked {
|
|
477
|
+
background-color: var(--jkl-table-row-highlight-color);
|
|
478
|
+
}
|
|
479
|
+
.jkl-table-row--clicked.jkl-table-row--expandable + [aria-hidden=false] {
|
|
480
|
+
background-color: var(--jkl-table-row-highlight-color);
|
|
481
|
+
}
|
|
482
|
+
@media screen and (forced-colors: active) {
|
|
483
|
+
.jkl-table-row--clicked {
|
|
484
|
+
background-color: ButtonFace;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.jkl-expandable-table-row__expanded-row {
|
|
489
|
+
display: none;
|
|
490
|
+
transition-timing-function: ease-in;
|
|
491
|
+
transition-duration: 250ms;
|
|
492
|
+
transition-property: height;
|
|
493
|
+
}
|
|
494
|
+
.jkl-expandable-table-row__expanded-row--expanded {
|
|
495
|
+
transition-timing-function: ease-out;
|
|
496
|
+
transition-duration: 400ms;
|
|
497
|
+
display: block;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.jkl-table {
|
|
501
|
+
border-collapse: collapse;
|
|
502
|
+
position: relative;
|
|
503
|
+
}
|
|
504
|
+
.jkl-table--full-width {
|
|
505
|
+
width: 100%;
|
|
506
|
+
}
|
|
507
|
+
.jkl-table--collapse-to-list[data-collapse] {
|
|
508
|
+
display: block;
|
|
509
|
+
}
|
|
510
|
+
.jkl-table--collapse-to-list[data-collapse] > caption {
|
|
511
|
+
border: 0 !important;
|
|
512
|
+
clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
|
|
513
|
+
clip-path: inset(50%) !important; /* 2 */
|
|
514
|
+
height: 1px !important;
|
|
515
|
+
margin: -1px !important;
|
|
516
|
+
overflow: hidden !important;
|
|
517
|
+
padding: 0 !important;
|
|
518
|
+
position: absolute !important;
|
|
519
|
+
width: 1px !important;
|
|
520
|
+
white-space: nowrap !important; /* 3 */
|
|
521
|
+
}
|
|
522
|
+
.jkl-table--collapse-to-list[data-collapse] > thead, .jkl-table--collapse-to-list[data-collapse] > thead > tr, .jkl-table--collapse-to-list[data-collapse] > thead > tr > th {
|
|
523
|
+
display: none;
|
|
524
|
+
}
|
|
525
|
+
.jkl-table--collapse-to-list[data-collapse] > tbody, .jkl-table--collapse-to-list[data-collapse] > tbody > tr, .jkl-table--collapse-to-list[data-collapse] > tbody > tr > td {
|
|
526
|
+
display: block;
|
|
527
|
+
}
|
|
528
|
+
.jkl-table--collapse-to-list[data-collapse] > tfoot, .jkl-table--collapse-to-list[data-collapse] > tfoot > tr, .jkl-table--collapse-to-list[data-collapse] > tfoot > tr > td {
|
|
529
|
+
display: block;
|
|
530
|
+
}
|
|
531
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
532
|
+
.jkl-table--collapse-to-list {
|
|
533
|
+
display: block;
|
|
534
|
+
}
|
|
535
|
+
.jkl-table--collapse-to-list > caption {
|
|
536
|
+
border: 0 !important;
|
|
537
|
+
clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
|
|
538
|
+
clip-path: inset(50%) !important; /* 2 */
|
|
539
|
+
height: 1px !important;
|
|
540
|
+
margin: -1px !important;
|
|
541
|
+
overflow: hidden !important;
|
|
542
|
+
padding: 0 !important;
|
|
543
|
+
position: absolute !important;
|
|
544
|
+
width: 1px !important;
|
|
545
|
+
white-space: nowrap !important; /* 3 */
|
|
546
|
+
}
|
|
547
|
+
.jkl-table--collapse-to-list > thead, .jkl-table--collapse-to-list > thead > tr, .jkl-table--collapse-to-list > thead > tr > th {
|
|
548
|
+
display: none;
|
|
549
|
+
}
|
|
550
|
+
.jkl-table--collapse-to-list > tbody, .jkl-table--collapse-to-list > tbody > tr, .jkl-table--collapse-to-list > tbody > tr > td {
|
|
551
|
+
display: block;
|
|
552
|
+
}
|
|
553
|
+
.jkl-table--collapse-to-list > tfoot, .jkl-table--collapse-to-list > tfoot > tr, .jkl-table--collapse-to-list > tfoot > tr > td {
|
|
554
|
+
display: block;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.jkl-table-caption--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-table-cell-font-size:var(--jkl-body-font-size);--jkl-table-cell-line-height:var(--jkl-body-line-height);--jkl-table-cell-font-weight:var(--jkl-body-font-weight);--jkl-table-cell-padding:0.6875rem 0.5rem}[data-density=compact],[data-layout-density=compact]{--jkl-table-cell-font-size:var(--jkl-small-font-size);--jkl-table-cell-line-height:var(--jkl-small-line-height);--jkl-table-cell-font-weight:var(--jkl-small-font-weight);--jkl-table-cell-padding:0.3125rem 0.5rem}.jkl-table-cell{font-size:var(--jkl-table-cell-font-size);font-weight:var(--jkl-table-cell-font-weight);line-height:var(--jkl-table-cell-line-height);padding:var(--jkl-table-cell-padding);position:relative;text-align:left;vertical-align:top}.jkl-table-cell--vertical-align-center{vertical-align:initial}.jkl-table-cell--align-center{text-align:center}.jkl-table-cell--align-right{text-align:right}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list .jkl-table-cell--align-right{text-align:unset}}.jkl-table--collapse-to-list[data-collapse] .jkl-table-cell--align-right{text-align:unset}.jkl-table--collapse-to-list .jkl-table-cell[data-th]:not(.jkl-table-cell--expand-without-text):before{display:none}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list .jkl-table-cell[data-th]:not(.jkl-table-cell--expand-without-text):before{content:attr(data-th);display:block;font-size:1rem;font-weight:700;line-height:1.5rem;--jkl-icon-weight:500}}.jkl-table--collapse-to-list[data-collapse] .jkl-table-cell:not(.jkl-table-cell--expand-without-text):before{content:attr(data-th);display:block;font-size:1rem;font-weight:700;line-height:1.5rem;--jkl-icon-weight:500}@media (min-width:680px){.jkl-table--collapse-to-list:not([data-collapse]) .jkl-table-cell--expand-without-text .jkl-expand-button__text{display:none}}.jkl-table-cell .jkl-table-row-expand-button{align-items:center;display:flex}.jkl-table-row--expandable.jkl-table-row--clickable:not(.jkl-expandable-table-row--clickable-external):hover .jkl-table-row-expand-button,html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-table-row--expandable.jkl-table-row--clickable:not(.jkl-expandable-table-row--clickable-external):focus .jkl-table-row-expand-button{color:var(--expand-button-focus-color)}@media screen and (prefers-color-scheme:light){:root{--jkl-table-head-sticky-color:var(--jkl-background-color)}}[data-theme=light]{--jkl-table-head-sticky-color:var(--jkl-background-color)}@media screen and (prefers-color-scheme:dark){:root{--jkl-table-head-sticky-color:var(--jkl-background-color)}}[data-theme=dark]{--jkl-table-head-sticky-color:var(--jkl-background-color)}.jkl-table-head--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.jkl-table-head--sticky>.jkl-table-row{background-clip:padding-box;background-color:var(--jkl-table-head-sticky-color);border-bottom:none;box-shadow:inset 0 0 0 #000,inset 0 -.0625rem 0 var(--jkl-table-row-hover-border-color);height:2.3em;position:-webkit-sticky;position:sticky;top:0;vertical-align:bottom;z-index:1}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-table-header-font-size:var(--jkl-body-font-size);--jkl-table-header-line-height:var(--jkl-body-line-height);--jkl-table-header-font-weight:var(--jkl-body-font-weight);--jkl-table-header-padding:0 0.5rem 0.4375rem 0.5rem}[data-density=compact],[data-layout-density=compact]{--jkl-table-header-font-size:var(--jkl-small-font-size);--jkl-table-header-line-height:var(--jkl-small-line-height);--jkl-table-header-font-weight:var(--jkl-small-font-weight);--jkl-table-header-padding:0 0.5rem 0.1875rem 0.5rem}.jkl-table-header{font-size:var(--jkl-table-header-font-size);font-weight:var(--jkl-table-header-font-weight);line-height:var(--jkl-table-header-line-height);padding:var(--jkl-table-header-padding);text-align:left;white-space:nowrap}.jkl-table-header--align-center{text-align:center}.jkl-table-header--align-right{text-align:right}.jkl-table-header--bold{font-weight:700}.jkl-table-header--sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.jkl-table-header--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.jkl-table-header__arrows{display:inline-block;margin-bottom:.125rem;margin-left:.25rem;opacity:0;transition-duration:75ms;transition-property:opacity;transition-timing-function:ease-out;vertical-align:middle;width:1.2em}.jkl-table-header__arrows--active{opacity:1}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list .jkl-table-header{display:none}}.jkl-table--collapse-to-list[data-collapse] .jkl-table-header{display:none}.jkl-table-pagination{display:flex;flex-direction:column;gap:1rem;width:100%}@media (min-width:680px){.jkl-table-pagination{flex-direction:row;gap:.75rem;justify-content:space-between}}.jkl-table-pagination__left{flex-shrink:1}.jkl-table-pagination__right{display:flex;flex-grow:1;flex-wrap:nowrap}.jkl-table-pagination__picker{align-items:center;display:flex;flex-direction:row;white-space:nowrap}.jkl-table-pagination__picker--page{padding-inline-end:1.5rem;width:min(12rem,100%)}@media (min-width:680px){.jkl-table-pagination__picker--page{justify-content:flex-end}}.jkl-table-pagination__picker--page .jkl-table-pagination__picker-input{width:min(4rem,100%)}.jkl-table-pagination__picker-label{margin-inline-end:.5rem}.jkl-table-pagination__nav{display:flex;flex-direction:column;flex-grow:1;flex-wrap:wrap;gap:1rem;justify-content:center}@media (min-width:680px){.jkl-table-pagination__nav{align-items:center;flex-direction:row;justify-content:flex-end}}.jkl-table-pagination__nav ul{display:flex;flex-wrap:nowrap;list-style:none;margin:0;padding:0}.jkl-table-pagination__nav li{margin:0;padding:0}.jkl-table-pagination__next,.jkl-table-pagination__page,.jkl-table-pagination__previous{background:#0000;border-radius:.1875rem;border-style:none;color:var(--jkl-link-color);cursor:pointer;height:2rem;min-width:2rem;outline:0;outline-style:none;padding:0;-webkit-user-select:none;user-select:none}.jkl-table-pagination__next:active,.jkl-table-pagination__next:focus,.jkl-table-pagination__next:hover,.jkl-table-pagination__page:active,.jkl-table-pagination__page:focus,.jkl-table-pagination__page:hover,.jkl-table-pagination__previous:active,.jkl-table-pagination__previous:focus,.jkl-table-pagination__previous:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-table-pagination__next,.jkl-table-pagination__page,.jkl-table-pagination__previous{border-style:revert;outline:revert;outline-style:revert}.jkl-table-pagination__next:active,.jkl-table-pagination__next:focus,.jkl-table-pagination__next:hover,.jkl-table-pagination__page:active,.jkl-table-pagination__page:focus,.jkl-table-pagination__page:hover,.jkl-table-pagination__previous:active,.jkl-table-pagination__previous:focus,.jkl-table-pagination__previous:hover{outline:revert;outline-style:revert}}.jkl-table-pagination__next:hover:not(:focus),.jkl-table-pagination__page:hover:not(:focus),.jkl-table-pagination__previous:hover:not(:focus){color:var(--jkl-link-hover-color)}html:not([data-mousenavigation]) .jkl-table-pagination__next:focus,html:not([data-mousenavigation]) .jkl-table-pagination__page:focus,html:not([data-mousenavigation]) .jkl-table-pagination__previous:focus{outline:.125rem solid var(--jkl-link-active-color)}.jkl-table-pagination__next,.jkl-table-pagination__previous{padding-top:.125rem}.jkl-table-pagination__ellipsis{display:inline-block;height:2rem;text-align:center;vertical-align:bottom;width:2rem}.jkl-table-pagination__page--active{--jkl-icon-weight:500;font-weight:700;letter-spacing:-.014em}@media screen and (prefers-color-scheme:light){:root{--jkl-table-row-border-color:#c8c5c3;--jkl-table-row-border-none-color:#c8c5c300;--jkl-table-row-hover-border-color:#1b1917;--jkl-table-row-highlight-color:#ece9e5}}[data-theme=light]{--jkl-table-row-border-color:#c8c5c3;--jkl-table-row-border-none-color:#c8c5c300;--jkl-table-row-hover-border-color:#1b1917;--jkl-table-row-highlight-color:#ece9e5}@media screen and (prefers-color-scheme:dark){:root{--jkl-table-row-border-color:#636060;--jkl-table-row-border-none-color:#63606000;--jkl-table-row-hover-border-color:#f9f9f9;--jkl-table-row-highlight-color:#444141}}[data-theme=dark]{--jkl-table-row-border-color:#636060;--jkl-table-row-border-none-color:#63606000;--jkl-table-row-hover-border-color:#f9f9f9;--jkl-table-row-highlight-color:#444141}.jkl-table-row{border-bottom:.0625rem solid var(--jkl-table-row-border-color)}.jkl-table-head>.jkl-table-row{border-bottom:.0625rem solid var(--jkl-table-row-hover-border-color)}:not(.jkl-table-head,.jkl-table-foot)>.jkl-table-row{border-top:.0625rem solid #0000}:not(.jkl-table-head,.jkl-table-foot)>.jkl-table-row:hover{border-bottom:.0625rem double var(--jkl-table-row-hover-border-color);border-top:.0625rem double var(--jkl-table-row-hover-border-color)}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list>.jkl-table-head>.jkl-table-row{border-bottom:.0625rem solid var(--jkl-table-row-border-color)}}.jkl-table--collapse-to-list[data-collapse]>.jkl-table-head>.jkl-table-row{border-bottom:.0625rem solid var(--jkl-table-row-border-color)}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list :not(.jkl-table-head)>.jkl-table-row{padding-bottom:.75rem;padding-top:.75rem}.jkl-table--collapse-to-list :not(.jkl-table-head)>.jkl-table-row:first-of-type{border-top:.0625rem solid var(--jkl-table-row-border-color)}}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row{padding-bottom:.75rem;padding-top:.75rem}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row:first-of-type{border-top:.0625rem solid var(--jkl-table-row-border-color)}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable{transition-duration:.15s;transition-property:border,padding;transition-timing-function:ease}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable.jkl-table-row--expanded{border-bottom-color:var(--jkl-table-row-border-none-color)}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable .jkl-table-row-expand-button{margin-left:auto}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable:hover+tr{background-color:var(--jkl-table-row-highlight-color)}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable:hover+tr .jkl-table-row{border-bottom-color:var(--jkl-table-row-hover-border-color)}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable+tr .jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable{transition-duration:.15s;transition-property:border;transition-timing-function:ease}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row.jkl-table-row--expandable+[aria-hidden=false] .jkl-table-row{border-top-color:var(--jkl-table-row-border-none-color)}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list :not(.jkl-table-head)>.jkl-table-row:hover{border-bottom:.0625rem solid var(--jkl-table-row-hover-border-color);border-top:.0625rem solid var(--jkl-table-row-hover-border-color)}}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row:hover{border-bottom:.0625rem solid var(--jkl-table-row-hover-border-color);border-top:.0625rem solid var(--jkl-table-row-hover-border-color)}.jkl-table-row--clickable{outline:0}.jkl-table-row--clickable:hover,html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-table-row--clickable:focus{background-color:var(--jkl-table-row-highlight-color);border-bottom:.0625rem double var(--jkl-table-row-hover-border-color);border-top:.0625rem double var(--jkl-table-row-hover-border-color);cursor:pointer}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list :not(.jkl-table-head)>.jkl-table-row--clickable:hover{border-bottom:.0625rem solid var(--jkl-table-row-hover-border-color);border-top:.0625rem solid var(--jkl-table-row-hover-border-color)}}.jkl-table--collapse-to-list[data-collapse] :not(.jkl-table-head)>.jkl-table-row--clickable:hover{border-bottom:.0625rem solid var(--jkl-table-row-hover-border-color);border-top:.0625rem solid var(--jkl-table-row-hover-border-color)}@media screen and (forced-colors:active){.jkl-table-row--clickable{color:ButtonText;outline:revert}.jkl-table-row--clickable:hover{background-color:ButtonFace}}.jkl-table-row--clicked,.jkl-table-row--clicked.jkl-table-row--expandable+[aria-hidden=false]{background-color:var(--jkl-table-row-highlight-color)}@media screen and (forced-colors:active){.jkl-table-row--clicked{background-color:ButtonFace}}.jkl-expandable-table-row__expanded-row{display:none;transition-duration:.25s;transition-property:height;transition-timing-function:ease-in}.jkl-expandable-table-row__expanded-row--expanded{display:block;transition-duration:.4s;transition-timing-function:ease-out}.jkl-table{border-collapse:collapse;position:relative}.jkl-table--full-width{width:100%}.jkl-table--collapse-to-list[data-collapse]{display:block}.jkl-table--collapse-to-list[data-collapse]>caption{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.jkl-table--collapse-to-list[data-collapse]>thead,.jkl-table--collapse-to-list[data-collapse]>thead>tr,.jkl-table--collapse-to-list[data-collapse]>thead>tr>th{display:none}.jkl-table--collapse-to-list[data-collapse]>tbody,.jkl-table--collapse-to-list[data-collapse]>tbody>tr,.jkl-table--collapse-to-list[data-collapse]>tbody>tr>td,.jkl-table--collapse-to-list[data-collapse]>tfoot,.jkl-table--collapse-to-list[data-collapse]>tfoot>tr,.jkl-table--collapse-to-list[data-collapse]>tfoot>tr>td{display:block}@media (width >= 0) and (max-width:679px){.jkl-table--collapse-to-list{display:block}.jkl-table--collapse-to-list>caption{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.jkl-table--collapse-to-list>thead,.jkl-table--collapse-to-list>thead>tr,.jkl-table--collapse-to-list>thead>tr>th{display:none}.jkl-table--collapse-to-list>tbody,.jkl-table--collapse-to-list>tbody>tr,.jkl-table--collapse-to-list>tbody>tr>td,.jkl-table--collapse-to-list>tfoot,.jkl-table--collapse-to-list>tfoot>tr,.jkl-table--collapse-to-list>tfoot>tr>td{display:block}}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use "../../../core/jkl";
|
|
3
|
+
|
|
4
|
+
@use "table-caption";
|
|
5
|
+
@use "table-cell";
|
|
6
|
+
@use "table-head";
|
|
7
|
+
@use "table-header";
|
|
8
|
+
@use "table-pagination";
|
|
9
|
+
@use "table-row";
|
|
10
|
+
|
|
11
|
+
@mixin _responsive-table {
|
|
12
|
+
display: block;
|
|
13
|
+
|
|
14
|
+
& > caption {
|
|
15
|
+
@include jkl.screenreader-only;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
& > thead,
|
|
19
|
+
& > thead > tr,
|
|
20
|
+
& > thead > tr > th {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& > tbody,
|
|
25
|
+
& > tbody > tr,
|
|
26
|
+
& > tbody > tr > td {
|
|
27
|
+
display: block;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& > tfoot,
|
|
31
|
+
& > tfoot > tr,
|
|
32
|
+
& > tfoot > tr > td {
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.jkl-table {
|
|
38
|
+
border-collapse: collapse;
|
|
39
|
+
position: relative;
|
|
40
|
+
|
|
41
|
+
&--full-width {
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&--collapse-to-list {
|
|
46
|
+
&[data-collapse] {
|
|
47
|
+
@include _responsive-table;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@include jkl.small-device {
|
|
51
|
+
@include _responsive-table;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -193,14 +193,14 @@
|
|
|
193
193
|
|
|
194
194
|
.jkl-toast[data-animation=entering],
|
|
195
195
|
.jkl-toast[data-animation=queued] {
|
|
196
|
-
animation: jkl-entering-
|
|
196
|
+
animation: jkl-entering-ulkptx5 200ms ease-out forwards;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.jkl-toast[data-animation=exiting] {
|
|
200
|
-
animation: jkl-exiting-
|
|
200
|
+
animation: jkl-exiting-ulkpty0 150ms ease-in forwards;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
@keyframes jkl-entering-
|
|
203
|
+
@keyframes jkl-entering-ulkptx5 {
|
|
204
204
|
from {
|
|
205
205
|
opacity: 0;
|
|
206
206
|
transform: translate3d(0, 50%, 0);
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
transform: translate3d(0, 0, 0);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
@keyframes jkl-exiting-
|
|
213
|
+
@keyframes jkl-exiting-ulkpty0 {
|
|
214
214
|
from {
|
|
215
215
|
opacity: 1;
|
|
216
216
|
transform: translate3d(0, 0, 0);
|