@dnb/eufemia 9.38.0-beta.1 → 9.38.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/CHANGELOG.md +6 -1
- package/cjs/components/lib.d.ts +2 -3
- package/cjs/components/table/Table.d.ts +21 -6
- package/cjs/components/table/Table.js +14 -3
- package/cjs/components/table/TableContainer.d.ts +42 -0
- package/cjs/components/table/TableContainer.js +86 -0
- package/cjs/components/table/TableScrollView.d.ts +10 -0
- package/cjs/components/table/TableScrollView.js +40 -0
- package/cjs/components/table/TableStickyHeader.d.ts +2 -2
- package/cjs/components/table/TableTd.d.ts +10 -0
- package/cjs/components/table/TableTd.js +4 -2
- package/cjs/components/table/TableTh.d.ts +1 -0
- package/cjs/components/table/TableTh.js +14 -2
- package/cjs/components/table/TableTr.d.ts +5 -0
- package/cjs/components/table/TableTr.js +3 -2
- package/cjs/components/table/style/_table-cell.scss +21 -0
- package/cjs/components/table/style/_table-container.scss +61 -0
- package/cjs/components/table/style/_table-header-buttons.scss +0 -5
- package/cjs/components/table/style/_table-sticky.scss +42 -0
- package/cjs/components/table/style/_table-td.scss +132 -0
- package/cjs/components/table/style/_table-th.scss +36 -0
- package/cjs/components/table/style/_table-tr.scss +31 -0
- package/cjs/components/table/style/_table.scss +9 -36
- package/cjs/components/table/style/dnb-table.css +264 -37
- package/cjs/components/table/style/dnb-table.min.css +2 -2
- package/cjs/components/table/style/themes/dnb-table-theme-ui.css +12 -71
- package/cjs/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/cjs/components/table/style/themes/dnb-table-theme-ui.scss +6 -72
- package/cjs/elements/Table.d.ts +6 -2
- package/cjs/elements/Td.d.ts +6 -2
- package/cjs/elements/Th.d.ts +6 -2
- package/cjs/elements/Tr.d.ts +6 -2
- package/cjs/elements/index.d.ts +1 -5
- package/cjs/elements/index.js +0 -32
- package/cjs/elements/lib.d.ts +1 -7
- package/cjs/elements/lib.js +0 -27
- package/cjs/index.d.ts +1 -4
- package/cjs/index.js +0 -24
- package/cjs/shared/Eufemia.js +1 -1
- package/cjs/style/dnb-ui-components.css +252 -37
- package/cjs/style/dnb-ui-components.min.css +2 -2
- package/cjs/style/dnb-ui-elements.css +15 -3
- package/cjs/style/dnb-ui-elements.min.css +1 -1
- package/cjs/style/dnb-ui-tags.css +25 -6
- package/cjs/style/dnb-ui-tags.min.css +1 -1
- package/cjs/style/elements/_anchor-mixins.scss +8 -4
- package/cjs/style/elements/typography.scss +14 -0
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.css +27 -74
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/cjs/style/themes/theme-ui/dnb-theme-ui.css +27 -74
- package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/components/lib.d.ts +2 -3
- package/components/table/Table.d.ts +21 -6
- package/components/table/Table.js +8 -3
- package/components/table/TableContainer.d.ts +42 -0
- package/components/table/TableContainer.js +52 -0
- package/components/table/TableScrollView.d.ts +10 -0
- package/components/table/TableScrollView.js +15 -0
- package/components/table/TableStickyHeader.d.ts +2 -2
- package/components/table/TableTd.d.ts +10 -0
- package/components/table/TableTd.js +4 -2
- package/components/table/TableTh.d.ts +1 -0
- package/components/table/TableTh.js +15 -2
- package/components/table/TableTr.d.ts +5 -0
- package/components/table/TableTr.js +3 -2
- package/components/table/style/_table-cell.scss +21 -0
- package/components/table/style/_table-container.scss +61 -0
- package/components/table/style/_table-header-buttons.scss +0 -5
- package/components/table/style/_table-sticky.scss +42 -0
- package/components/table/style/_table-td.scss +132 -0
- package/components/table/style/_table-th.scss +36 -0
- package/components/table/style/_table-tr.scss +31 -0
- package/components/table/style/_table.scss +9 -36
- package/components/table/style/dnb-table.css +264 -37
- package/components/table/style/dnb-table.min.css +2 -2
- package/components/table/style/themes/dnb-table-theme-ui.css +12 -71
- package/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/components/table/style/themes/dnb-table-theme-ui.scss +6 -72
- package/elements/Table.d.ts +6 -2
- package/elements/Td.d.ts +6 -2
- package/elements/Th.d.ts +6 -2
- package/elements/Tr.d.ts +6 -2
- package/elements/index.d.ts +1 -5
- package/elements/index.js +1 -5
- package/elements/lib.d.ts +1 -7
- package/elements/lib.js +1 -7
- package/es/components/lib.d.ts +2 -3
- package/es/components/table/Table.d.ts +21 -6
- package/es/components/table/Table.js +9 -4
- package/es/components/table/TableContainer.d.ts +42 -0
- package/es/components/table/TableContainer.js +60 -0
- package/es/components/table/TableScrollView.d.ts +10 -0
- package/es/components/table/TableScrollView.js +17 -0
- package/es/components/table/TableStickyHeader.d.ts +2 -2
- package/es/components/table/TableTd.d.ts +10 -0
- package/es/components/table/TableTd.js +5 -3
- package/es/components/table/TableTh.d.ts +1 -0
- package/es/components/table/TableTh.js +16 -2
- package/es/components/table/TableTr.d.ts +5 -0
- package/es/components/table/TableTr.js +3 -2
- package/es/components/table/style/_table-cell.scss +21 -0
- package/es/components/table/style/_table-container.scss +61 -0
- package/es/components/table/style/_table-header-buttons.scss +0 -5
- package/es/components/table/style/_table-sticky.scss +42 -0
- package/es/components/table/style/_table-td.scss +132 -0
- package/es/components/table/style/_table-th.scss +36 -0
- package/es/components/table/style/_table-tr.scss +31 -0
- package/es/components/table/style/_table.scss +9 -36
- package/es/components/table/style/dnb-table.css +264 -37
- package/es/components/table/style/dnb-table.min.css +2 -2
- package/es/components/table/style/themes/dnb-table-theme-ui.css +12 -71
- package/es/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/es/components/table/style/themes/dnb-table-theme-ui.scss +6 -72
- package/es/elements/Table.d.ts +6 -2
- package/es/elements/Td.d.ts +6 -2
- package/es/elements/Th.d.ts +6 -2
- package/es/elements/Tr.d.ts +6 -2
- package/es/elements/index.d.ts +1 -5
- package/es/elements/index.js +1 -5
- package/es/elements/lib.d.ts +1 -7
- package/es/elements/lib.js +1 -7
- package/es/index.d.ts +1 -4
- package/es/index.js +1 -4
- package/es/shared/Eufemia.js +1 -1
- package/es/style/dnb-ui-components.css +252 -37
- package/es/style/dnb-ui-components.min.css +2 -2
- package/es/style/dnb-ui-elements.css +15 -3
- package/es/style/dnb-ui-elements.min.css +1 -1
- package/es/style/dnb-ui-tags.css +25 -6
- package/es/style/dnb-ui-tags.min.css +1 -1
- package/es/style/elements/_anchor-mixins.scss +8 -4
- package/es/style/elements/typography.scss +14 -0
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.css +27 -74
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/es/style/themes/theme-ui/dnb-theme-ui.css +27 -74
- package/es/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +4 -4
- package/esm/dnb-ui-extensions.min.mjs +1 -1
- package/esm/dnb-ui-lib.min.mjs +2 -2
- package/esm/dnb-ui-web-components.min.mjs +2 -2
- package/index.d.ts +1 -4
- package/index.js +1 -4
- package/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/style/dnb-ui-components.css +252 -37
- package/style/dnb-ui-components.min.css +2 -2
- package/style/dnb-ui-elements.css +15 -3
- package/style/dnb-ui-elements.min.css +1 -1
- package/style/dnb-ui-tags.css +25 -6
- package/style/dnb-ui-tags.min.css +1 -1
- package/style/elements/_anchor-mixins.scss +8 -4
- package/style/elements/typography.scss +14 -0
- package/style/themes/theme-eiendom/dnb-theme-eiendom.css +27 -74
- package/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +2 -2
- package/style/themes/theme-ui/dnb-theme-ui.css +27 -74
- package/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +5 -5
- package/umd/dnb-ui-extensions.min.js +1 -1
- package/umd/dnb-ui-lib.min.js +2 -2
- package/umd/dnb-ui-web-components.min.js +2 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Table component
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@import './_table-header-buttons.scss';
|
|
7
|
+
|
|
8
|
+
.dnb-table {
|
|
9
|
+
// Needs a double & & for specificity
|
|
10
|
+
& > tbody > tr,
|
|
11
|
+
& &__tr,
|
|
12
|
+
& &__tr--even {
|
|
13
|
+
background-color: var(--color-lavender);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Needs a double & & for specificity
|
|
17
|
+
& > tbody > tr:not(#{&}__tr--even):nth-of-type(2n),
|
|
18
|
+
& &__tr:not(#{&}__tr--even):nth-of-type(2n),
|
|
19
|
+
& &__tr--odd {
|
|
20
|
+
background-color: var(--color-white);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--outline thead &__tr:first-of-type {
|
|
24
|
+
// use clip-path, because border-radius does not clip on tr's
|
|
25
|
+
clip-path: inset(0 round 0.5rem 0.5rem 0 0);
|
|
26
|
+
}
|
|
27
|
+
&--outline tbody &__tr:last-of-type {
|
|
28
|
+
// use clip-path, because border-radius does not clip on tr's
|
|
29
|
+
clip-path: inset(0 round 0 0 0.5rem 0.5rem);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@import './_table-header-buttons.scss';
|
|
7
|
+
@import './_table-th.scss';
|
|
8
|
+
@import './_table-td.scss';
|
|
9
|
+
@import './_table-tr.scss';
|
|
10
|
+
@import './_table-cell.scss';
|
|
11
|
+
@import './_table-sticky.scss';
|
|
12
|
+
@import './_table-container.scss';
|
|
7
13
|
|
|
8
14
|
.dnb-table {
|
|
9
15
|
display: table;
|
|
@@ -19,13 +25,11 @@
|
|
|
19
25
|
|
|
20
26
|
&--fixed {
|
|
21
27
|
table-layout: fixed;
|
|
28
|
+
width: auto;
|
|
22
29
|
}
|
|
23
30
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
padding: 0 !important;
|
|
28
|
-
height: 0;
|
|
31
|
+
&--no-wrap {
|
|
32
|
+
white-space: nowrap;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
// deprecated – can be removed in v10
|
|
@@ -47,37 +51,6 @@
|
|
|
47
51
|
caption-side: bottom;
|
|
48
52
|
}
|
|
49
53
|
|
|
50
|
-
/* stylelint-disable-next-line */
|
|
51
|
-
|
|
52
|
-
tr.sticky th {
|
|
53
|
-
position: sticky;
|
|
54
|
-
top: var(--table-top, 0); // is set by "stickyOffset" prop
|
|
55
|
-
z-index: 2;
|
|
56
|
-
|
|
57
|
-
&::before {
|
|
58
|
-
content: '';
|
|
59
|
-
position: absolute;
|
|
60
|
-
opacity: 0;
|
|
61
|
-
left: 0;
|
|
62
|
-
right: 0;
|
|
63
|
-
bottom: 0;
|
|
64
|
-
height: 6px;
|
|
65
|
-
|
|
66
|
-
// The @mixin defaultDropShadow() does not work in this case
|
|
67
|
-
// because we need only a bottom shadow (with clip-path)
|
|
68
|
-
box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
69
|
-
clip-path: inset(6px 0 -48px 0);
|
|
70
|
-
|
|
71
|
-
transition: opacity 300ms ease-out;
|
|
72
|
-
[data-visual-test-wrapper] & {
|
|
73
|
-
transition: none;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
tr.sticky.show-shadow th::before {
|
|
78
|
-
opacity: 1;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
54
|
/* stylelint-disable */
|
|
82
55
|
|
|
83
56
|
// deprecated – can be removed in v10
|
|
@@ -68,6 +68,50 @@
|
|
|
68
68
|
vertical-align: inherit;
|
|
69
69
|
/* 2 */ }
|
|
70
70
|
|
|
71
|
+
/*
|
|
72
|
+
* Table component
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
/*
|
|
76
|
+
* Button mixins
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
/*
|
|
80
|
+
* Table component
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
/*
|
|
84
|
+
* Button mixins
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
.dnb-table > tr > th,
|
|
88
|
+
.dnb-table > thead > tr > th, .dnb-table__th {
|
|
89
|
+
padding: 3rem 1rem 0.5rem;
|
|
90
|
+
padding: var(--spacing-x-large) var(--spacing-small) var(--spacing-x-small);
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
font-weight: var(--font-weight-medium);
|
|
93
|
+
color: #000;
|
|
94
|
+
color: var(--color-black);
|
|
95
|
+
vertical-align: bottom;
|
|
96
|
+
background-color: #fff;
|
|
97
|
+
background-color: var(--color-white); }
|
|
98
|
+
.dnb-table > tr > th:not([align]),
|
|
99
|
+
.dnb-table > thead > tr > th:not([align]), .dnb-table__th:not([align]) {
|
|
100
|
+
text-align: inherit; }
|
|
101
|
+
@supports (-moz-appearance: meterbar) and (background-blend-mode: difference, normal) {
|
|
102
|
+
.dnb-table > tr > th,
|
|
103
|
+
.dnb-table > thead > tr > th, .dnb-table__th {
|
|
104
|
+
padding-bottom: calc(0.5rem - 0.5px);
|
|
105
|
+
padding-bottom: calc(var(--spacing-x-small) - 0.5px); } }
|
|
106
|
+
|
|
107
|
+
.dnb-table__th__horizontal {
|
|
108
|
+
display: -webkit-box;
|
|
109
|
+
display: -ms-flexbox;
|
|
110
|
+
display: flex;
|
|
111
|
+
-webkit-box-align: end;
|
|
112
|
+
-ms-flex-align: end;
|
|
113
|
+
align-items: flex-end; }
|
|
114
|
+
|
|
71
115
|
/*
|
|
72
116
|
* Table component
|
|
73
117
|
*
|
|
@@ -76,6 +120,222 @@
|
|
|
76
120
|
* Button mixins
|
|
77
121
|
*
|
|
78
122
|
*/
|
|
123
|
+
.dnb-table {
|
|
124
|
+
--border: 0.0625rem solid var(--color-black-8);
|
|
125
|
+
--outline: 0.0625rem solid var(--color-black-8); }
|
|
126
|
+
.dnb-table > tr > td,
|
|
127
|
+
.dnb-table > tbody > tr > td, .dnb-table__td,
|
|
128
|
+
.dnb-table > tr > th[scope='row'] {
|
|
129
|
+
padding: 1rem;
|
|
130
|
+
padding: var(--spacing-small);
|
|
131
|
+
padding-top: 1.25rem;
|
|
132
|
+
padding-top: calc(1rem * 1.25);
|
|
133
|
+
padding-top: calc(var(--spacing-small)*1.25);
|
|
134
|
+
padding-top: calc(var(--spacing-small) * 1.25);
|
|
135
|
+
padding-bottom: 1.25rem;
|
|
136
|
+
padding-bottom: calc(1rem * 1.25);
|
|
137
|
+
padding-bottom: calc(var(--spacing-small)*1.25);
|
|
138
|
+
padding-bottom: calc(var(--spacing-small) * 1.25);
|
|
139
|
+
color: currentColor;
|
|
140
|
+
color: var(--theme-color-black-80, currentColor);
|
|
141
|
+
vertical-align: baseline; }
|
|
142
|
+
.dnb-table--border tbody .dnb-table__td {
|
|
143
|
+
z-index: 2; }
|
|
144
|
+
.dnb-table--border tbody .dnb-table__td::after {
|
|
145
|
+
content: '';
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
right: 0;
|
|
150
|
+
bottom: 0;
|
|
151
|
+
z-index: -1;
|
|
152
|
+
pointer-events: none;
|
|
153
|
+
border: var(--border);
|
|
154
|
+
border-right: none;
|
|
155
|
+
border-bottom: none; }
|
|
156
|
+
.dnb-table--border tbody .dnb-table__td:first-of-type::after {
|
|
157
|
+
border-left: none; }
|
|
158
|
+
.dnb-table:not(.dnb-table--outline) tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
159
|
+
border-bottom: var(--border); }
|
|
160
|
+
.dnb-table--outline thead .dnb-table__th {
|
|
161
|
+
z-index: 2; }
|
|
162
|
+
.dnb-table--outline thead .dnb-table__th::after {
|
|
163
|
+
content: '';
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 0;
|
|
166
|
+
left: 0;
|
|
167
|
+
right: 0;
|
|
168
|
+
bottom: 0;
|
|
169
|
+
z-index: -1;
|
|
170
|
+
pointer-events: none;
|
|
171
|
+
border-top: var(--outline); }
|
|
172
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
173
|
+
border-left: var(--outline); }
|
|
174
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
175
|
+
border-right: var(--outline); }
|
|
176
|
+
.dnb-table--outline tbody .dnb-table__td {
|
|
177
|
+
z-index: 2; }
|
|
178
|
+
.dnb-table--outline tbody .dnb-table__td:first-of-type::after, .dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
179
|
+
content: '';
|
|
180
|
+
position: absolute;
|
|
181
|
+
top: 0;
|
|
182
|
+
left: 0;
|
|
183
|
+
right: 0;
|
|
184
|
+
bottom: 0;
|
|
185
|
+
z-index: -1;
|
|
186
|
+
pointer-events: none; }
|
|
187
|
+
.dnb-table--outline tbody .dnb-table__td:first-of-type::after {
|
|
188
|
+
border-left: var(--outline); }
|
|
189
|
+
.dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
190
|
+
border-right: var(--outline); }
|
|
191
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td {
|
|
192
|
+
z-index: 2; }
|
|
193
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
194
|
+
content: '';
|
|
195
|
+
position: absolute;
|
|
196
|
+
top: 0;
|
|
197
|
+
left: 0;
|
|
198
|
+
right: 0;
|
|
199
|
+
bottom: 0;
|
|
200
|
+
z-index: -1;
|
|
201
|
+
pointer-events: none;
|
|
202
|
+
border-bottom: var(--outline); }
|
|
203
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type, .dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
204
|
+
border-radius: 0.5rem 0 0 0; }
|
|
205
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type, .dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
206
|
+
border-radius: 0 0.5rem 0 0; }
|
|
207
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type::after {
|
|
208
|
+
border-radius: 0 0 0 0.5rem; }
|
|
209
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type::after {
|
|
210
|
+
border-radius: 0 0 0.5rem 0; }
|
|
211
|
+
.dnb-table__td--no-spacing,
|
|
212
|
+
.dnb-table td.dnb-table__td--no-spacing {
|
|
213
|
+
padding: 0; }
|
|
214
|
+
.dnb-table__td--spacing-horizontal,
|
|
215
|
+
.dnb-table td.dnb-table__td--spacing-horizontal {
|
|
216
|
+
padding-top: 0;
|
|
217
|
+
padding-bottom: 0; }
|
|
218
|
+
|
|
219
|
+
/*
|
|
220
|
+
* Table component
|
|
221
|
+
*
|
|
222
|
+
*/
|
|
223
|
+
/*
|
|
224
|
+
* Button mixins
|
|
225
|
+
*
|
|
226
|
+
*/
|
|
227
|
+
.dnb-table > tbody > tr,
|
|
228
|
+
.dnb-table .dnb-table__tr,
|
|
229
|
+
.dnb-table .dnb-table__tr--even {
|
|
230
|
+
background-color: #f2f2f5;
|
|
231
|
+
background-color: var(--color-lavender); }
|
|
232
|
+
|
|
233
|
+
.dnb-table > tbody > tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
234
|
+
.dnb-table .dnb-table__tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
235
|
+
.dnb-table .dnb-table__tr--odd {
|
|
236
|
+
background-color: #fff;
|
|
237
|
+
background-color: var(--color-white); }
|
|
238
|
+
|
|
239
|
+
.dnb-table--outline thead .dnb-table__tr:first-of-type {
|
|
240
|
+
-webkit-clip-path: inset(0 round 0.5rem 0.5rem 0 0);
|
|
241
|
+
clip-path: inset(0 round 0.5rem 0.5rem 0 0); }
|
|
242
|
+
|
|
243
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type {
|
|
244
|
+
-webkit-clip-path: inset(0 round 0 0 0.5rem 0.5rem);
|
|
245
|
+
clip-path: inset(0 round 0 0 0.5rem 0.5rem); }
|
|
246
|
+
|
|
247
|
+
/*
|
|
248
|
+
* Table component
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
251
|
+
.dnb-table > tr > th,
|
|
252
|
+
.dnb-table > tr > td,
|
|
253
|
+
.dnb-table > thead > tr > th,
|
|
254
|
+
.dnb-table > tbody > tr > td, .dnb-table__th, .dnb-table__td {
|
|
255
|
+
position: relative;
|
|
256
|
+
font-size: 1.125rem;
|
|
257
|
+
font-size: var(--font-size-basis);
|
|
258
|
+
line-height: 1.5rem;
|
|
259
|
+
line-height: var(--line-height-basis);
|
|
260
|
+
border-spacing: 0;
|
|
261
|
+
word-break: keep-all; }
|
|
262
|
+
|
|
263
|
+
/*
|
|
264
|
+
* Table component
|
|
265
|
+
*
|
|
266
|
+
*/
|
|
267
|
+
.dnb-table__sticky-helper > td {
|
|
268
|
+
display: block;
|
|
269
|
+
overflow: hidden;
|
|
270
|
+
padding: 0 !important;
|
|
271
|
+
height: 0; }
|
|
272
|
+
|
|
273
|
+
.dnb-table tr.sticky th {
|
|
274
|
+
position: sticky;
|
|
275
|
+
top: 0;
|
|
276
|
+
top: var(--table-top, 0);
|
|
277
|
+
z-index: 2; }
|
|
278
|
+
.dnb-table tr.sticky th::before {
|
|
279
|
+
content: '';
|
|
280
|
+
position: absolute;
|
|
281
|
+
opacity: 0;
|
|
282
|
+
left: 0;
|
|
283
|
+
right: 0;
|
|
284
|
+
bottom: 0;
|
|
285
|
+
height: 6px;
|
|
286
|
+
-webkit-box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
287
|
+
box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
288
|
+
-webkit-box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
289
|
+
box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
290
|
+
-webkit-clip-path: inset(6px 0 -48px 0);
|
|
291
|
+
clip-path: inset(6px 0 -48px 0);
|
|
292
|
+
-webkit-transition: opacity 300ms ease-out;
|
|
293
|
+
transition: opacity 300ms ease-out; }
|
|
294
|
+
[data-visual-test-wrapper] .dnb-table tr.sticky th::before {
|
|
295
|
+
-webkit-transition: none;
|
|
296
|
+
transition: none; }
|
|
297
|
+
|
|
298
|
+
.dnb-table tr.sticky.show-shadow th::before {
|
|
299
|
+
opacity: 1; }
|
|
300
|
+
|
|
301
|
+
/*
|
|
302
|
+
* Table component
|
|
303
|
+
*
|
|
304
|
+
*/
|
|
305
|
+
.dnb-table__container {
|
|
306
|
+
position: relative;
|
|
307
|
+
--border: 0.0625rem solid var(--color-black-8);
|
|
308
|
+
background-color: #fff;
|
|
309
|
+
background-color: var(--color-white); }
|
|
310
|
+
.dnb-table__container::after {
|
|
311
|
+
content: '';
|
|
312
|
+
position: absolute;
|
|
313
|
+
top: 0;
|
|
314
|
+
left: 0;
|
|
315
|
+
right: 0;
|
|
316
|
+
bottom: 0;
|
|
317
|
+
z-index: 1;
|
|
318
|
+
pointer-events: none;
|
|
319
|
+
border: var(--border); }
|
|
320
|
+
.dnb-table__container, .dnb-table__container::after {
|
|
321
|
+
border-radius: 0.5rem; }
|
|
322
|
+
.dnb-table__container, .dnb-table__container__body, .dnb-table__container__head, .dnb-table__container__foot {
|
|
323
|
+
display: -webkit-box;
|
|
324
|
+
display: -ms-flexbox;
|
|
325
|
+
display: flex;
|
|
326
|
+
-webkit-box-orient: vertical;
|
|
327
|
+
-webkit-box-direction: normal;
|
|
328
|
+
-ms-flex-direction: column;
|
|
329
|
+
flex-direction: column; }
|
|
330
|
+
.dnb-table__container__body .dnb-table:not([class*='space__bottom']) {
|
|
331
|
+
margin-bottom: 0; }
|
|
332
|
+
.dnb-table__container__head {
|
|
333
|
+
padding: 2rem 1rem 0; }
|
|
334
|
+
.dnb-spacing .dnb-table__container__head .dnb-h--large:not([class*='space__top']) {
|
|
335
|
+
margin: 0; }
|
|
336
|
+
.dnb-table__container__foot {
|
|
337
|
+
padding: 0.5rem 1rem 2rem; }
|
|
338
|
+
|
|
79
339
|
.dnb-table {
|
|
80
340
|
display: table;
|
|
81
341
|
table-layout: auto;
|
|
@@ -86,16 +346,13 @@
|
|
|
86
346
|
margin-bottom: var(--spacing-small);
|
|
87
347
|
border-spacing: 0;
|
|
88
348
|
border-collapse: collapse;
|
|
89
|
-
/* stylelint-disable-next-line */
|
|
90
349
|
/* stylelint-disable */
|
|
91
350
|
/* stylelint-enable */ }
|
|
92
351
|
.dnb-table--fixed {
|
|
93
|
-
table-layout: fixed;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
padding: 0 !important;
|
|
98
|
-
height: 0; }
|
|
352
|
+
table-layout: fixed;
|
|
353
|
+
width: auto; }
|
|
354
|
+
.dnb-table--no-wrap {
|
|
355
|
+
white-space: nowrap; }
|
|
99
356
|
.dnb-table, .dnb-table--left {
|
|
100
357
|
text-align: left; }
|
|
101
358
|
.dnb-table--right {
|
|
@@ -108,32 +365,6 @@
|
|
|
108
365
|
margin-top: 0.5rem;
|
|
109
366
|
margin-top: var(--spacing-x-small);
|
|
110
367
|
caption-side: bottom; }
|
|
111
|
-
.dnb-table tr.sticky th {
|
|
112
|
-
position: sticky;
|
|
113
|
-
top: 0;
|
|
114
|
-
top: var(--table-top, 0);
|
|
115
|
-
z-index: 2; }
|
|
116
|
-
.dnb-table tr.sticky th::before {
|
|
117
|
-
content: '';
|
|
118
|
-
position: absolute;
|
|
119
|
-
opacity: 0;
|
|
120
|
-
left: 0;
|
|
121
|
-
right: 0;
|
|
122
|
-
bottom: 0;
|
|
123
|
-
height: 6px;
|
|
124
|
-
-webkit-box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
125
|
-
box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
126
|
-
-webkit-box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
127
|
-
box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
128
|
-
-webkit-clip-path: inset(6px 0 -48px 0);
|
|
129
|
-
clip-path: inset(6px 0 -48px 0);
|
|
130
|
-
-webkit-transition: opacity 300ms ease-out;
|
|
131
|
-
transition: opacity 300ms ease-out; }
|
|
132
|
-
[data-visual-test-wrapper] .dnb-table tr.sticky th::before {
|
|
133
|
-
-webkit-transition: none;
|
|
134
|
-
transition: none; }
|
|
135
|
-
.dnb-table tr.sticky.show-shadow th::before {
|
|
136
|
-
opacity: 1; }
|
|
137
368
|
.dnb-table--small,
|
|
138
369
|
.dnb-table--small > tr > th,
|
|
139
370
|
.dnb-table--small > tr > td,
|
|
@@ -416,10 +647,6 @@ thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus
|
|
|
416
647
|
transform: rotate(180deg);
|
|
417
648
|
-webkit-transform-origin: 50% 50%;
|
|
418
649
|
transform-origin: 50% 50%; }
|
|
419
|
-
.dnb-table > thead > tr > th.dnb-table--no-wrap,
|
|
420
|
-
.dnb-table > tbody > tr > th.dnb-table--no-wrap,
|
|
421
|
-
.dnb-table .dnb-table__th.dnb-table--no-wrap {
|
|
422
|
-
white-space: nowrap; }
|
|
423
650
|
.dnb-table .dnb-table__th .dnb-table__help-button,
|
|
424
651
|
.dnb-table > thead > tr > th .dnb-table__help-button {
|
|
425
652
|
margin-left: 0.5rem; }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.dnb-table{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#333;color:var(--color-black-80,#333);font-family:DNB,sans-serif;font-family:var(--font-family-default);font-size:1rem;font-size:var(--font-size-small);font-style:normal;font-weight:400;font-weight:var(--font-weight-basis);line-height:1.5rem;line-height:var(--line-height-basis);margin:0;padding:0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-break:break-word}.dnb-table *,.dnb-table :after,.dnb-table :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-table :after,.dnb-table :before{text-decoration:inherit;vertical-align:inherit}.dnb-table{border-collapse:collapse;border-spacing:0;display:table;margin-bottom:1rem;margin-bottom:var(--spacing-small);margin-top:0;overflow:auto;table-layout:auto;width:100%}.dnb-table--fixed{table-layout:fixed}.dnb-table__sticky-helper>td{display:block;height:0;overflow:hidden;padding:0!important}.dnb-table,.dnb-table--left{text-align:left}.dnb-table--right{text-align:right}.dnb-table--center{text-align:center}.dnb-table>caption{caption-side:bottom;font-size:1rem;font-size:var(--font-size-small);margin-top:.5rem;margin-top:var(--spacing-x-small)}.dnb-table tr.sticky th{position:sticky;top:0;top:var(--table-top,0);z-index:2}.dnb-table tr.sticky th:before{bottom:0;-webkit-box-shadow:0 -2px 12px 8px rgba(51,51,51,.08);box-shadow:0 -2px 12px 8px rgba(51,51,51,.08);-webkit-box-shadow:var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);box-shadow:var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);-webkit-clip-path:inset(6px 0 -48px 0);clip-path:inset(6px 0 -48px 0);content:"";height:6px;left:0;opacity:0;position:absolute;right:0;-webkit-transition:opacity .3s ease-out;transition:opacity .3s ease-out}[data-visual-test-wrapper] .dnb-table tr.sticky th:before{-webkit-transition:none;transition:none}.dnb-table tr.sticky.show-shadow th:before{opacity:1}.dnb-table--small,.dnb-table--small>tbody>tr>td,.dnb-table--small>thead>tr>th,.dnb-table--small>tr>td,.dnb-table--small>tr>th,.dnb-table>tbody>tr.dnb-table--small>td,.dnb-table>tbody>tr>td.dnb-table--small,.dnb-table>thead>tr.dnb-table--small>th,.dnb-table>thead>tr>th.dnb-table--small,.dnb-table>tr.dnb-table--small>td,.dnb-table>tr.dnb-table--small>th,.dnb-table>tr>td.dnb-table--small,.dnb-table>tr>th.dnb-table--small,.dnb-table__td.dnb-table--small,.dnb-table__th.dnb-table--small{font-size:1rem;font-size:var(--font-size-small)}.dnb-table--x-small,.dnb-table--x-small>tbody>tr>td,.dnb-table--x-small>thead>tr>th,.dnb-table--x-small>tr>td,.dnb-table--x-small>tr>th,.dnb-table>tbody>tr.dnb-table--x-small>td,.dnb-table>tbody>tr>td.dnb-table--x-small,.dnb-table>thead>tr.dnb-table--x-small>th,.dnb-table>thead>tr>th.dnb-table--x-small,.dnb-table>tr.dnb-table--x-small>td,.dnb-table>tr.dnb-table--x-small>th,.dnb-table>tr>td.dnb-table--x-small,.dnb-table>tr>th.dnb-table--x-small,.dnb-table__td.dnb-table--x-small,.dnb-table__th.dnb-table--x-small{font-size:.875rem;font-size:var(--font-size-x-small)}.dnb-table.dnb-skeleton>*{-webkit-text-fill-color:#ebebeb;-webkit-text-fill-color:var(--skeleton-color)}.dnb-table .dnb-table__th.dnb-table--sortable,.dnb-table>thead>tr>th.dnb-table--sortable{color:#14555a;color:var(--color-emerald-green)}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-shadow:none;box-shadow:none;color:inherit;font-size:inherit;font-weight:500;font-weight:var(--font-weight-medium);line-height:1.5rem;line-height:var(--line-height-basis);margin:0;padding:0 .5rem 0 0;position:relative;text-align:inherit;z-index:1}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon{opacity:0;-webkit-transition:opacity .2s ease-out,-webkit-transform .5s ease-out;transition:opacity .2s ease-out,-webkit-transform .5s ease-out;transition:opacity .2s ease-out,transform .5s ease-out;transition:opacity .2s ease-out,transform .5s ease-out,-webkit-transform .5s ease-out}[data-visual-test-wrapper] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon,[data-visual-test-wrapper] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon{-webkit-transition:none;transition:none}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text{font-size:inherit;margin:0}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text:after{right:1rem}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__icon,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__icon{-ms-flex-item-align:end;align-self:flex-end;margin-bottom:.25rem;margin-top:auto}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:not(:focus) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:not(:focus) .dnb-button__text:after{color:#14555a;color:var(--color-emerald-green);opacity:1}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]),html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]){color:#007272;color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]):not(:focus) .dnb-icon,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]):not(:focus) .dnb-icon{opacity:1}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after{opacity:0}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled],.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled],html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled]{cursor:not-allowed}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before{bottom:-.5rem;content:"";left:-1rem;position:absolute;right:.5rem;right:-.5rem;top:-.5rem}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon{opacity:1}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled]{cursor:not-allowed}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]),.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]){color:#14555a;color:var(--color-emerald-green)}html[data-whatinput=mouse] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{--border-color:var(--color-emerald-green);border-color:transparent;-webkit-box-shadow:0 0 0 .125rem var(--border-color);box-shadow:0 0 0 .125rem var(--border-color)}@media screen and (-ms-high-contrast:none){html[data-whatinput=mouse] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{-webkit-box-shadow:0 0 0 .125rem #14555a;box-shadow:0 0 0 .125rem #14555a;-webkit-box-shadow:0 0 0 .125rem var(--color-emerald-green);box-shadow:0 0 0 .125rem var(--color-emerald-green)}}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{border-radius:inherit;bottom:0;height:inherit;left:-.5rem;outline:none;top:0;z-index:1}html[data-whatinput=touch] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{--border-color:var(--color-emerald-green);border-color:transparent;-webkit-box-shadow:0 0 0 .125rem var(--border-color);box-shadow:0 0 0 .125rem var(--border-color)}@media screen and (-ms-high-contrast:none){html[data-whatinput=touch] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{-webkit-box-shadow:0 0 0 .125rem #14555a;box-shadow:0 0 0 .125rem #14555a;-webkit-box-shadow:0 0 0 .125rem var(--color-emerald-green);box-shadow:0 0 0 .125rem var(--color-emerald-green)}}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{bottom:-.5rem;content:"";left:-1rem;position:absolute;right:.5rem;right:-.5rem;top:-.5rem}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after{visibility:hidden}.dnb-table .dnb-table__th.dnb-table--sortable[align=right],.dnb-table>thead>tr>th.dnb-table--sortable[align=right]{padding-right:.5rem}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right{padding-right:.5rem}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text{padding-right:0}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text:after{right:0}.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:not(:hover) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:not(:hover) .dnb-button__text:after{opacity:0}.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button .dnb-icon,.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button .dnb-icon{opacity:1}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after{color:#007272;color:var(--color-sea-green);opacity:1}.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after{visibility:visible}html[data-whatinput=keyboard] .dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus .dnb-button__text:after,html[data-whatinput=keyboard]
|
|
2
|
-
.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus .dnb-button__text:after{visibility:hidden}.dnb-table .dnb-table__th.dnb-table--reversed .dnb-table__sort-button.dnb-button .dnb-icon,.dnb-table>thead>tr>th.dnb-table--reversed .dnb-table__sort-button.dnb-button .dnb-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.dnb-table .dnb-table__th
|
|
1
|
+
.dnb-table{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#333;color:var(--color-black-80,#333);font-family:DNB,sans-serif;font-family:var(--font-family-default);font-size:1rem;font-size:var(--font-size-small);font-style:normal;font-weight:400;font-weight:var(--font-weight-basis);line-height:1.5rem;line-height:var(--line-height-basis);margin:0;padding:0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-break:break-word}.dnb-table *,.dnb-table :after,.dnb-table :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-table :after,.dnb-table :before{text-decoration:inherit;vertical-align:inherit}.dnb-table>thead>tr>th,.dnb-table>tr>th,.dnb-table__th{background-color:#fff;background-color:var(--color-white);color:#000;color:var(--color-black);font-weight:500;font-weight:var(--font-weight-medium);padding:3rem 1rem .5rem;padding:var(--spacing-x-large) var(--spacing-small) var(--spacing-x-small);vertical-align:bottom}.dnb-table>thead>tr>th:not([align]),.dnb-table>tr>th:not([align]),.dnb-table__th:not([align]){text-align:inherit}@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal){.dnb-table>thead>tr>th,.dnb-table>tr>th,.dnb-table__th{padding-bottom:calc(.5rem - .5px);padding-bottom:calc(var(--spacing-x-small) - .5px)}}.dnb-table__th__horizontal{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex}.dnb-table{--border:0.0625rem solid var(--color-black-8);--outline:0.0625rem solid var(--color-black-8)}.dnb-table>tbody>tr>td,.dnb-table>tr>td,.dnb-table>tr>th[scope=row],.dnb-table__td{color:currentColor;color:var(--theme-color-black-80,currentColor);padding:1rem;padding:var(--spacing-small);padding-bottom:1.25rem;padding-bottom:calc(var(--spacing-small)*1.25);padding-top:1.25rem;padding-top:calc(var(--spacing-small)*1.25);vertical-align:baseline}.dnb-table--border tbody .dnb-table__td{z-index:2}.dnb-table--border tbody .dnb-table__td:after{border:var(--border);border-bottom:none;border-right:none;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1}.dnb-table--border tbody .dnb-table__td:first-of-type:after{border-left:none}.dnb-table:not(.dnb-table--outline) tbody .dnb-table__tr:last-of-type .dnb-table__td:after{border-bottom:var(--border)}.dnb-table--outline thead .dnb-table__th{z-index:2}.dnb-table--outline thead .dnb-table__th:after{border-top:var(--outline);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1}.dnb-table--outline thead .dnb-table__th:first-of-type:after{border-left:var(--outline)}.dnb-table--outline thead .dnb-table__th:last-of-type:after{border-right:var(--outline)}.dnb-table--outline tbody .dnb-table__td{z-index:2}.dnb-table--outline tbody .dnb-table__td:first-of-type:after,.dnb-table--outline tbody .dnb-table__td:last-of-type:after{bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1}.dnb-table--outline tbody .dnb-table__td:first-of-type:after{border-left:var(--outline)}.dnb-table--outline tbody .dnb-table__td:last-of-type:after{border-right:var(--outline)}.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td{z-index:2}.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:after{border-bottom:var(--outline);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1}.dnb-table--outline thead .dnb-table__th:first-of-type,.dnb-table--outline thead .dnb-table__th:first-of-type:after{border-radius:.5rem 0 0 0}.dnb-table--outline thead .dnb-table__th:last-of-type,.dnb-table--outline thead .dnb-table__th:last-of-type:after{border-radius:0 .5rem 0 0}.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type,.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type:after{border-radius:0 0 0 .5rem}.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type,.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type:after{border-radius:0 0 .5rem 0}.dnb-table__td--no-spacing,.dnb-table td.dnb-table__td--no-spacing{padding:0}.dnb-table__td--spacing-horizontal,.dnb-table td.dnb-table__td--spacing-horizontal{padding-bottom:0;padding-top:0}.dnb-table .dnb-table__tr,.dnb-table .dnb-table__tr--even,.dnb-table>tbody>tr{background-color:#f2f2f5;background-color:var(--color-lavender)}.dnb-table .dnb-table__tr--odd,.dnb-table .dnb-table__tr:not(.dnb-table__tr--even):nth-of-type(2n),.dnb-table>tbody>tr:not(.dnb-table__tr--even):nth-of-type(2n){background-color:#fff;background-color:var(--color-white)}.dnb-table--outline thead .dnb-table__tr:first-of-type{-webkit-clip-path:inset(0 round .5rem .5rem 0 0);clip-path:inset(0 round .5rem .5rem 0 0)}.dnb-table--outline tbody .dnb-table__tr:last-of-type{-webkit-clip-path:inset(0 round 0 0 .5rem .5rem);clip-path:inset(0 round 0 0 .5rem .5rem)}.dnb-table>tbody>tr>td,.dnb-table>thead>tr>th,.dnb-table>tr>td,.dnb-table>tr>th,.dnb-table__td,.dnb-table__th{border-spacing:0;font-size:1.125rem;font-size:var(--font-size-basis);line-height:1.5rem;line-height:var(--line-height-basis);position:relative;word-break:keep-all}.dnb-table__sticky-helper>td{display:block;height:0;overflow:hidden;padding:0!important}.dnb-table tr.sticky th{position:sticky;top:0;top:var(--table-top,0);z-index:2}.dnb-table tr.sticky th:before{bottom:0;-webkit-box-shadow:0 -2px 12px 8px rgba(51,51,51,.08);box-shadow:0 -2px 12px 8px rgba(51,51,51,.08);-webkit-box-shadow:var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);box-shadow:var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);-webkit-clip-path:inset(6px 0 -48px 0);clip-path:inset(6px 0 -48px 0);content:"";height:6px;left:0;opacity:0;position:absolute;right:0;-webkit-transition:opacity .3s ease-out;transition:opacity .3s ease-out}[data-visual-test-wrapper] .dnb-table tr.sticky th:before{-webkit-transition:none;transition:none}.dnb-table tr.sticky.show-shadow th:before{opacity:1}.dnb-table__container{--border:0.0625rem solid var(--color-black-8);background-color:#fff;background-color:var(--color-white);position:relative}.dnb-table__container:after{border:var(--border);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}.dnb-table__container,.dnb-table__container:after{border-radius:.5rem}.dnb-table__container,.dnb-table__container__body,.dnb-table__container__foot,.dnb-table__container__head{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.dnb-table__container__body .dnb-table:not([class*=space__bottom]){margin-bottom:0}.dnb-table__container__head{padding:2rem 1rem 0}.dnb-spacing .dnb-table__container__head .dnb-h--large:not([class*=space__top]){margin:0}.dnb-table__container__foot{padding:.5rem 1rem 2rem}.dnb-table{border-collapse:collapse;border-spacing:0;display:table;margin-bottom:1rem;margin-bottom:var(--spacing-small);margin-top:0;overflow:auto;table-layout:auto;width:100%}.dnb-table--fixed{table-layout:fixed;width:auto}.dnb-table--no-wrap{white-space:nowrap}.dnb-table,.dnb-table--left{text-align:left}.dnb-table--right{text-align:right}.dnb-table--center{text-align:center}.dnb-table>caption{caption-side:bottom;margin-top:.5rem;margin-top:var(--spacing-x-small)}.dnb-table--small,.dnb-table--small>tbody>tr>td,.dnb-table--small>thead>tr>th,.dnb-table--small>tr>td,.dnb-table--small>tr>th,.dnb-table>caption,.dnb-table>tbody>tr.dnb-table--small>td,.dnb-table>tbody>tr>td.dnb-table--small,.dnb-table>thead>tr.dnb-table--small>th,.dnb-table>thead>tr>th.dnb-table--small,.dnb-table>tr.dnb-table--small>td,.dnb-table>tr.dnb-table--small>th,.dnb-table>tr>td.dnb-table--small,.dnb-table>tr>th.dnb-table--small,.dnb-table__td.dnb-table--small,.dnb-table__th.dnb-table--small{font-size:1rem;font-size:var(--font-size-small)}.dnb-table--x-small,.dnb-table--x-small>tbody>tr>td,.dnb-table--x-small>thead>tr>th,.dnb-table--x-small>tr>td,.dnb-table--x-small>tr>th,.dnb-table>tbody>tr.dnb-table--x-small>td,.dnb-table>tbody>tr>td.dnb-table--x-small,.dnb-table>thead>tr.dnb-table--x-small>th,.dnb-table>thead>tr>th.dnb-table--x-small,.dnb-table>tr.dnb-table--x-small>td,.dnb-table>tr.dnb-table--x-small>th,.dnb-table>tr>td.dnb-table--x-small,.dnb-table>tr>th.dnb-table--x-small,.dnb-table__td.dnb-table--x-small,.dnb-table__th.dnb-table--x-small{font-size:.875rem;font-size:var(--font-size-x-small)}.dnb-table.dnb-skeleton>*{-webkit-text-fill-color:#ebebeb;-webkit-text-fill-color:var(--skeleton-color)}.dnb-table .dnb-table__th.dnb-table--sortable,.dnb-table>thead>tr>th.dnb-table--sortable{color:#14555a;color:var(--color-emerald-green)}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-shadow:none;box-shadow:none;color:inherit;font-size:inherit;font-weight:500;font-weight:var(--font-weight-medium);line-height:1.5rem;line-height:var(--line-height-basis);margin:0;padding:0 .5rem 0 0;position:relative;text-align:inherit;z-index:1}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon{opacity:0;-webkit-transition:opacity .2s ease-out,-webkit-transform .5s ease-out;transition:opacity .2s ease-out,-webkit-transform .5s ease-out;transition:opacity .2s ease-out,transform .5s ease-out;transition:opacity .2s ease-out,transform .5s ease-out,-webkit-transform .5s ease-out}[data-visual-test-wrapper] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon,[data-visual-test-wrapper] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button>.dnb-icon{-webkit-transition:none;transition:none}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text{font-size:inherit;margin:0}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__text:after{right:1rem}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__icon,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button .dnb-button__icon{-ms-flex-item-align:end;align-self:flex-end;margin-bottom:.25rem;margin-top:auto}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:not(:focus) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:not(:focus) .dnb-button__text:after{color:#14555a;color:var(--color-emerald-green);opacity:1}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]),html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]){color:#007272;color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]):not(:focus) .dnb-icon,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]):not(:focus) .dnb-icon{opacity:1}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after{opacity:0}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled],.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled],html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus[disabled]{cursor:not-allowed}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):before{bottom:-.5rem;content:"";left:-1rem;position:absolute;right:.5rem;right:-.5rem;top:-.5rem}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon{opacity:1}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled]{cursor:not-allowed}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]),.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]){color:#14555a;color:var(--color-emerald-green)}html[data-whatinput=mouse] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{--border-color:var(--color-emerald-green);border-color:transparent;-webkit-box-shadow:0 0 0 .125rem var(--border-color);box-shadow:0 0 0 .125rem var(--border-color)}@media screen and (-ms-high-contrast:none){html[data-whatinput=mouse] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=mouse] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{-webkit-box-shadow:0 0 0 .125rem #14555a;box-shadow:0 0 0 .125rem #14555a;-webkit-box-shadow:0 0 0 .125rem var(--color-emerald-green);box-shadow:0 0 0 .125rem var(--color-emerald-green)}}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{border-radius:inherit;bottom:0;height:inherit;left:-.5rem;outline:none;top:0;z-index:1}html[data-whatinput=touch] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{--border-color:var(--color-emerald-green);border-color:transparent;-webkit-box-shadow:0 0 0 .125rem var(--border-color);box-shadow:0 0 0 .125rem var(--border-color)}@media screen and (-ms-high-contrast:none){html[data-whatinput=touch] .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html[data-whatinput=touch] html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{-webkit-box-shadow:0 0 0 .125rem #14555a;box-shadow:0 0 0 .125rem #14555a;-webkit-box-shadow:0 0 0 .125rem var(--color-emerald-green);box-shadow:0 0 0 .125rem var(--color-emerald-green)}}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active:not([disabled]):before{bottom:-.5rem;content:"";left:-1rem;position:absolute;right:.5rem;right:-.5rem;top:-.5rem}.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after{visibility:hidden}.dnb-table .dnb-table__th.dnb-table--sortable[align=right],.dnb-table>thead>tr>th.dnb-table--sortable[align=right]{padding-right:.5rem}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right{padding-right:.5rem}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text{padding-right:0}.dnb-table .dnb-table__th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--sortable[align=right] .dnb-table__sort-button.dnb-button--tertiary.dnb-button--icon-position-right .dnb-button__text:after{right:0}.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:not(:hover) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:not(:hover) .dnb-button__text:after{opacity:0}.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button .dnb-icon,.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button .dnb-icon{opacity:1}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover[disabled],html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:not([disabled]) .dnb-button__text:after{color:#007272;color:var(--color-sea-green);opacity:1}.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after,.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text:after{visibility:visible}html[data-whatinput=keyboard] .dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus .dnb-button__text:after,html[data-whatinput=keyboard]
|
|
2
|
+
.dnb-table>thead>tr>th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus .dnb-button__text:after{visibility:hidden}.dnb-table .dnb-table__th.dnb-table--reversed .dnb-table__sort-button.dnb-button .dnb-icon,.dnb-table>thead>tr>th.dnb-table--reversed .dnb-table__sort-button.dnb-button .dnb-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.dnb-table .dnb-table__th .dnb-table__help-button,.dnb-table>thead>tr>th .dnb-table__help-button{margin-left:.5rem}.dnb-spacing .dnb-table dl,.dnb-spacing .dnb-table ol,.dnb-spacing .dnb-table p,.dnb-spacing .dnb-table pre,.dnb-spacing .dnb-table ul{margin-bottom:0;margin-top:0}
|
|
@@ -10,74 +10,15 @@
|
|
|
10
10
|
/*
|
|
11
11
|
* Utilities
|
|
12
12
|
*/
|
|
13
|
-
.dnb-table
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
border-spacing: 0;
|
|
26
|
-
word-break: keep-all; }
|
|
27
|
-
.dnb-table > tr > th,
|
|
28
|
-
.dnb-table > thead > tr > th, .dnb-table__th {
|
|
29
|
-
padding: 3rem 1rem 0.5rem;
|
|
30
|
-
padding: var(--spacing-x-large) var(--spacing-small) var(--spacing-x-small);
|
|
31
|
-
font-weight: 500;
|
|
32
|
-
font-weight: var(--font-weight-medium);
|
|
33
|
-
color: #000;
|
|
34
|
-
color: var(--color-black);
|
|
35
|
-
vertical-align: bottom;
|
|
36
|
-
background-color: #fff;
|
|
37
|
-
background-color: var(--color-white); }
|
|
38
|
-
.dnb-table > tr > th:not([align]),
|
|
39
|
-
.dnb-table > thead > tr > th:not([align]), .dnb-table__th:not([align]) {
|
|
40
|
-
text-align: inherit; }
|
|
41
|
-
@supports (-moz-appearance: meterbar) and (background-blend-mode: difference, normal) {
|
|
42
|
-
.dnb-table > tr > th,
|
|
43
|
-
.dnb-table > thead > tr > th, .dnb-table__th {
|
|
44
|
-
padding-bottom: calc(0.5rem - 0.5px);
|
|
45
|
-
padding-bottom: calc(var(--spacing-x-small) - 0.5px); } }
|
|
46
|
-
.dnb-table > tr > td,
|
|
47
|
-
.dnb-table > tbody > tr > td, .dnb-table__td,
|
|
48
|
-
.dnb-table > tr > th[scope='row'] {
|
|
49
|
-
padding: 1rem;
|
|
50
|
-
padding: var(--spacing-small);
|
|
51
|
-
padding-top: 1.25rem;
|
|
52
|
-
padding-top: calc(1rem * 1.25);
|
|
53
|
-
padding-top: calc(var(--spacing-small)*1.25);
|
|
54
|
-
padding-top: calc(var(--spacing-small) * 1.25);
|
|
55
|
-
padding-bottom: 1.188rem;
|
|
56
|
-
padding-bottom: calc(1rem * 1.188);
|
|
57
|
-
padding-bottom: calc(var(--spacing-small)*1.188);
|
|
58
|
-
padding-bottom: calc(var(--spacing-small) * 1.188);
|
|
59
|
-
/* 19/16 */
|
|
60
|
-
color: currentColor;
|
|
61
|
-
color: var(--theme-color-black-80, currentColor); }
|
|
62
|
-
.dnb-table > tbody > tr,
|
|
63
|
-
.dnb-table .dnb-table__tr,
|
|
64
|
-
.dnb-table .dnb-table__tr--even {
|
|
65
|
-
background-color: #f2f2f5;
|
|
66
|
-
background-color: var(--color-lavender); }
|
|
67
|
-
.dnb-table > tbody > tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
68
|
-
.dnb-table .dnb-table__tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
69
|
-
.dnb-table .dnb-table__tr--odd {
|
|
70
|
-
background-color: #fff;
|
|
71
|
-
background-color: var(--color-white); }
|
|
72
|
-
.dnb-table > thead > tr > th::after,
|
|
73
|
-
.dnb-table > tbody > tr:last-of-type > td::after,
|
|
74
|
-
.dnb-table > thead > .dnb-table__tr > .dnb-table__th::after,
|
|
75
|
-
.dnb-table > tbody > .dnb-table__tr:last-of-type > .dnb-table__td::after {
|
|
76
|
-
content: '';
|
|
77
|
-
position: absolute;
|
|
78
|
-
left: 0;
|
|
79
|
-
right: 0;
|
|
80
|
-
bottom: -1px;
|
|
81
|
-
height: 1px;
|
|
82
|
-
background-color: #ebebeb;
|
|
83
|
-
background-color: var(--color-black-8); }
|
|
13
|
+
.dnb-table:not(.dnb-table--border) > thead > tr > th::after,
|
|
14
|
+
.dnb-table:not(.dnb-table--border) > tbody > tr:last-of-type > td::after,
|
|
15
|
+
.dnb-table:not(.dnb-table--border) > thead > .dnb-table__tr > .dnb-table__th::after,
|
|
16
|
+
.dnb-table:not(.dnb-table--border) > tbody > .dnb-table__tr:last-of-type > .dnb-table__td::after {
|
|
17
|
+
content: '';
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
bottom: -0.0625rem;
|
|
22
|
+
height: 0.0625rem;
|
|
23
|
+
background-color: #ebebeb;
|
|
24
|
+
background-color: var(--color-black-8); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dnb-table
|
|
1
|
+
.dnb-table:not(.dnb-table--border)>tbody>.dnb-table__tr:last-of-type>.dnb-table__td:after,.dnb-table:not(.dnb-table--border)>tbody>tr:last-of-type>td:after,.dnb-table:not(.dnb-table--border)>thead>.dnb-table__tr>.dnb-table__th:after,.dnb-table:not(.dnb-table--border)>thead>tr>th:after{background-color:#ebebeb;background-color:var(--color-black-8);bottom:-.0625rem;content:"";height:.0625rem;left:0;position:absolute;right:0}
|