@dnb/eufemia 9.40.0 → 9.42.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 +35 -0
- package/cjs/components/accordion/style/_accordion.scss +1 -1
- package/cjs/components/autocomplete/style/dnb-autocomplete.css +3 -14
- package/cjs/components/autocomplete/style/dnb-autocomplete.min.css +2 -2
- package/cjs/components/checkbox/style/dnb-checkbox.css +0 -7
- package/cjs/components/checkbox/style/dnb-checkbox.min.css +1 -1
- package/cjs/components/date-picker/style/dnb-date-picker.css +3 -35
- package/cjs/components/date-picker/style/dnb-date-picker.min.css +2 -2
- package/cjs/components/drawer/types.d.ts +5 -5
- package/cjs/components/dropdown/style/dnb-dropdown.css +0 -7
- package/cjs/components/dropdown/style/dnb-dropdown.min.css +1 -1
- package/cjs/components/form-label/FormLabel.js +1 -1
- package/cjs/components/form-label/style/_form-label.scss +0 -13
- package/cjs/components/form-label/style/dnb-form-label.css +0 -7
- package/cjs/components/form-label/style/dnb-form-label.min.css +1 -1
- package/cjs/components/form-row/style/dnb-form-row.css +0 -7
- package/cjs/components/form-row/style/dnb-form-row.min.css +1 -1
- package/cjs/components/input/style/_input.scss +4 -0
- package/cjs/components/input/style/dnb-input.css +3 -7
- package/cjs/components/input/style/dnb-input.min.css +1 -1
- package/cjs/components/input-masked/style/dnb-input-masked.css +3 -7
- package/cjs/components/input-masked/style/dnb-input-masked.min.css +1 -1
- package/cjs/components/modal/Modal.d.ts +2 -2
- package/cjs/components/number-format/NumberUtils.d.ts +3 -0
- package/cjs/components/radio/style/dnb-radio.css +0 -7
- package/cjs/components/radio/style/dnb-radio.min.css +1 -1
- package/cjs/components/slider/style/dnb-slider.css +0 -7
- package/cjs/components/slider/style/dnb-slider.min.css +1 -1
- package/cjs/components/switch/style/dnb-switch.css +0 -7
- package/cjs/components/switch/style/dnb-switch.min.css +1 -1
- package/cjs/components/table/Table.d.ts +4 -2
- package/cjs/components/table/Table.js +15 -51
- package/cjs/components/table/TableAccordion.d.ts +10 -0
- package/cjs/components/table/TableAccordion.js +265 -0
- package/cjs/components/table/TableAccordionContent.d.ts +18 -0
- package/cjs/components/table/TableAccordionContent.js +126 -0
- package/cjs/components/table/TableContainer.js +5 -6
- package/cjs/components/table/TableScrollView.js +2 -1
- package/cjs/components/table/TableTd.d.ts +6 -1
- package/cjs/components/table/TableTd.js +5 -1
- package/cjs/components/table/TableTh.d.ts +3 -3
- package/cjs/components/table/TableTh.js +2 -0
- package/cjs/components/table/TableTr.d.ts +27 -0
- package/cjs/components/table/TableTr.js +95 -18
- package/cjs/components/table/index.d.ts +1 -0
- package/cjs/components/table/index.js +11 -1
- package/cjs/components/table/style/_table-accordion.scss +285 -0
- package/cjs/components/table/style/_table-container.scss +13 -1
- package/cjs/components/table/style/_table-header-buttons.scss +20 -1
- package/cjs/components/table/style/_table-td.scss +29 -2
- package/cjs/components/table/style/_table-tr.scss +8 -2
- package/cjs/components/table/style/_table.scss +9 -7
- package/cjs/components/table/style/dnb-table.css +586 -324
- package/cjs/components/table/style/dnb-table.min.css +11 -2
- package/cjs/components/table/style/themes/dnb-table-theme-ui.css +5 -1
- 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 +9 -1
- package/cjs/components/table/useHandleSortState.d.ts +34 -0
- package/cjs/components/table/useHandleSortState.js +196 -0
- package/cjs/components/textarea/style/dnb-textarea.css +0 -7
- package/cjs/components/textarea/style/dnb-textarea.min.css +1 -1
- package/cjs/components/toggle-button/style/dnb-toggle-button.css +0 -21
- package/cjs/components/toggle-button/style/dnb-toggle-button.min.css +1 -1
- package/cjs/elements/Element.d.ts +1 -1
- package/cjs/fragments/lib.d.ts +4 -7
- package/cjs/fragments/scroll-view/ScrollView.d.ts +12 -11
- package/cjs/fragments/scroll-view/ScrollView.js +8 -5
- package/cjs/fragments/scroll-view/style/_scroll-view.scss +11 -0
- package/cjs/shared/Eufemia.js +1 -1
- package/cjs/shared/helpers.js +7 -1
- package/cjs/shared/locales/en-GB.d.ts +4 -0
- package/cjs/shared/locales/en-GB.js +4 -0
- package/cjs/shared/locales/en-US.d.ts +4 -0
- package/cjs/shared/locales/index.d.ts +8 -0
- package/cjs/shared/locales/nb-NO.d.ts +4 -0
- package/cjs/shared/locales/nb-NO.js +4 -0
- package/cjs/style/dnb-ui-components.css +594 -320
- package/cjs/style/dnb-ui-components.min.css +13 -4
- package/cjs/style/dnb-ui-fragments.css +17 -1
- package/cjs/style/dnb-ui-fragments.min.css +1 -1
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.css +5 -1
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +1 -1
- package/cjs/style/themes/theme-ui/dnb-theme-ui.css +5 -1
- package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +1 -1
- package/components/accordion/style/_accordion.scss +1 -1
- package/components/autocomplete/style/dnb-autocomplete.css +3 -14
- package/components/autocomplete/style/dnb-autocomplete.min.css +2 -2
- package/components/checkbox/style/dnb-checkbox.css +0 -7
- package/components/checkbox/style/dnb-checkbox.min.css +1 -1
- package/components/date-picker/style/dnb-date-picker.css +3 -35
- package/components/date-picker/style/dnb-date-picker.min.css +2 -2
- package/components/drawer/types.d.ts +5 -5
- package/components/dropdown/style/dnb-dropdown.css +0 -7
- package/components/dropdown/style/dnb-dropdown.min.css +1 -1
- package/components/form-label/FormLabel.js +1 -1
- package/components/form-label/style/_form-label.scss +0 -13
- package/components/form-label/style/dnb-form-label.css +0 -7
- package/components/form-label/style/dnb-form-label.min.css +1 -1
- package/components/form-row/style/dnb-form-row.css +0 -7
- package/components/form-row/style/dnb-form-row.min.css +1 -1
- package/components/input/style/_input.scss +4 -0
- package/components/input/style/dnb-input.css +3 -7
- package/components/input/style/dnb-input.min.css +1 -1
- package/components/input-masked/style/dnb-input-masked.css +3 -7
- package/components/input-masked/style/dnb-input-masked.min.css +1 -1
- package/components/modal/Modal.d.ts +2 -2
- package/components/number-format/NumberUtils.d.ts +3 -0
- package/components/radio/style/dnb-radio.css +0 -7
- package/components/radio/style/dnb-radio.min.css +1 -1
- package/components/slider/style/dnb-slider.css +0 -7
- package/components/slider/style/dnb-slider.min.css +1 -1
- package/components/switch/style/dnb-switch.css +0 -7
- package/components/switch/style/dnb-switch.min.css +1 -1
- package/components/table/Table.d.ts +4 -2
- package/components/table/Table.js +13 -21
- package/components/table/TableAccordion.d.ts +10 -0
- package/components/table/TableAccordion.js +192 -0
- package/components/table/TableAccordionContent.d.ts +18 -0
- package/components/table/TableAccordionContent.js +63 -0
- package/components/table/TableContainer.js +5 -6
- package/components/table/TableScrollView.js +2 -1
- package/components/table/TableTd.d.ts +6 -1
- package/components/table/TableTd.js +3 -1
- package/components/table/TableTh.d.ts +3 -3
- package/components/table/TableTh.js +2 -0
- package/components/table/TableTr.d.ts +27 -0
- package/components/table/TableTr.js +59 -16
- package/components/table/index.d.ts +1 -0
- package/components/table/index.js +1 -0
- package/components/table/style/_table-accordion.scss +285 -0
- package/components/table/style/_table-container.scss +13 -1
- package/components/table/style/_table-header-buttons.scss +20 -1
- package/components/table/style/_table-td.scss +29 -2
- package/components/table/style/_table-tr.scss +8 -2
- package/components/table/style/_table.scss +9 -7
- package/components/table/style/dnb-table.css +586 -324
- package/components/table/style/dnb-table.min.css +11 -2
- package/components/table/style/themes/dnb-table-theme-ui.css +5 -1
- package/components/table/style/themes/dnb-table-theme-ui.min.css +1 -1
- package/components/table/style/themes/dnb-table-theme-ui.scss +9 -1
- package/components/table/useHandleSortState.d.ts +34 -0
- package/components/table/useHandleSortState.js +141 -0
- package/components/textarea/style/dnb-textarea.css +0 -7
- package/components/textarea/style/dnb-textarea.min.css +1 -1
- package/components/toggle-button/style/dnb-toggle-button.css +0 -21
- package/components/toggle-button/style/dnb-toggle-button.min.css +1 -1
- package/elements/Element.d.ts +1 -1
- package/es/components/accordion/style/_accordion.scss +1 -1
- package/es/components/autocomplete/style/dnb-autocomplete.css +3 -14
- package/es/components/autocomplete/style/dnb-autocomplete.min.css +2 -2
- package/es/components/checkbox/style/dnb-checkbox.css +0 -7
- package/es/components/checkbox/style/dnb-checkbox.min.css +1 -1
- package/es/components/date-picker/style/dnb-date-picker.css +3 -35
- package/es/components/date-picker/style/dnb-date-picker.min.css +2 -2
- package/es/components/drawer/types.d.ts +5 -5
- package/es/components/dropdown/style/dnb-dropdown.css +0 -7
- package/es/components/dropdown/style/dnb-dropdown.min.css +1 -1
- package/es/components/form-label/FormLabel.js +1 -1
- package/es/components/form-label/style/_form-label.scss +0 -13
- package/es/components/form-label/style/dnb-form-label.css +0 -7
- package/es/components/form-label/style/dnb-form-label.min.css +1 -1
- package/es/components/form-row/style/dnb-form-row.css +0 -7
- package/es/components/form-row/style/dnb-form-row.min.css +1 -1
- package/es/components/input/style/_input.scss +4 -0
- package/es/components/input/style/dnb-input.css +3 -7
- package/es/components/input/style/dnb-input.min.css +1 -1
- package/es/components/input-masked/style/dnb-input-masked.css +3 -7
- package/es/components/input-masked/style/dnb-input-masked.min.css +1 -1
- package/es/components/modal/Modal.d.ts +2 -2
- package/es/components/number-format/NumberUtils.d.ts +3 -0
- package/es/components/radio/style/dnb-radio.css +0 -7
- package/es/components/radio/style/dnb-radio.min.css +1 -1
- package/es/components/slider/style/dnb-slider.css +0 -7
- package/es/components/slider/style/dnb-slider.min.css +1 -1
- package/es/components/switch/style/dnb-switch.css +0 -7
- package/es/components/switch/style/dnb-switch.min.css +1 -1
- package/es/components/table/Table.d.ts +4 -2
- package/es/components/table/Table.js +14 -15
- package/es/components/table/TableAccordion.d.ts +10 -0
- package/es/components/table/TableAccordion.js +175 -0
- package/es/components/table/TableAccordionContent.d.ts +18 -0
- package/es/components/table/TableAccordionContent.js +54 -0
- package/es/components/table/TableContainer.js +5 -6
- package/es/components/table/TableScrollView.js +2 -1
- package/es/components/table/TableTd.d.ts +6 -1
- package/es/components/table/TableTd.js +3 -1
- package/es/components/table/TableTh.d.ts +3 -3
- package/es/components/table/TableTh.js +2 -0
- package/es/components/table/TableTr.d.ts +27 -0
- package/es/components/table/TableTr.js +51 -15
- package/es/components/table/index.d.ts +1 -0
- package/es/components/table/index.js +1 -0
- package/es/components/table/style/_table-accordion.scss +285 -0
- package/es/components/table/style/_table-container.scss +13 -1
- package/es/components/table/style/_table-header-buttons.scss +20 -1
- package/es/components/table/style/_table-td.scss +29 -2
- package/es/components/table/style/_table-tr.scss +8 -2
- package/es/components/table/style/_table.scss +9 -7
- package/es/components/table/style/dnb-table.css +586 -324
- package/es/components/table/style/dnb-table.min.css +11 -2
- package/es/components/table/style/themes/dnb-table-theme-ui.css +5 -1
- 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 +9 -1
- package/es/components/table/useHandleSortState.d.ts +34 -0
- package/es/components/table/useHandleSortState.js +111 -0
- package/es/components/textarea/style/dnb-textarea.css +0 -7
- package/es/components/textarea/style/dnb-textarea.min.css +1 -1
- package/es/components/toggle-button/style/dnb-toggle-button.css +0 -21
- package/es/components/toggle-button/style/dnb-toggle-button.min.css +1 -1
- package/es/elements/Element.d.ts +1 -1
- package/es/fragments/lib.d.ts +4 -7
- package/es/fragments/scroll-view/ScrollView.d.ts +12 -11
- package/es/fragments/scroll-view/ScrollView.js +7 -3
- package/es/fragments/scroll-view/style/_scroll-view.scss +11 -0
- package/es/shared/Eufemia.js +1 -1
- package/es/shared/helpers.js +7 -1
- package/es/shared/locales/en-GB.d.ts +4 -0
- package/es/shared/locales/en-GB.js +4 -0
- package/es/shared/locales/en-US.d.ts +4 -0
- package/es/shared/locales/index.d.ts +8 -0
- package/es/shared/locales/nb-NO.d.ts +4 -0
- package/es/shared/locales/nb-NO.js +4 -0
- package/es/style/dnb-ui-components.css +594 -320
- package/es/style/dnb-ui-components.min.css +13 -4
- package/es/style/dnb-ui-fragments.css +17 -1
- package/es/style/dnb-ui-fragments.min.css +1 -1
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.css +5 -1
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +1 -1
- package/es/style/themes/theme-ui/dnb-theme-ui.css +5 -1
- package/es/style/themes/theme-ui/dnb-theme-ui.min.css +1 -1
- 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 +3 -3
- package/esm/dnb-ui-extensions.min.mjs +4 -4
- package/esm/dnb-ui-lib.min.mjs +2 -2
- package/esm/dnb-ui-web-components.min.mjs +2 -2
- package/fragments/lib.d.ts +4 -7
- package/fragments/scroll-view/ScrollView.d.ts +12 -11
- package/fragments/scroll-view/ScrollView.js +8 -4
- package/fragments/scroll-view/style/_scroll-view.scss +11 -0
- package/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/shared/helpers.js +7 -1
- package/shared/locales/en-GB.d.ts +4 -0
- package/shared/locales/en-GB.js +4 -0
- package/shared/locales/en-US.d.ts +4 -0
- package/shared/locales/index.d.ts +8 -0
- package/shared/locales/nb-NO.d.ts +4 -0
- package/shared/locales/nb-NO.js +4 -0
- package/style/dnb-ui-components.css +594 -320
- package/style/dnb-ui-components.min.css +13 -4
- package/style/dnb-ui-fragments.css +17 -1
- package/style/dnb-ui-fragments.min.css +1 -1
- package/style/themes/theme-eiendom/dnb-theme-eiendom.css +5 -1
- package/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +1 -1
- package/style/themes/theme-ui/dnb-theme-ui.css +5 -1
- package/style/themes/theme-ui/dnb-theme-ui.min.css +1 -1
- 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 +3 -3
- package/umd/dnb-ui-extensions.min.js +4 -4
- package/umd/dnb-ui-lib.min.js +2 -2
- package/umd/dnb-ui-web-components.min.js +2 -2
|
@@ -76,322 +76,6 @@
|
|
|
76
76
|
* Button mixins
|
|
77
77
|
*
|
|
78
78
|
*/
|
|
79
|
-
/*
|
|
80
|
-
* Table component
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
|
-
/*
|
|
84
|
-
* Button mixins
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
.dnb-table__th__horizontal {
|
|
88
|
-
display: -webkit-box;
|
|
89
|
-
display: -ms-flexbox;
|
|
90
|
-
display: flex;
|
|
91
|
-
-webkit-box-align: end;
|
|
92
|
-
-ms-flex-align: end;
|
|
93
|
-
align-items: flex-end; }
|
|
94
|
-
|
|
95
|
-
.dnb-table--outline thead .dnb-table__th::after {
|
|
96
|
-
content: '';
|
|
97
|
-
position: absolute;
|
|
98
|
-
top: 0;
|
|
99
|
-
left: 0;
|
|
100
|
-
right: 0;
|
|
101
|
-
bottom: 0;
|
|
102
|
-
z-index: 1;
|
|
103
|
-
pointer-events: none;
|
|
104
|
-
border-top: var(--outline); }
|
|
105
|
-
|
|
106
|
-
.dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
107
|
-
border-left: var(--outline); }
|
|
108
|
-
|
|
109
|
-
.dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
110
|
-
border-right: var(--outline); }
|
|
111
|
-
|
|
112
|
-
.dnb-table--outline thead .dnb-table__th:first-of-type, .dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
113
|
-
border-radius: 0.5rem 0 0 0; }
|
|
114
|
-
|
|
115
|
-
.dnb-table--outline thead .dnb-table__th:last-of-type, .dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
116
|
-
border-radius: 0 0.5rem 0 0; }
|
|
117
|
-
|
|
118
|
-
.dnb-table--outline tbody .dnb-table__th:first-of-type::after {
|
|
119
|
-
content: '';
|
|
120
|
-
position: absolute;
|
|
121
|
-
top: 0;
|
|
122
|
-
left: 0;
|
|
123
|
-
right: 0;
|
|
124
|
-
bottom: 0;
|
|
125
|
-
z-index: 1;
|
|
126
|
-
pointer-events: none;
|
|
127
|
-
border-left: var(--outline); }
|
|
128
|
-
|
|
129
|
-
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th::after {
|
|
130
|
-
content: '';
|
|
131
|
-
position: absolute;
|
|
132
|
-
top: 0;
|
|
133
|
-
left: 0;
|
|
134
|
-
right: 0;
|
|
135
|
-
bottom: 0;
|
|
136
|
-
z-index: 1;
|
|
137
|
-
pointer-events: none;
|
|
138
|
-
border-bottom: var(--outline); }
|
|
139
|
-
|
|
140
|
-
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th:first-of-type::after {
|
|
141
|
-
border-radius: 0 0 0 0.5rem; }
|
|
142
|
-
|
|
143
|
-
/*
|
|
144
|
-
* Table component
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
/*
|
|
148
|
-
* Button mixins
|
|
149
|
-
*
|
|
150
|
-
*/
|
|
151
|
-
.dnb-table--border tbody .dnb-table__td::after {
|
|
152
|
-
content: '';
|
|
153
|
-
position: absolute;
|
|
154
|
-
top: 0;
|
|
155
|
-
left: 0;
|
|
156
|
-
right: 0;
|
|
157
|
-
bottom: 0;
|
|
158
|
-
z-index: 1;
|
|
159
|
-
pointer-events: none;
|
|
160
|
-
border: var(--border);
|
|
161
|
-
border-right: none;
|
|
162
|
-
border-bottom: none; }
|
|
163
|
-
|
|
164
|
-
.dnb-table--border tbody .dnb-table__td:first-of-type::after {
|
|
165
|
-
border-left: none; }
|
|
166
|
-
|
|
167
|
-
.dnb-table:not(.dnb-table--outline) tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
168
|
-
border-bottom: var(--border); }
|
|
169
|
-
|
|
170
|
-
.dnb-table--outline tbody .dnb-table__td {
|
|
171
|
-
/* stylelint-disable */
|
|
172
|
-
/* stylelint-enable */ }
|
|
173
|
-
.dnb-table--outline tbody .dnb-table__td:first-of-type::after, .dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
174
|
-
content: '';
|
|
175
|
-
position: absolute;
|
|
176
|
-
top: 0;
|
|
177
|
-
left: 0;
|
|
178
|
-
right: 0;
|
|
179
|
-
bottom: 0;
|
|
180
|
-
z-index: 1;
|
|
181
|
-
pointer-events: none; }
|
|
182
|
-
.dnb-table--outline tbody .dnb-table__td:first-of-type::after {
|
|
183
|
-
border-left: var(--outline); }
|
|
184
|
-
.dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
185
|
-
border-right: var(--outline); }
|
|
186
|
-
.dnb-table--outline tbody .dnb-table__td, .dnb-table--outline tbody .dnb-table__td::before, .dnb-table--outline tbody .dnb-table__td::after {
|
|
187
|
-
-webkit-transition: border-radius 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
188
|
-
transition: border-radius 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
189
|
-
-webkit-transition: border-radius 400ms var(--easing-default);
|
|
190
|
-
transition: border-radius 400ms var(--easing-default); }
|
|
191
|
-
|
|
192
|
-
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
193
|
-
content: '';
|
|
194
|
-
position: absolute;
|
|
195
|
-
top: 0;
|
|
196
|
-
left: 0;
|
|
197
|
-
right: 0;
|
|
198
|
-
bottom: 0;
|
|
199
|
-
z-index: 1;
|
|
200
|
-
pointer-events: none;
|
|
201
|
-
border-bottom: var(--outline); }
|
|
202
|
-
|
|
203
|
-
.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::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type::after {
|
|
204
|
-
border-radius: 0 0 0 0.5rem; }
|
|
205
|
-
|
|
206
|
-
.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::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type::after {
|
|
207
|
-
border-radius: 0 0 0.5rem 0; }
|
|
208
|
-
|
|
209
|
-
.dnb-table--outline tbody .dnb-table__tr .dnb-table__th ~ .dnb-table__td:first-of-type:first-of-type::after {
|
|
210
|
-
border-left: none; }
|
|
211
|
-
|
|
212
|
-
.dnb-table--border tbody .dnb-table__tr .dnb-table__th ~ .dnb-table__td:first-of-type:first-of-type::after {
|
|
213
|
-
border-left: var(--border); }
|
|
214
|
-
|
|
215
|
-
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type::after {
|
|
216
|
-
border-radius: 0 0 0 0; }
|
|
217
|
-
|
|
218
|
-
.dnb-table__td--no-spacing,
|
|
219
|
-
.dnb-table td.dnb-table__td--no-spacing {
|
|
220
|
-
padding: 0; }
|
|
221
|
-
|
|
222
|
-
.dnb-table__td--spacing-horizontal,
|
|
223
|
-
.dnb-table td.dnb-table__td--spacing-horizontal {
|
|
224
|
-
padding-top: 0;
|
|
225
|
-
padding-bottom: 0; }
|
|
226
|
-
|
|
227
|
-
/*
|
|
228
|
-
* Table component
|
|
229
|
-
*
|
|
230
|
-
*/
|
|
231
|
-
/*
|
|
232
|
-
* Button mixins
|
|
233
|
-
*
|
|
234
|
-
*/
|
|
235
|
-
.dnb-table > tbody > tr,
|
|
236
|
-
.dnb-table .dnb-table__tr,
|
|
237
|
-
.dnb-table .dnb-table__tr--even {
|
|
238
|
-
background-color: #f8f8f8;
|
|
239
|
-
background-color: var(--color-black-3); }
|
|
240
|
-
|
|
241
|
-
.dnb-table > tbody > tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
242
|
-
.dnb-table .dnb-table__tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
243
|
-
.dnb-table .dnb-table__tr--odd {
|
|
244
|
-
background-color: #fff;
|
|
245
|
-
background-color: var(--color-white); }
|
|
246
|
-
|
|
247
|
-
.dnb-table--outline thead .dnb-table__tr:first-of-type {
|
|
248
|
-
-webkit-clip-path: inset(0 round 0.5rem 0.5rem 0 0);
|
|
249
|
-
clip-path: inset(0 round 0.5rem 0.5rem 0 0); }
|
|
250
|
-
|
|
251
|
-
.dnb-table--outline tbody .dnb-table__tr:last-of-type {
|
|
252
|
-
-webkit-clip-path: inset(0 round 0 0 0.5rem 0.5rem);
|
|
253
|
-
clip-path: inset(0 round 0 0 0.5rem 0.5rem); }
|
|
254
|
-
|
|
255
|
-
/*
|
|
256
|
-
* Table component
|
|
257
|
-
*
|
|
258
|
-
*/
|
|
259
|
-
.dnb-table > tr > th,
|
|
260
|
-
.dnb-table > tr > td,
|
|
261
|
-
.dnb-table > thead > tr > th,
|
|
262
|
-
.dnb-table > tbody > tr > td, .dnb-table__th, .dnb-table__td {
|
|
263
|
-
position: relative;
|
|
264
|
-
border-spacing: 0;
|
|
265
|
-
word-break: keep-all; }
|
|
266
|
-
|
|
267
|
-
/*
|
|
268
|
-
* Table component
|
|
269
|
-
*
|
|
270
|
-
*/
|
|
271
|
-
.dnb-table__sticky-helper > td {
|
|
272
|
-
display: block;
|
|
273
|
-
overflow: hidden;
|
|
274
|
-
padding: 0 !important;
|
|
275
|
-
height: 0; }
|
|
276
|
-
|
|
277
|
-
.dnb-table tr.sticky:not(.css-position) th {
|
|
278
|
-
position: relative;
|
|
279
|
-
z-index: 3;
|
|
280
|
-
will-change: transform;
|
|
281
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
282
|
-
transform: translate3d(0, 0, 0);
|
|
283
|
-
-webkit-transform: translate3d(0, var(--table-offset, 0), 0);
|
|
284
|
-
transform: translate3d(0, var(--table-offset, 0), 0); }
|
|
285
|
-
|
|
286
|
-
.dnb-table tr.sticky.css-position {
|
|
287
|
-
position: sticky;
|
|
288
|
-
z-index: 3;
|
|
289
|
-
top: 0;
|
|
290
|
-
top: var(--table-top, 0); }
|
|
291
|
-
|
|
292
|
-
.dnb-table tr.sticky.is-sticky th::before {
|
|
293
|
-
content: '';
|
|
294
|
-
position: absolute;
|
|
295
|
-
left: 0;
|
|
296
|
-
right: 0;
|
|
297
|
-
bottom: 0;
|
|
298
|
-
height: 6px;
|
|
299
|
-
-webkit-box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
300
|
-
box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
301
|
-
-webkit-box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
302
|
-
box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
303
|
-
-webkit-clip-path: inset(6px 0 -48px 0);
|
|
304
|
-
clip-path: inset(6px 0 -48px 0); }
|
|
305
|
-
|
|
306
|
-
/*
|
|
307
|
-
* Table component
|
|
308
|
-
*
|
|
309
|
-
*/
|
|
310
|
-
.dnb-table__container {
|
|
311
|
-
position: relative; }
|
|
312
|
-
.dnb-table__container::after {
|
|
313
|
-
content: '';
|
|
314
|
-
position: absolute;
|
|
315
|
-
top: 0;
|
|
316
|
-
left: 0;
|
|
317
|
-
right: 0;
|
|
318
|
-
bottom: 0;
|
|
319
|
-
z-index: 1;
|
|
320
|
-
pointer-events: none;
|
|
321
|
-
z-index: 3;
|
|
322
|
-
border: var(--outline); }
|
|
323
|
-
.dnb-table__container, .dnb-table__container::after {
|
|
324
|
-
border-radius: 0.5rem; }
|
|
325
|
-
.dnb-table__container, .dnb-table__container__body, .dnb-table__container__head, .dnb-table__container__foot {
|
|
326
|
-
display: -webkit-box;
|
|
327
|
-
display: -ms-flexbox;
|
|
328
|
-
display: flex;
|
|
329
|
-
-webkit-box-orient: vertical;
|
|
330
|
-
-webkit-box-direction: normal;
|
|
331
|
-
-ms-flex-direction: column;
|
|
332
|
-
flex-direction: column; }
|
|
333
|
-
.dnb-table__container__body .dnb-table:not([class*='space__bottom']) {
|
|
334
|
-
margin-bottom: 0; }
|
|
335
|
-
.dnb-table__container__head {
|
|
336
|
-
padding: 2rem 1rem 0; }
|
|
337
|
-
.dnb-spacing .dnb-table__container__head .dnb-h--large:not([class*='space__top']) {
|
|
338
|
-
margin: 0; }
|
|
339
|
-
.dnb-table__container__foot {
|
|
340
|
-
padding: 0.5rem 1rem 2rem; }
|
|
341
|
-
.dnb-modal__content .dnb-table__container .dnb-table__scroll-view {
|
|
342
|
-
overflow: visible; }
|
|
343
|
-
|
|
344
|
-
/*
|
|
345
|
-
* Table deprecated parts
|
|
346
|
-
*
|
|
347
|
-
*/
|
|
348
|
-
.dnb-table {
|
|
349
|
-
/* stylelint-disable */ }
|
|
350
|
-
.dnb-table, .dnb-table--left {
|
|
351
|
-
text-align: left; }
|
|
352
|
-
.dnb-table--right {
|
|
353
|
-
text-align: right; }
|
|
354
|
-
.dnb-table--center {
|
|
355
|
-
text-align: center; }
|
|
356
|
-
.dnb-table--small,
|
|
357
|
-
.dnb-table--small > tr > th,
|
|
358
|
-
.dnb-table--small > tr > td,
|
|
359
|
-
.dnb-table--small > thead > tr > th,
|
|
360
|
-
.dnb-table--small > tbody > tr > td {
|
|
361
|
-
font-size: 1rem;
|
|
362
|
-
font-size: var(--font-size-small); }
|
|
363
|
-
.dnb-table > tr.dnb-table--small > th,
|
|
364
|
-
.dnb-table > tr.dnb-table--small > td,
|
|
365
|
-
.dnb-table > thead > tr.dnb-table--small > th,
|
|
366
|
-
.dnb-table > tbody > tr.dnb-table--small > td {
|
|
367
|
-
font-size: 1rem;
|
|
368
|
-
font-size: var(--font-size-small); }
|
|
369
|
-
.dnb-table > tr > th.dnb-table--small,
|
|
370
|
-
.dnb-table > tr > td.dnb-table--small,
|
|
371
|
-
.dnb-table > thead > tr > th.dnb-table--small,
|
|
372
|
-
.dnb-table > tbody > tr > td.dnb-table--small, .dnb-table__th.dnb-table--small, .dnb-table__td.dnb-table--small {
|
|
373
|
-
font-size: 1rem;
|
|
374
|
-
font-size: var(--font-size-small); }
|
|
375
|
-
.dnb-table--x-small,
|
|
376
|
-
.dnb-table--x-small > tr > th,
|
|
377
|
-
.dnb-table--x-small > tr > td,
|
|
378
|
-
.dnb-table--x-small > thead > tr > th,
|
|
379
|
-
.dnb-table--x-small > tbody > tr > td {
|
|
380
|
-
font-size: 0.875rem;
|
|
381
|
-
font-size: var(--font-size-x-small); }
|
|
382
|
-
.dnb-table > tr.dnb-table--x-small > th,
|
|
383
|
-
.dnb-table > tr.dnb-table--x-small > td,
|
|
384
|
-
.dnb-table > thead > tr.dnb-table--x-small > th,
|
|
385
|
-
.dnb-table > tbody > tr.dnb-table--x-small > td {
|
|
386
|
-
font-size: 0.875rem;
|
|
387
|
-
font-size: var(--font-size-x-small); }
|
|
388
|
-
.dnb-table > tr > th.dnb-table--x-small,
|
|
389
|
-
.dnb-table > tr > td.dnb-table--x-small,
|
|
390
|
-
.dnb-table > thead > tr > th.dnb-table--x-small,
|
|
391
|
-
.dnb-table > tbody > tr > td.dnb-table--x-small, .dnb-table__th.dnb-table--x-small, .dnb-table__td.dnb-table--x-small {
|
|
392
|
-
font-size: 0.875rem;
|
|
393
|
-
font-size: var(--font-size-x-small); }
|
|
394
|
-
|
|
395
79
|
.dnb-table {
|
|
396
80
|
display: table;
|
|
397
81
|
table-layout: auto;
|
|
@@ -501,12 +185,33 @@
|
|
|
501
185
|
html:not([data-whatintent='touch'])
|
|
502
186
|
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled])::before {
|
|
503
187
|
right: -0.5rem; }
|
|
504
|
-
.dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,
|
|
188
|
+
html[data-visual-test] .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,
|
|
189
|
+
:not(.dnb-table--active) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):active .dnb-icon, html[data-visual-test]
|
|
505
190
|
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,
|
|
191
|
+
:not(.dnb-table--active)
|
|
192
|
+
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):active .dnb-icon, html[data-visual-test]
|
|
193
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,
|
|
194
|
+
:not(.dnb-table--active)
|
|
195
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):active .dnb-icon, html[data-visual-test]
|
|
196
|
+
html:not([data-whatintent='touch'])
|
|
506
197
|
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon,
|
|
198
|
+
:not(.dnb-table--active)
|
|
507
199
|
html:not([data-whatintent='touch'])
|
|
508
|
-
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-icon {
|
|
200
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):active .dnb-icon {
|
|
509
201
|
opacity: 1; }
|
|
202
|
+
html:not([data-visual-test]) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after, html:not([data-visual-test])
|
|
203
|
+
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after, html:not([data-visual-test])
|
|
204
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after, html:not([data-visual-test])
|
|
205
|
+
html:not([data-whatintent='touch'])
|
|
206
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after {
|
|
207
|
+
opacity: 1;
|
|
208
|
+
color: inherit; }
|
|
209
|
+
html:not([data-visual-test]) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):not(:active) .dnb-button__text::after, html:not([data-visual-test])
|
|
210
|
+
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):not(:active) .dnb-button__text::after, html:not([data-visual-test])
|
|
211
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):not(:active) .dnb-button__text::after, html:not([data-visual-test])
|
|
212
|
+
html:not([data-whatintent='touch'])
|
|
213
|
+
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:focus:not([disabled]):not(:active) .dnb-button__text::after {
|
|
214
|
+
visibility: visible; }
|
|
510
215
|
.dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],
|
|
511
216
|
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],
|
|
512
217
|
.dnb-table .dnb-table__th.dnb-table--sortable .dnb-table__sort-button.dnb-button:active[disabled],
|
|
@@ -640,6 +345,18 @@
|
|
|
640
345
|
color: #007272;
|
|
641
346
|
color: var(--color-sea-green);
|
|
642
347
|
opacity: 1; }
|
|
348
|
+
.dnb-table > thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:focus[disabled],
|
|
349
|
+
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:focus[disabled],
|
|
350
|
+
.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:focus[disabled],
|
|
351
|
+
html:not([data-whatintent='touch'])
|
|
352
|
+
.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:focus[disabled] {
|
|
353
|
+
cursor: not-allowed; }
|
|
354
|
+
.dnb-table > thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after,
|
|
355
|
+
html:not([data-whatintent='touch']) .dnb-table > thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after,
|
|
356
|
+
.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after,
|
|
357
|
+
html:not([data-whatintent='touch'])
|
|
358
|
+
.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:focus:not([disabled]) .dnb-button__text::after {
|
|
359
|
+
opacity: 0; }
|
|
643
360
|
.dnb-table > thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text::after,
|
|
644
361
|
.dnb-table .dnb-table__th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus:not(:active) .dnb-button__text::after {
|
|
645
362
|
visibility: visible; }
|
|
@@ -651,12 +368,557 @@ thead > tr > th.dnb-table--active .dnb-table__sort-button.dnb-button:hover:focus
|
|
|
651
368
|
.dnb-table > thead > tr > th.dnb-table--reversed .dnb-table__sort-button.dnb-button .dnb-icon,
|
|
652
369
|
.dnb-table .dnb-table__th.dnb-table--reversed .dnb-table__sort-button.dnb-button .dnb-icon {
|
|
653
370
|
-webkit-transform: rotate(180deg);
|
|
654
|
-
transform: rotate(180deg);
|
|
655
|
-
-webkit-transform-origin: 50% 50%;
|
|
656
|
-
transform-origin: 50% 50%; }
|
|
657
|
-
.dnb-table .dnb-table__th .dnb-table__help-button,
|
|
658
|
-
.dnb-table > thead > tr > th .dnb-table__help-button {
|
|
659
|
-
margin-left: 0.5rem; }
|
|
371
|
+
transform: rotate(180deg);
|
|
372
|
+
-webkit-transform-origin: 50% 50%;
|
|
373
|
+
transform-origin: 50% 50%; }
|
|
374
|
+
.dnb-table .dnb-table__th .dnb-table__help-button,
|
|
375
|
+
.dnb-table > thead > tr > th .dnb-table__help-button {
|
|
376
|
+
margin-left: 0.5rem; }
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
* Table component
|
|
380
|
+
*
|
|
381
|
+
*/
|
|
382
|
+
/*
|
|
383
|
+
* Button mixins
|
|
384
|
+
*
|
|
385
|
+
*/
|
|
386
|
+
.dnb-table__th__horizontal {
|
|
387
|
+
display: -webkit-box;
|
|
388
|
+
display: -ms-flexbox;
|
|
389
|
+
display: flex;
|
|
390
|
+
-webkit-box-align: end;
|
|
391
|
+
-ms-flex-align: end;
|
|
392
|
+
align-items: flex-end; }
|
|
393
|
+
|
|
394
|
+
.dnb-table--outline thead .dnb-table__th::after {
|
|
395
|
+
content: '';
|
|
396
|
+
position: absolute;
|
|
397
|
+
top: 0;
|
|
398
|
+
left: 0;
|
|
399
|
+
right: 0;
|
|
400
|
+
bottom: 0;
|
|
401
|
+
z-index: 1;
|
|
402
|
+
pointer-events: none;
|
|
403
|
+
border-top: var(--outline); }
|
|
404
|
+
|
|
405
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
406
|
+
border-left: var(--outline); }
|
|
407
|
+
|
|
408
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
409
|
+
border-right: var(--outline); }
|
|
410
|
+
|
|
411
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type, .dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
412
|
+
border-radius: 0.5rem 0 0 0; }
|
|
413
|
+
|
|
414
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type, .dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
415
|
+
border-radius: 0 0.5rem 0 0; }
|
|
416
|
+
|
|
417
|
+
.dnb-table--outline tbody .dnb-table__th:first-of-type::after {
|
|
418
|
+
content: '';
|
|
419
|
+
position: absolute;
|
|
420
|
+
top: 0;
|
|
421
|
+
left: 0;
|
|
422
|
+
right: 0;
|
|
423
|
+
bottom: 0;
|
|
424
|
+
z-index: 1;
|
|
425
|
+
pointer-events: none;
|
|
426
|
+
border-left: var(--outline); }
|
|
427
|
+
|
|
428
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th::after {
|
|
429
|
+
content: '';
|
|
430
|
+
position: absolute;
|
|
431
|
+
top: 0;
|
|
432
|
+
left: 0;
|
|
433
|
+
right: 0;
|
|
434
|
+
bottom: 0;
|
|
435
|
+
z-index: 1;
|
|
436
|
+
pointer-events: none;
|
|
437
|
+
border-bottom: var(--outline); }
|
|
438
|
+
|
|
439
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th:first-of-type::after {
|
|
440
|
+
border-radius: 0 0 0 0.5rem; }
|
|
441
|
+
|
|
442
|
+
/*
|
|
443
|
+
* Table component
|
|
444
|
+
*
|
|
445
|
+
*/
|
|
446
|
+
/*
|
|
447
|
+
* Button mixins
|
|
448
|
+
*
|
|
449
|
+
*/
|
|
450
|
+
.dnb-table--border tbody .dnb-table__td::after {
|
|
451
|
+
content: '';
|
|
452
|
+
position: absolute;
|
|
453
|
+
top: 0;
|
|
454
|
+
left: 0;
|
|
455
|
+
right: 0;
|
|
456
|
+
bottom: 0;
|
|
457
|
+
z-index: 1;
|
|
458
|
+
pointer-events: none;
|
|
459
|
+
border: var(--border);
|
|
460
|
+
border-right: none;
|
|
461
|
+
border-bottom: none; }
|
|
462
|
+
|
|
463
|
+
.dnb-table--border tbody .dnb-table__td:first-of-type::after {
|
|
464
|
+
border-left: none; }
|
|
465
|
+
|
|
466
|
+
.dnb-table:not(.dnb-table--outline) tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
467
|
+
border-bottom: var(--border); }
|
|
468
|
+
|
|
469
|
+
.dnb-table--outline tbody .dnb-table__td {
|
|
470
|
+
/* stylelint-disable */
|
|
471
|
+
/* stylelint-enable */ }
|
|
472
|
+
.dnb-table--outline tbody .dnb-table__td:first-of-type::after, .dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
473
|
+
content: '';
|
|
474
|
+
position: absolute;
|
|
475
|
+
top: 0;
|
|
476
|
+
left: 0;
|
|
477
|
+
right: 0;
|
|
478
|
+
bottom: 0;
|
|
479
|
+
z-index: 1;
|
|
480
|
+
pointer-events: none; }
|
|
481
|
+
.dnb-table--outline tbody .dnb-table__td:first-of-type::after {
|
|
482
|
+
border-left: var(--outline); }
|
|
483
|
+
.dnb-table--outline tbody .dnb-table__td:last-of-type::after {
|
|
484
|
+
border-right: var(--outline); }
|
|
485
|
+
.dnb-table--outline tbody .dnb-table__td, .dnb-table--outline tbody .dnb-table__td::before, .dnb-table--outline tbody .dnb-table__td::after {
|
|
486
|
+
-webkit-transition: border-radius 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
487
|
+
transition: border-radius 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
488
|
+
-webkit-transition: border-radius 400ms var(--easing-default);
|
|
489
|
+
transition: border-radius 400ms var(--easing-default); }
|
|
490
|
+
|
|
491
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td::after {
|
|
492
|
+
content: '';
|
|
493
|
+
position: absolute;
|
|
494
|
+
top: 0;
|
|
495
|
+
left: 0;
|
|
496
|
+
right: 0;
|
|
497
|
+
bottom: 0;
|
|
498
|
+
z-index: 1;
|
|
499
|
+
pointer-events: none;
|
|
500
|
+
border-bottom: var(--outline); }
|
|
501
|
+
|
|
502
|
+
.dnb-table--outline thead .dnb-table__th:first-of-type, .dnb-table--outline thead .dnb-table__th:first-of-type::after {
|
|
503
|
+
border-radius: 0.5rem 0 0 0; }
|
|
504
|
+
|
|
505
|
+
.dnb-table--outline thead .dnb-table__th:last-of-type, .dnb-table--outline thead .dnb-table__th:last-of-type::after {
|
|
506
|
+
border-radius: 0 0.5rem 0 0; }
|
|
507
|
+
|
|
508
|
+
.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::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:first-of-type::after,
|
|
509
|
+
.dnb-table--outline tbody
|
|
510
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) .dnb-table__td:first-of-type,
|
|
511
|
+
.dnb-table--outline tbody
|
|
512
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) .dnb-table__td:first-of-type::before,
|
|
513
|
+
.dnb-table--outline tbody
|
|
514
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) .dnb-table__td:first-of-type::after {
|
|
515
|
+
border-radius: 0 0 0 0.5rem; }
|
|
516
|
+
|
|
517
|
+
.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::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__td:last-of-type::after,
|
|
518
|
+
.dnb-table--outline tbody
|
|
519
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) .dnb-table__td:last-of-type,
|
|
520
|
+
.dnb-table--outline tbody
|
|
521
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) .dnb-table__td:last-of-type::before,
|
|
522
|
+
.dnb-table--outline tbody
|
|
523
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) .dnb-table__td:last-of-type::after {
|
|
524
|
+
border-radius: 0 0 0.5rem 0; }
|
|
525
|
+
|
|
526
|
+
.dnb-table--outline tbody .dnb-table__tr.dnb-table__tr__accordion_content:last-of-type .dnb-table__td, .dnb-table--outline tbody .dnb-table__tr.dnb-table__tr__accordion_content:last-of-type .dnb-table__td::before, .dnb-table--outline tbody .dnb-table__tr.dnb-table__tr__accordion_content:last-of-type .dnb-table__td::after {
|
|
527
|
+
border-radius: 0 0 0.5rem 0.5rem; }
|
|
528
|
+
|
|
529
|
+
.dnb-table--outline tbody .dnb-table__tr .dnb-table__th ~ .dnb-table__td:first-of-type:first-of-type::after {
|
|
530
|
+
border-left: none; }
|
|
531
|
+
|
|
532
|
+
.dnb-table--border tbody .dnb-table__tr .dnb-table__th ~ .dnb-table__td:first-of-type:first-of-type::after {
|
|
533
|
+
border-left: var(--border); }
|
|
534
|
+
|
|
535
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type::before, .dnb-table--outline tbody .dnb-table__tr:last-of-type .dnb-table__th ~ .dnb-table__td:first-of-type::after {
|
|
536
|
+
border-radius: 0 0 0 0; }
|
|
537
|
+
|
|
538
|
+
.dnb-table__td--no-spacing,
|
|
539
|
+
.dnb-table td.dnb-table__td--no-spacing {
|
|
540
|
+
padding: 0; }
|
|
541
|
+
|
|
542
|
+
.dnb-table__td--spacing-horizontal,
|
|
543
|
+
.dnb-table td.dnb-table__td--spacing-horizontal {
|
|
544
|
+
padding-top: 0;
|
|
545
|
+
padding-bottom: 0; }
|
|
546
|
+
|
|
547
|
+
/*
|
|
548
|
+
* Table component
|
|
549
|
+
*
|
|
550
|
+
*/
|
|
551
|
+
/*
|
|
552
|
+
* Button mixins
|
|
553
|
+
*
|
|
554
|
+
*/
|
|
555
|
+
.dnb-table > tbody > tr,
|
|
556
|
+
.dnb-table .dnb-table__tr,
|
|
557
|
+
.dnb-table .dnb-table__tr--even {
|
|
558
|
+
background-color: #f8f8f8;
|
|
559
|
+
background-color: var(--color-black-3); }
|
|
560
|
+
|
|
561
|
+
.dnb-table > tbody > tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
562
|
+
.dnb-table .dnb-table__tr:not(.dnb-table__tr--even):nth-of-type(2n),
|
|
563
|
+
.dnb-table .dnb-table__tr--odd {
|
|
564
|
+
background-color: #fff;
|
|
565
|
+
background-color: var(--color-white); }
|
|
566
|
+
|
|
567
|
+
.dnb-table--outline thead .dnb-table__tr:first-of-type,
|
|
568
|
+
.dnb-table--outline tbody
|
|
569
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) {
|
|
570
|
+
-webkit-clip-path: inset(0 round 0.5rem 0.5rem 0 0);
|
|
571
|
+
clip-path: inset(0 round 0.5rem 0.5rem 0 0); }
|
|
572
|
+
|
|
573
|
+
.dnb-table--outline tbody .dnb-table__tr:last-of-type,
|
|
574
|
+
.dnb-table--outline tbody
|
|
575
|
+
.dnb-table__tr.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--expanded):nth-last-child(2) {
|
|
576
|
+
-webkit-clip-path: inset(0 round 0 0 0.5rem 0.5rem);
|
|
577
|
+
clip-path: inset(0 round 0 0 0.5rem 0.5rem); }
|
|
578
|
+
|
|
579
|
+
/*
|
|
580
|
+
* Table component
|
|
581
|
+
*
|
|
582
|
+
*/
|
|
583
|
+
.dnb-table > tr > th,
|
|
584
|
+
.dnb-table > tr > td,
|
|
585
|
+
.dnb-table > thead > tr > th,
|
|
586
|
+
.dnb-table > tbody > tr > td, .dnb-table__th, .dnb-table__td {
|
|
587
|
+
position: relative;
|
|
588
|
+
border-spacing: 0;
|
|
589
|
+
word-break: keep-all; }
|
|
590
|
+
|
|
591
|
+
/*
|
|
592
|
+
* Table component
|
|
593
|
+
*
|
|
594
|
+
*/
|
|
595
|
+
.dnb-table__sticky-helper > td {
|
|
596
|
+
display: block;
|
|
597
|
+
overflow: hidden;
|
|
598
|
+
padding: 0 !important;
|
|
599
|
+
height: 0; }
|
|
600
|
+
|
|
601
|
+
.dnb-table tr.sticky:not(.css-position) th {
|
|
602
|
+
position: relative;
|
|
603
|
+
z-index: 3;
|
|
604
|
+
will-change: transform;
|
|
605
|
+
-webkit-transform: translate3d(0, 0, 0);
|
|
606
|
+
transform: translate3d(0, 0, 0);
|
|
607
|
+
-webkit-transform: translate3d(0, var(--table-offset, 0), 0);
|
|
608
|
+
transform: translate3d(0, var(--table-offset, 0), 0); }
|
|
609
|
+
|
|
610
|
+
.dnb-table tr.sticky.css-position {
|
|
611
|
+
position: sticky;
|
|
612
|
+
z-index: 3;
|
|
613
|
+
top: 0;
|
|
614
|
+
top: var(--table-top, 0); }
|
|
615
|
+
|
|
616
|
+
.dnb-table tr.sticky.is-sticky th::before {
|
|
617
|
+
content: '';
|
|
618
|
+
position: absolute;
|
|
619
|
+
left: 0;
|
|
620
|
+
right: 0;
|
|
621
|
+
bottom: 0;
|
|
622
|
+
height: 6px;
|
|
623
|
+
-webkit-box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
624
|
+
box-shadow: 0 -2px 12px 8px rgba(51, 51, 51, 0.08);
|
|
625
|
+
-webkit-box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
626
|
+
box-shadow: var(--shadow-default-x) -2px 12px 8px var(--shadow-default-color);
|
|
627
|
+
-webkit-clip-path: inset(6px 0 -48px 0);
|
|
628
|
+
clip-path: inset(6px 0 -48px 0); }
|
|
629
|
+
|
|
630
|
+
/*
|
|
631
|
+
* Table component
|
|
632
|
+
*
|
|
633
|
+
*/
|
|
634
|
+
.dnb-table__container {
|
|
635
|
+
position: relative; }
|
|
636
|
+
.dnb-table__container::after {
|
|
637
|
+
content: '';
|
|
638
|
+
position: absolute;
|
|
639
|
+
top: 0;
|
|
640
|
+
left: 0;
|
|
641
|
+
right: 0;
|
|
642
|
+
bottom: 0;
|
|
643
|
+
z-index: 1;
|
|
644
|
+
pointer-events: none;
|
|
645
|
+
z-index: 3;
|
|
646
|
+
border: var(--outline); }
|
|
647
|
+
.dnb-table__container, .dnb-table__container::after {
|
|
648
|
+
border-radius: 0.5rem; }
|
|
649
|
+
.dnb-table__container, .dnb-table__container__body, .dnb-table__container__head, .dnb-table__container__foot {
|
|
650
|
+
display: -webkit-box;
|
|
651
|
+
display: -ms-flexbox;
|
|
652
|
+
display: flex;
|
|
653
|
+
-webkit-box-orient: vertical;
|
|
654
|
+
-webkit-box-direction: normal;
|
|
655
|
+
-ms-flex-direction: column;
|
|
656
|
+
flex-direction: column; }
|
|
657
|
+
.dnb-table__container__body .dnb-table:not([class*='space__bottom']) {
|
|
658
|
+
margin-bottom: 0; }
|
|
659
|
+
.dnb-table__container__body .dnb-table__size--large .dnb-table__th {
|
|
660
|
+
padding-top: 1.5rem; }
|
|
661
|
+
.dnb-table__container__head {
|
|
662
|
+
padding: 2rem 1rem 0; }
|
|
663
|
+
.dnb-table__container__head--empty {
|
|
664
|
+
padding: 0.5rem 0 0; }
|
|
665
|
+
.dnb-spacing .dnb-table__container__head .dnb-h--large:not([class*='space__top']) {
|
|
666
|
+
margin: 0; }
|
|
667
|
+
.dnb-table__container__foot {
|
|
668
|
+
padding: 1rem 1rem 1.5rem; }
|
|
669
|
+
.dnb-table__container__foot--empty {
|
|
670
|
+
padding: 0 0 1rem; }
|
|
671
|
+
.dnb-modal__content .dnb-table__container .dnb-table__scroll-view {
|
|
672
|
+
overflow: visible; }
|
|
673
|
+
|
|
674
|
+
/*
|
|
675
|
+
* Table deprecated parts
|
|
676
|
+
*
|
|
677
|
+
*/
|
|
678
|
+
.dnb-table {
|
|
679
|
+
/* stylelint-disable */ }
|
|
680
|
+
.dnb-table, .dnb-table--left {
|
|
681
|
+
text-align: left; }
|
|
682
|
+
.dnb-table--right {
|
|
683
|
+
text-align: right; }
|
|
684
|
+
.dnb-table--center {
|
|
685
|
+
text-align: center; }
|
|
686
|
+
.dnb-table--small,
|
|
687
|
+
.dnb-table--small > tr > th,
|
|
688
|
+
.dnb-table--small > tr > td,
|
|
689
|
+
.dnb-table--small > thead > tr > th,
|
|
690
|
+
.dnb-table--small > tbody > tr > td {
|
|
691
|
+
font-size: 1rem;
|
|
692
|
+
font-size: var(--font-size-small); }
|
|
693
|
+
.dnb-table > tr.dnb-table--small > th,
|
|
694
|
+
.dnb-table > tr.dnb-table--small > td,
|
|
695
|
+
.dnb-table > thead > tr.dnb-table--small > th,
|
|
696
|
+
.dnb-table > tbody > tr.dnb-table--small > td {
|
|
697
|
+
font-size: 1rem;
|
|
698
|
+
font-size: var(--font-size-small); }
|
|
699
|
+
.dnb-table > tr > th.dnb-table--small,
|
|
700
|
+
.dnb-table > tr > td.dnb-table--small,
|
|
701
|
+
.dnb-table > thead > tr > th.dnb-table--small,
|
|
702
|
+
.dnb-table > tbody > tr > td.dnb-table--small, .dnb-table__th.dnb-table--small, .dnb-table__td.dnb-table--small {
|
|
703
|
+
font-size: 1rem;
|
|
704
|
+
font-size: var(--font-size-small); }
|
|
705
|
+
.dnb-table--x-small,
|
|
706
|
+
.dnb-table--x-small > tr > th,
|
|
707
|
+
.dnb-table--x-small > tr > td,
|
|
708
|
+
.dnb-table--x-small > thead > tr > th,
|
|
709
|
+
.dnb-table--x-small > tbody > tr > td {
|
|
710
|
+
font-size: 0.875rem;
|
|
711
|
+
font-size: var(--font-size-x-small); }
|
|
712
|
+
.dnb-table > tr.dnb-table--x-small > th,
|
|
713
|
+
.dnb-table > tr.dnb-table--x-small > td,
|
|
714
|
+
.dnb-table > thead > tr.dnb-table--x-small > th,
|
|
715
|
+
.dnb-table > tbody > tr.dnb-table--x-small > td {
|
|
716
|
+
font-size: 0.875rem;
|
|
717
|
+
font-size: var(--font-size-x-small); }
|
|
718
|
+
.dnb-table > tr > th.dnb-table--x-small,
|
|
719
|
+
.dnb-table > tr > td.dnb-table--x-small,
|
|
720
|
+
.dnb-table > thead > tr > th.dnb-table--x-small,
|
|
721
|
+
.dnb-table > tbody > tr > td.dnb-table--x-small, .dnb-table__th.dnb-table--x-small, .dnb-table__td.dnb-table--x-small {
|
|
722
|
+
font-size: 0.875rem;
|
|
723
|
+
font-size: var(--font-size-x-small); }
|
|
724
|
+
|
|
725
|
+
/*
|
|
726
|
+
* Table component
|
|
727
|
+
*
|
|
728
|
+
*/
|
|
729
|
+
.dnb-table {
|
|
730
|
+
--accordion-background: var(--color-white);
|
|
731
|
+
--accordion-border-width: 0.0625rem;
|
|
732
|
+
--accordion-border: var(--accordion-border-width) solid
|
|
733
|
+
var(--color-black-20); }
|
|
734
|
+
.dnb-table__th.dnb-table__th__accordion-icon {
|
|
735
|
+
padding: 0; }
|
|
736
|
+
.dnb-table__th.dnb-table__th__accordion-icon,
|
|
737
|
+
.dnb-table__th.dnb-table__th__accordion-icon div {
|
|
738
|
+
width: 3.5rem;
|
|
739
|
+
text-indent: -300vw; }
|
|
740
|
+
.dnb-table__size--medium .dnb-table__th.dnb-table__th__accordion-icon, .dnb-table__size--medium
|
|
741
|
+
.dnb-table__th.dnb-table__th__accordion-icon div {
|
|
742
|
+
width: 3rem; }
|
|
743
|
+
.dnb-table__size--small .dnb-table__th.dnb-table__th__accordion-icon, .dnb-table__size--small
|
|
744
|
+
.dnb-table__th.dnb-table__th__accordion-icon div {
|
|
745
|
+
width: 2.5rem; }
|
|
746
|
+
.dnb-table__td.dnb-table__td__accordion-icon {
|
|
747
|
+
padding: 0;
|
|
748
|
+
-webkit-user-select: none;
|
|
749
|
+
-moz-user-select: none;
|
|
750
|
+
-ms-user-select: none;
|
|
751
|
+
user-select: none; }
|
|
752
|
+
.dnb-table__tr--has-accordion-content .dnb-table__toggle-button {
|
|
753
|
+
display: -webkit-box;
|
|
754
|
+
display: -ms-flexbox;
|
|
755
|
+
display: flex;
|
|
756
|
+
-webkit-box-pack: center;
|
|
757
|
+
-ms-flex-pack: center;
|
|
758
|
+
justify-content: center; }
|
|
759
|
+
.dnb-table__tr--has-accordion-content .dnb-table__toggle-button .dnb-icon {
|
|
760
|
+
color: #007272;
|
|
761
|
+
color: var(--color-sea-green);
|
|
762
|
+
-webkit-transition: -webkit-transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
763
|
+
transition: -webkit-transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
764
|
+
transition: transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
765
|
+
transition: transform 500ms cubic-bezier(0.42, 0, 0, 1), -webkit-transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
766
|
+
-webkit-transition: -webkit-transform 500ms var(--accordion-easing);
|
|
767
|
+
transition: -webkit-transform 500ms var(--accordion-easing);
|
|
768
|
+
transition: transform 500ms var(--accordion-easing);
|
|
769
|
+
transition: transform 500ms var(--accordion-easing), -webkit-transform 500ms var(--accordion-easing); }
|
|
770
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr--no-animation .dnb-table__toggle-button .dnb-icon,
|
|
771
|
+
html[data-visual-test]
|
|
772
|
+
.dnb-table__tr--has-accordion-content .dnb-table__toggle-button .dnb-icon {
|
|
773
|
+
-webkit-transition: none !important;
|
|
774
|
+
transition: none !important; }
|
|
775
|
+
.dnb-table__tr--has-accordion-content, .dnb-table__tr__accordion_content {
|
|
776
|
+
position: relative;
|
|
777
|
+
z-index: 2; }
|
|
778
|
+
.dnb-table__tr--has-accordion-content:hover, .dnb-table__tr--has-accordion-content:active, .dnb-table__tr--has-accordion-content:focus, .dnb-table__tr--has-accordion-content.dnb-table__tr--expanded, .dnb-table__tr__accordion_content {
|
|
779
|
+
z-index: 3; }
|
|
780
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr--expanded .dnb-table__toggle-button .dnb-icon {
|
|
781
|
+
-webkit-transform: rotate(180deg);
|
|
782
|
+
transform: rotate(180deg); }
|
|
783
|
+
.dnb-table--border .dnb-table__tr--has-accordion-content.dnb-table__tr--expanded td::after {
|
|
784
|
+
border-bottom: none; }
|
|
785
|
+
.dnb-table--border .dnb-table__tr--has-accordion-content.dnb-table__tr--expanded td:not(:first-of-type)::after {
|
|
786
|
+
border-left: none; }
|
|
787
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled) {
|
|
788
|
+
outline: none; }
|
|
789
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled) td::before {
|
|
790
|
+
content: '';
|
|
791
|
+
position: absolute;
|
|
792
|
+
z-index: 3;
|
|
793
|
+
top: 0;
|
|
794
|
+
right: 0;
|
|
795
|
+
bottom: 0;
|
|
796
|
+
left: 0;
|
|
797
|
+
inset: 0;
|
|
798
|
+
pointer-events: none;
|
|
799
|
+
border: 0.125rem solid transparent; }
|
|
800
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled) td:not(:first-of-type)::before {
|
|
801
|
+
border-left: none; }
|
|
802
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled) td:not(:last-of-type)::before {
|
|
803
|
+
border-right: none; }
|
|
804
|
+
html:not([data-whatintent='touch']) .dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):hover[disabled] {
|
|
805
|
+
cursor: not-allowed; }
|
|
806
|
+
html:not([data-whatintent='touch']) .dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):hover:not([disabled]) td::before {
|
|
807
|
+
border-color: #14555a;
|
|
808
|
+
border-color: var(--color-emerald-green); }
|
|
809
|
+
html:not([data-whatintent='touch']) .dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):hover:not([disabled]) .dnb-table__td__accordion-icon .dnb-icon {
|
|
810
|
+
color: #14555a;
|
|
811
|
+
color: var(--color-emerald-green); }
|
|
812
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr--expanded:not(.dnb-table__tr--disabled):hover .dnb-table__td {
|
|
813
|
+
background-color: #fff;
|
|
814
|
+
background-color: var(--color-white); }
|
|
815
|
+
html[data-whatinput='keyboard'] .dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):not(:active):not(:hover):focus td::before {
|
|
816
|
+
top: 0;
|
|
817
|
+
bottom: 0;
|
|
818
|
+
border-color: #14555a;
|
|
819
|
+
border-color: var(--color-emerald-green); }
|
|
820
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):not(:active):not(:hover):focus td:first-of-type::before {
|
|
821
|
+
left: 0; }
|
|
822
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):not(:active):not(:hover):focus td:last-of-type::before {
|
|
823
|
+
right: 0; }
|
|
824
|
+
html:not([data-whatintent='touch']) .dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):active:hover td::before,
|
|
825
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):active td::before {
|
|
826
|
+
border-color: #14555a;
|
|
827
|
+
border-color: var(--color-emerald-green);
|
|
828
|
+
border-width: 0.0625rem; }
|
|
829
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):active .dnb-table__td {
|
|
830
|
+
background-color: #f2f4ec;
|
|
831
|
+
background-color: var(--color-pistachio); }
|
|
832
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr:not(.dnb-table__tr--disabled):active .dnb-table__td .dnb-table__td__accordion-icon .dnb-icon {
|
|
833
|
+
color: #14555a;
|
|
834
|
+
color: var(--color-emerald-green); }
|
|
835
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr--expanded:not(.dnb-table__tr--disabled).dnb-table__tr--hover:not(:active):hover .dnb-table__td {
|
|
836
|
+
background-color: var(--accordion-background); }
|
|
837
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr--expanded:not(.dnb-table__tr--disabled).dnb-table__tr--hover:not(:active):hover .dnb-table__td::before {
|
|
838
|
+
border: none;
|
|
839
|
+
border-top: var(--accordion-border); }
|
|
840
|
+
html:not([data-whatinput='keyboard']) .dnb-table__tr--has-accordion-content.dnb-table__tr.dnb-table__tr--expanded:not(.dnb-table__tr--disabled):not(:active):not(:hover) {
|
|
841
|
+
background-color: var(--accordion-background); }
|
|
842
|
+
html:not([data-whatinput='keyboard']) .dnb-table__tr--has-accordion-content.dnb-table__tr.dnb-table__tr--expanded:not(.dnb-table__tr--disabled):not(:active):not(:hover) td::before {
|
|
843
|
+
border: none;
|
|
844
|
+
border-top: var(--accordion-border); }
|
|
845
|
+
.dnb-table__tr--has-accordion-content.dnb-table__tr--disabled .dnb-table__td__accordion-icon .dnb-icon {
|
|
846
|
+
color: #b3dada;
|
|
847
|
+
color: var(--color-sea-green-30); }
|
|
848
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) and (not (-webkit-touch-callout: none)) {
|
|
849
|
+
.dnb-table__tr__accordion_content[hidden] {
|
|
850
|
+
/**
|
|
851
|
+
* By reverting the display from "none" to "block",
|
|
852
|
+
* we trick VoiceOver to not make this row as the end of the table. We still need "hidden" to get the correct number of rows (childCount).
|
|
853
|
+
*/
|
|
854
|
+
display: block; } }
|
|
855
|
+
.dnb-table__tr__accordion_content td {
|
|
856
|
+
width: 100%; }
|
|
857
|
+
.dnb-table__tr__accordion_content td::before {
|
|
858
|
+
content: '';
|
|
859
|
+
position: absolute;
|
|
860
|
+
top: auto;
|
|
861
|
+
left: 0;
|
|
862
|
+
right: 0;
|
|
863
|
+
bottom: -0.0625rem;
|
|
864
|
+
bottom: calc(0.0625rem * -1);
|
|
865
|
+
bottom: calc(var(--accordion-border-width)*-1);
|
|
866
|
+
bottom: calc(var(--accordion-border-width) * -1);
|
|
867
|
+
pointer-events: none;
|
|
868
|
+
border-bottom: var(--accordion-border); }
|
|
869
|
+
.dnb-table--outline .dnb-table__tr__accordion_content:last-of-type td::before {
|
|
870
|
+
border-bottom: none; }
|
|
871
|
+
.dnb-table--border .dnb-table__tr__accordion_content td::after {
|
|
872
|
+
border-top: none; }
|
|
873
|
+
.dnb-table__tr__accordion_content__inner {
|
|
874
|
+
overflow: hidden;
|
|
875
|
+
will-change: height;
|
|
876
|
+
-webkit-transition: height 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
877
|
+
transition: height 400ms cubic-bezier(0.42, 0, 0, 1);
|
|
878
|
+
-webkit-transition: height 400ms var(--accordion-easing);
|
|
879
|
+
transition: height 400ms var(--accordion-easing);
|
|
880
|
+
position: relative; }
|
|
881
|
+
.dnb-table__tr__accordion_content__inner__spacing {
|
|
882
|
+
padding: 1rem;
|
|
883
|
+
-webkit-transform: translateY(-10px);
|
|
884
|
+
transform: translateY(-10px);
|
|
885
|
+
-webkit-transition: -webkit-transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
886
|
+
transition: -webkit-transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
887
|
+
transition: transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
888
|
+
transition: transform 500ms cubic-bezier(0.42, 0, 0, 1), -webkit-transform 500ms cubic-bezier(0.42, 0, 0, 1);
|
|
889
|
+
-webkit-transition: -webkit-transform 500ms var(--accordion-easing);
|
|
890
|
+
transition: -webkit-transform 500ms var(--accordion-easing);
|
|
891
|
+
transition: transform 500ms var(--accordion-easing);
|
|
892
|
+
transition: transform 500ms var(--accordion-easing), -webkit-transform 500ms var(--accordion-easing); }
|
|
893
|
+
.dnb-table__tr__accordion_content--parallax .dnb-table__tr__accordion_content__inner__spacing {
|
|
894
|
+
-webkit-transform: translateY(0);
|
|
895
|
+
transform: translateY(0); }
|
|
896
|
+
.dnb-table__tr__accordion_content > td,
|
|
897
|
+
.dnb-table__tr__accordion_content > td.dnb-table__td {
|
|
898
|
+
padding: 0; }
|
|
899
|
+
.dnb-table__tr__accordion_content > td .dnb-dl,
|
|
900
|
+
.dnb-table__tr__accordion_content > td .dnb-dl dt,
|
|
901
|
+
.dnb-table__tr__accordion_content > td.dnb-table__td .dnb-dl,
|
|
902
|
+
.dnb-table__tr__accordion_content > td.dnb-table__td .dnb-dl dt {
|
|
903
|
+
margin: 0; }
|
|
904
|
+
.dnb-table__tr__accordion_content--expanded > td,
|
|
905
|
+
.dnb-table__tr__accordion_content--expanded > td.dnb-table__td {
|
|
906
|
+
background-color: #fff;
|
|
907
|
+
background-color: var(--color-white); }
|
|
908
|
+
.dnb-table__tr__accordion_content.dnb-table__tr .dnb-table__td {
|
|
909
|
+
background-color: var(--accordion-background);
|
|
910
|
+
/**
|
|
911
|
+
* Safari on iOS and macOS has problems on animating when vertical-align is baseline.
|
|
912
|
+
* What happens is that the td is not 0, even the content inside is 0. With vertical top, we omit that.
|
|
913
|
+
* But we do not need baseline in this tr > td, so we reset it.
|
|
914
|
+
*/
|
|
915
|
+
vertical-align: top; }
|
|
916
|
+
.dnb-table__tr--has-accordion-content:not(.dnb-table__tr--disabled) {
|
|
917
|
+
cursor: pointer; }
|
|
918
|
+
.dnb-table__td-wrapper {
|
|
919
|
+
display: -webkit-box;
|
|
920
|
+
display: -ms-flexbox;
|
|
921
|
+
display: flex; }
|
|
660
922
|
|
|
661
923
|
.dnb-spacing .dnb-table p,
|
|
662
924
|
.dnb-spacing .dnb-table ul,
|