@dnb/eufemia 9.29.0 → 9.30.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 +16 -0
- package/cjs/components/button/style/themes/dnb-button-theme-eiendom.css +20 -0
- package/cjs/components/button/style/themes/dnb-button-theme-eiendom.min.css +2 -2
- package/cjs/components/button/style/themes/dnb-button-theme-eiendom.scss +8 -0
- package/cjs/components/slider/Slider.d.ts +2 -2
- package/cjs/components/slider/Slider.js +21 -0
- package/cjs/components/slider/SliderHelpers.d.ts +2 -2
- package/cjs/components/slider/SliderHelpers.js +10 -4
- package/cjs/components/slider/SliderInstance.js +1 -1
- package/cjs/components/slider/SliderProvider.js +50 -13
- package/cjs/components/slider/SliderThumb.js +5 -0
- package/cjs/components/slider/SliderTrack.js +3 -2
- package/cjs/components/slider/hooks/useSliderEvents.js +5 -5
- package/cjs/components/slider/hooks/useSliderProps.d.ts +1 -1
- package/cjs/components/slider/style/_slider.scss +1 -7
- package/cjs/components/slider/style/dnb-slider.css +1 -7
- package/cjs/components/slider/style/dnb-slider.min.css +1 -1
- package/cjs/components/slider/types.d.ts +28 -3
- package/cjs/components/tabs/style/themes/dnb-tabs-theme-eiendom.css +148 -0
- package/cjs/components/tabs/style/themes/dnb-tabs-theme-eiendom.min.css +1 -0
- package/cjs/components/tabs/style/themes/dnb-tabs-theme-eiendom.scss +14 -0
- package/cjs/shared/Eufemia.js +1 -1
- package/cjs/shared/helpers/withCamelCaseProps.js +7 -0
- package/cjs/style/dnb-ui-components.css +1 -7
- package/cjs/style/dnb-ui-components.min.css +1 -1
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.css +169 -0
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +3 -3
- package/cjs/style/themes/theme-eiendom/dnb-theme-eiendom.scss +1 -0
- package/components/button/style/themes/dnb-button-theme-eiendom.css +20 -0
- package/components/button/style/themes/dnb-button-theme-eiendom.min.css +2 -2
- package/components/button/style/themes/dnb-button-theme-eiendom.scss +8 -0
- package/components/slider/Slider.d.ts +2 -2
- package/components/slider/Slider.js +1 -0
- package/components/slider/SliderHelpers.d.ts +2 -2
- package/components/slider/SliderHelpers.js +10 -4
- package/components/slider/SliderInstance.js +1 -1
- package/components/slider/SliderProvider.js +50 -13
- package/components/slider/SliderThumb.js +5 -0
- package/components/slider/SliderTrack.js +3 -2
- package/components/slider/hooks/useSliderEvents.js +5 -5
- package/components/slider/hooks/useSliderProps.d.ts +1 -1
- package/components/slider/style/_slider.scss +1 -7
- package/components/slider/style/dnb-slider.css +1 -7
- package/components/slider/style/dnb-slider.min.css +1 -1
- package/components/slider/types.d.ts +28 -3
- package/components/tabs/style/themes/dnb-tabs-theme-eiendom.css +148 -0
- package/components/tabs/style/themes/dnb-tabs-theme-eiendom.min.css +1 -0
- package/components/tabs/style/themes/dnb-tabs-theme-eiendom.scss +14 -0
- package/es/components/button/style/themes/dnb-button-theme-eiendom.css +20 -0
- package/es/components/button/style/themes/dnb-button-theme-eiendom.min.css +2 -2
- package/es/components/button/style/themes/dnb-button-theme-eiendom.scss +8 -0
- package/es/components/slider/Slider.d.ts +2 -2
- package/es/components/slider/Slider.js +1 -0
- package/es/components/slider/SliderHelpers.d.ts +2 -2
- package/es/components/slider/SliderHelpers.js +10 -4
- package/es/components/slider/SliderInstance.js +1 -1
- package/es/components/slider/SliderProvider.js +49 -13
- package/es/components/slider/SliderThumb.js +7 -1
- package/es/components/slider/SliderTrack.js +3 -2
- package/es/components/slider/hooks/useSliderEvents.js +5 -5
- package/es/components/slider/hooks/useSliderProps.d.ts +1 -1
- package/es/components/slider/style/_slider.scss +1 -7
- package/es/components/slider/style/dnb-slider.css +1 -7
- package/es/components/slider/style/dnb-slider.min.css +1 -1
- package/es/components/slider/types.d.ts +28 -3
- package/es/components/tabs/style/themes/dnb-tabs-theme-eiendom.css +148 -0
- package/es/components/tabs/style/themes/dnb-tabs-theme-eiendom.min.css +1 -0
- package/es/components/tabs/style/themes/dnb-tabs-theme-eiendom.scss +14 -0
- package/es/shared/Eufemia.js +1 -1
- package/es/shared/helpers/withCamelCaseProps.js +7 -0
- package/es/style/dnb-ui-components.css +1 -7
- package/es/style/dnb-ui-components.min.css +1 -1
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.css +169 -0
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +3 -3
- package/es/style/themes/theme-eiendom/dnb-theme-eiendom.scss +1 -0
- 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 +1 -1
- 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/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/shared/helpers/withCamelCaseProps.js +7 -0
- package/style/dnb-ui-components.css +1 -7
- package/style/dnb-ui-components.min.css +1 -1
- package/style/themes/theme-eiendom/dnb-theme-eiendom.css +169 -0
- package/style/themes/theme-eiendom/dnb-theme-eiendom.min.css +3 -3
- package/style/themes/theme-eiendom/dnb-theme-eiendom.scss +1 -0
- 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 +1 -1
- 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 +3 -3
|
@@ -6,7 +6,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
6
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7
7
|
|
|
8
8
|
import { format } from '../number-format/NumberUtils';
|
|
9
|
-
export const percentToValue = (percent, min, max) => {
|
|
9
|
+
export const percentToValue = (percent, min, max, isReverse) => {
|
|
10
10
|
if (typeof min === 'string') {
|
|
11
11
|
min = parseFloat(min);
|
|
12
12
|
}
|
|
@@ -15,7 +15,13 @@ export const percentToValue = (percent, min, max) => {
|
|
|
15
15
|
max = parseFloat(max);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
let num = (max - min) * percent / 100 + min;
|
|
19
|
+
|
|
20
|
+
if (isReverse) {
|
|
21
|
+
num = max + min - num;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return num;
|
|
19
25
|
};
|
|
20
26
|
export const roundToStep = (number, step) => Math.round(number / step) * step;
|
|
21
27
|
export const getOffset = node => {
|
|
@@ -48,7 +54,7 @@ export const getMousePosition = event => {
|
|
|
48
54
|
y: event.pageY
|
|
49
55
|
};
|
|
50
56
|
};
|
|
51
|
-
export const calculatePercent = (node, event, isVertical
|
|
57
|
+
export const calculatePercent = (node, event, isVertical) => {
|
|
52
58
|
const {
|
|
53
59
|
width,
|
|
54
60
|
height
|
|
@@ -63,7 +69,7 @@ export const calculatePercent = (node, event, isVertical, isReverted) => {
|
|
|
63
69
|
} = getMousePosition(event);
|
|
64
70
|
const value = isVertical ? y - top : x - left;
|
|
65
71
|
const onePercent = (isVertical ? height : width) / 100;
|
|
66
|
-
return Math.abs(
|
|
72
|
+
return Math.abs(clamp(value / onePercent));
|
|
67
73
|
};
|
|
68
74
|
export const clamp = (value, min = 0, max = 100) => Math.min(Math.max(value, min), max);
|
|
69
75
|
export const roundValue = (value, step) => {
|
|
@@ -42,7 +42,7 @@ export function SliderInstance() {
|
|
|
42
42
|
className
|
|
43
43
|
} = allProps;
|
|
44
44
|
const mainParams = {
|
|
45
|
-
className: classnames("dnb-slider dnb-form-component", createSkeletonClass(null, skeleton), createSpacingClasses(allProps), className,
|
|
45
|
+
className: classnames("dnb-slider dnb-form-component", createSkeletonClass(null, skeleton), createSpacingClasses(allProps), className, isVertical && 'dnb-slider--vertical', disabled && 'dnb-slider__state--disabled', !showButtons && 'dnb-slider--no-buttons', isTrue(stretch) && 'dnb-slider--stretch', label && labelDirection && `dnb-slider__label--${labelDirection}`, showStatus && 'dnb-slider__form-status', status && `dnb-slider__status--${statusState}`)
|
|
46
46
|
};
|
|
47
47
|
const subtractButton = showButtons ? _SubtractButton || (_SubtractButton = React.createElement(SubtractButton, null)) : null;
|
|
48
48
|
const addButton = showButtons ? _AddButton || (_AddButton = React.createElement(AddButton, null)) : null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
-
const _excluded = ["step", "label", "labelDirection", "labelSrOnly", "status", "statusState", "statusProps", "statusNoAnimation", "globalStatusId", "stretch", "suffix", "thumbTitle", "subtractTitle", "addTitle", "hideButtons", "numberFormat", "skeleton", "max", "min", "disabled", "className", "id", "onInit", "onChange", "onDragStart", "onDragEnd", "vertical", "reverse", "value", "children"];
|
|
2
|
+
const _excluded = ["step", "label", "labelDirection", "labelSrOnly", "status", "statusState", "statusProps", "statusNoAnimation", "globalStatusId", "stretch", "suffix", "thumbTitle", "subtractTitle", "addTitle", "hideButtons", "multiThumbBehavior", "numberFormat", "skeleton", "max", "min", "disabled", "className", "id", "onInit", "onChange", "onDragStart", "onDragEnd", "vertical", "reverse", "value", "children"];
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { includeValidProps } from '../../components/form-row/FormRowHelpers';
|
|
5
5
|
import { usePropsWithContext } from '../../shared/hooks';
|
|
@@ -13,7 +13,8 @@ const defaultProps = {
|
|
|
13
13
|
subtractTitle: '−',
|
|
14
14
|
min: 0,
|
|
15
15
|
max: 100,
|
|
16
|
-
value: -1
|
|
16
|
+
value: -1,
|
|
17
|
+
multiThumbBehavior: 'swap'
|
|
17
18
|
};
|
|
18
19
|
export const SliderContext = React.createContext(null);
|
|
19
20
|
export function SliderProvider(localProps) {
|
|
@@ -45,6 +46,7 @@ export function SliderProvider(localProps) {
|
|
|
45
46
|
subtractTitle,
|
|
46
47
|
addTitle,
|
|
47
48
|
hideButtons,
|
|
49
|
+
multiThumbBehavior,
|
|
48
50
|
numberFormat,
|
|
49
51
|
skeleton,
|
|
50
52
|
max,
|
|
@@ -64,6 +66,7 @@ export function SliderProvider(localProps) {
|
|
|
64
66
|
attributes = _objectWithoutProperties(allProps, _excluded);
|
|
65
67
|
|
|
66
68
|
const [value, setValue] = React.useState(_value);
|
|
69
|
+
const realtimeValue = React.useRef(_value);
|
|
67
70
|
const [thumbState, setThumbState] = React.useState('initial');
|
|
68
71
|
const thumbIndex = React.useRef(-1);
|
|
69
72
|
const [isVertical] = React.useState(isTrue(_vertical));
|
|
@@ -93,24 +96,57 @@ export function SliderProvider(localProps) {
|
|
|
93
96
|
return currentIndex;
|
|
94
97
|
};
|
|
95
98
|
|
|
99
|
+
const updateValue = value => {
|
|
100
|
+
setValue(value);
|
|
101
|
+
realtimeValue.current = value;
|
|
102
|
+
};
|
|
103
|
+
|
|
96
104
|
const emitChange = (event, rawValue) => {
|
|
97
105
|
if (disabled || isTrue(skeleton)) {
|
|
98
106
|
return;
|
|
99
107
|
}
|
|
100
108
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
if (currentValue > -1 && rawValue !== value) {
|
|
104
|
-
let newValue = currentValue;
|
|
109
|
+
let numberValue = roundValue(rawValue, step);
|
|
110
|
+
let multiValues = numberValue;
|
|
105
111
|
|
|
112
|
+
if (numberValue > -1) {
|
|
106
113
|
if (isMulti) {
|
|
107
|
-
const currentIndex = getAndUpdateCurrentIndex(
|
|
108
|
-
|
|
114
|
+
const currentIndex = getAndUpdateCurrentIndex(numberValue);
|
|
115
|
+
const lower = realtimeValue.current[currentIndex - 1];
|
|
116
|
+
const upper = realtimeValue.current[currentIndex + 1];
|
|
117
|
+
|
|
118
|
+
if (multiThumbBehavior === 'omit') {
|
|
119
|
+
if (numberValue < lower) {
|
|
120
|
+
numberValue = lower;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (numberValue > upper) {
|
|
124
|
+
numberValue = upper;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
multiValues = getUpdatedValues(multiThumbBehavior === 'push' ? realtimeValue.current : value, currentIndex, numberValue);
|
|
129
|
+
|
|
130
|
+
if (multiThumbBehavior === 'push') {
|
|
131
|
+
if (typeof lower !== 'undefined' && numberValue < lower) {
|
|
132
|
+
multiValues[currentIndex - 1] = numberValue;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (typeof upper !== 'undefined' && numberValue >= upper) {
|
|
136
|
+
multiValues[currentIndex + 1] = numberValue;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (numberValue === realtimeValue.current[currentIndex]) {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
} else if (numberValue === realtimeValue.current) {
|
|
144
|
+
return;
|
|
109
145
|
}
|
|
110
146
|
|
|
111
147
|
if (typeof onChange === 'function') {
|
|
112
148
|
const obj = {
|
|
113
|
-
value:
|
|
149
|
+
value: multiValues,
|
|
114
150
|
rawValue,
|
|
115
151
|
raw_value: rawValue,
|
|
116
152
|
event,
|
|
@@ -118,13 +154,13 @@ export function SliderProvider(localProps) {
|
|
|
118
154
|
};
|
|
119
155
|
|
|
120
156
|
if (numberFormat) {
|
|
121
|
-
obj.number = formatNumber(
|
|
157
|
+
obj.number = formatNumber(numberValue, numberFormat);
|
|
122
158
|
}
|
|
123
159
|
|
|
124
160
|
dispatchCustomElementEvent(allProps, 'onChange', obj);
|
|
125
161
|
}
|
|
126
162
|
|
|
127
|
-
|
|
163
|
+
updateValue(multiValues);
|
|
128
164
|
}
|
|
129
165
|
};
|
|
130
166
|
|
|
@@ -135,10 +171,10 @@ export function SliderProvider(localProps) {
|
|
|
135
171
|
});
|
|
136
172
|
|
|
137
173
|
if (hasChanged) {
|
|
138
|
-
|
|
174
|
+
updateValue(_value);
|
|
139
175
|
}
|
|
140
176
|
} else {
|
|
141
|
-
|
|
177
|
+
updateValue(_value);
|
|
142
178
|
}
|
|
143
179
|
}, [_value, isMulti]);
|
|
144
180
|
const trackRef = React.useRef();
|
|
@@ -16,6 +16,7 @@ export function SliderThumb() {
|
|
|
16
16
|
values,
|
|
17
17
|
thumbIndex,
|
|
18
18
|
isVertical,
|
|
19
|
+
isReverse,
|
|
19
20
|
showStatus,
|
|
20
21
|
attributes,
|
|
21
22
|
allProps
|
|
@@ -59,7 +60,12 @@ export function SliderThumb() {
|
|
|
59
60
|
validateDOMAttributes(allProps, thumbParams);
|
|
60
61
|
return React.createElement(React.Fragment, null, values.map((value, i) => {
|
|
61
62
|
const index = thumbIndex.current;
|
|
62
|
-
|
|
63
|
+
let percent = clamp((value - min) * 100 / (max - min));
|
|
64
|
+
|
|
65
|
+
if (isReverse) {
|
|
66
|
+
percent = 100 - percent;
|
|
67
|
+
}
|
|
68
|
+
|
|
63
69
|
const style = {
|
|
64
70
|
zIndex: index === i ? 4 : 3,
|
|
65
71
|
[`${isVertical ? 'top' : 'left'}`]: `${percent}%`
|
|
@@ -65,6 +65,7 @@ export function SliderTrackBefore() {
|
|
|
65
65
|
const {
|
|
66
66
|
values: origValues,
|
|
67
67
|
isVertical,
|
|
68
|
+
isReverse,
|
|
68
69
|
thumbIndex,
|
|
69
70
|
allProps: {
|
|
70
71
|
min,
|
|
@@ -85,8 +86,8 @@ export function SliderTrackBefore() {
|
|
|
85
86
|
const lowerPercent = 100 - clamp((lowerValue - min) * 100 / (max - min));
|
|
86
87
|
const units = [trackObj[isVertical ? 1 : 0][0], trackObj[isVertical ? 1 : 0][1]];
|
|
87
88
|
const style = {};
|
|
88
|
-
style[units[0]] = `${lowerPercent}%`;
|
|
89
|
-
style[units[1]] = `${upperPercent}%`;
|
|
89
|
+
style[units[isReverse ? 1 : 0]] = `${lowerPercent}%`;
|
|
90
|
+
style[units[isReverse ? 0 : 1]] = `${upperPercent}%`;
|
|
90
91
|
return React.createElement("span", {
|
|
91
92
|
className: "dnb-slider__line dnb-slider__line__before",
|
|
92
93
|
style: style
|
|
@@ -4,10 +4,10 @@ import { calculatePercent, createMockDiv, percentToValue } from '../SliderHelper
|
|
|
4
4
|
import { SliderContext } from '../SliderProvider';
|
|
5
5
|
export function useSliderEvents() {
|
|
6
6
|
const {
|
|
7
|
+
isReverse,
|
|
7
8
|
emitChange,
|
|
8
9
|
trackRef,
|
|
9
10
|
isVertical,
|
|
10
|
-
isReverse,
|
|
11
11
|
setJumpedState,
|
|
12
12
|
setThumbState,
|
|
13
13
|
setThumbIndex,
|
|
@@ -21,8 +21,8 @@ export function useSliderEvents() {
|
|
|
21
21
|
} = allProps;
|
|
22
22
|
|
|
23
23
|
const onTrackClickHandler = event => {
|
|
24
|
-
const percent = calculatePercent(trackRef.current, event, isVertical
|
|
25
|
-
emitChange(event, percentToValue(percent, min, max));
|
|
24
|
+
const percent = calculatePercent(trackRef.current, event, isVertical);
|
|
25
|
+
emitChange(event, percentToValue(percent, min, max, isReverse));
|
|
26
26
|
setJumpedState();
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -93,8 +93,8 @@ export function useSliderEvents() {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
if (elem) {
|
|
96
|
-
const percent = calculatePercent(elem, event, isVertical
|
|
97
|
-
emitChange(event, percentToValue(percent, min, max));
|
|
96
|
+
const percent = calculatePercent(elem, event, isVertical);
|
|
97
|
+
emitChange(event, percentToValue(percent, min, max, isReverse));
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useSliderProps(): import("
|
|
1
|
+
export declare function useSliderProps(): import("..").SliderContextTypes;
|
|
@@ -101,12 +101,6 @@
|
|
|
101
101
|
min-width: inherit;
|
|
102
102
|
min-height: inherit;
|
|
103
103
|
}
|
|
104
|
-
&--reverse &__track {
|
|
105
|
-
transform: scaleX(-1);
|
|
106
|
-
}
|
|
107
|
-
&--reverse#{&}--vertical &__track {
|
|
108
|
-
transform: scaleY(-1);
|
|
109
|
-
}
|
|
110
104
|
|
|
111
105
|
&__line {
|
|
112
106
|
position: absolute;
|
|
@@ -180,7 +174,7 @@
|
|
|
180
174
|
line-height: var(--slider-button-size);
|
|
181
175
|
transform: translateY(0.25rem);
|
|
182
176
|
|
|
183
|
-
z-index:
|
|
177
|
+
z-index: 2;
|
|
184
178
|
}
|
|
185
179
|
&--vertical &__button.dnb-button--size-small {
|
|
186
180
|
transform: translateX(0.25rem);
|
|
@@ -1217,12 +1217,6 @@ legend.dnb-form-label {
|
|
|
1217
1217
|
height: inherit;
|
|
1218
1218
|
min-width: inherit;
|
|
1219
1219
|
min-height: inherit; }
|
|
1220
|
-
.dnb-slider--reverse .dnb-slider__track {
|
|
1221
|
-
-webkit-transform: scaleX(-1);
|
|
1222
|
-
transform: scaleX(-1); }
|
|
1223
|
-
.dnb-slider--reverse.dnb-slider--vertical .dnb-slider__track {
|
|
1224
|
-
-webkit-transform: scaleY(-1);
|
|
1225
|
-
transform: scaleY(-1); }
|
|
1226
1220
|
.dnb-slider__line {
|
|
1227
1221
|
position: absolute;
|
|
1228
1222
|
left: 0;
|
|
@@ -1289,7 +1283,7 @@ legend.dnb-form-label {
|
|
|
1289
1283
|
line-height: var(--slider-button-size);
|
|
1290
1284
|
-webkit-transform: translateY(0.25rem);
|
|
1291
1285
|
transform: translateY(0.25rem);
|
|
1292
|
-
z-index:
|
|
1286
|
+
z-index: 2; }
|
|
1293
1287
|
.dnb-slider--vertical .dnb-slider__button.dnb-button--size-small {
|
|
1294
1288
|
-webkit-transform: translateX(0.25rem);
|
|
1295
1289
|
transform: translateX(0.25rem); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dnb-icon{color:inherit;display:inline-block;font-size:1rem;height:1em;line-height:1rem;vertical-align:middle;width:1em}.dnb-icon img,.dnb-icon svg{shape-rendering:geometricPrecision;height:inherit;vertical-align:top;width:inherit}.dnb-icon svg[width="100%"]{width:inherit}.dnb-icon svg[height="100%"]{height:inherit}.dnb-icon--inherit-color svg:not([fill]),.dnb-icon--inherit-color svg [fill]{fill:currentColor}.dnb-icon--inherit-color svg [stroke]{stroke:currentColor}.dnb-icon--small{font-size:.75rem}.dnb-icon--default{font-size:1rem}.dnb-icon--medium{font-size:1.5rem}.dnb-icon--large{font-size:2rem}.dnb-icon--x-large{font-size:2.5rem}.dnb-icon--xx-large{font-size:3rem}.dnb-icon--custom-size{height:auto;width:auto}.dnb-icon--auto{font-size:1em}.dnb-icon--auto>.dnb-icon--wrapper{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;justify-content:center}h1 .dnb-icon,h2 .dnb-icon,h3 .dnb-icon,h4 .dnb-icon,h5 .dnb-icon,h6 .dnb-icon{vertical-align:middle}.dnb-icon.dnb-skeleton{color:#ebebeb!important;color:var(--skeleton-color)!important}.dnb-icon.dnb-skeleton:after,.dnb-icon.dnb-skeleton:before{content:none!important}@media screen and (-ms-high-contrast:none){.dnb-icon{-webkit-box-flex:0;-ms-flex:none;flex:none}}.dnb-tooltip{-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-tooltip *,.dnb-tooltip :after,.dnb-tooltip :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-tooltip :after,.dnb-tooltip :before{text-decoration:inherit;vertical-align:inherit}.dnb-tooltip{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;justify-content:center;opacity:0;padding:0 1rem;position:absolute;-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out;visibility:hidden;z-index:3100}.dnb-tooltip--large{padding:.25rem 1rem}.dnb-tooltip--animate_position{-webkit-transition:all .3s ease-in-out,opacity .2s ease-out;transition:all .3s ease-in-out,opacity .2s ease-out}.dnb-tooltip--active{-webkit-animation:show-tooltip .2s ease-out forwards;animation:show-tooltip .2s ease-out forwards;visibility:visible}.dnb-tooltip--active.dnb-tooltip--no-animation,html[data-visual-test] .dnb-tooltip--active{-webkit-animation:show-tooltip 1ms ease-out forwards;animation:show-tooltip 1ms ease-out forwards}.dnb-tooltip--hide{-webkit-animation:hide-tooltip .2s ease-in-out forwards;animation:hide-tooltip .2s ease-in-out forwards;visibility:visible}.dnb-tooltip--hide.dnb-tooltip--no-animation{-webkit-animation:hide-tooltip 1ms ease-out forwards;animation:hide-tooltip 1ms ease-out forwards}.dnb-tooltip--fixed{position:fixed}html[data-visual-test] .dnb-tooltip--hide{-webkit-animation:hide-tooltip 1ms ease-out 1s forwards;animation:hide-tooltip 1ms ease-out 1s forwards}.dnb-tooltip__portal{left:0;position:absolute;right:0;top:0}.dnb-tooltip__content{min-height:1.5rem;min-width:2rem;padding:0}.dnb-tooltip__arrow{height:.5rem;margin:0;overflow:hidden;pointer-events:none;position:absolute;width:1rem}.dnb-tooltip__arrow:before{bottom:0;content:"";height:1rem;left:0;position:absolute;-webkit-transform:translateY(70%) rotate(45deg);transform:translateY(70%) rotate(45deg);width:1rem}.dnb-tooltip__arrow__position--bottom{top:-.5rem}.dnb-tooltip__arrow__position--top{bottom:-.5rem;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.dnb-tooltip__arrow__position--left{margin-right:3px;right:-.75rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.dnb-tooltip__arrow__position--right{left:-.75rem;margin-left:3px;-webkit-transform:rotate(270deg);transform:rotate(270deg)}.dnb-tooltip__arrow__arrow--left{-ms-flex-item-align:start;align-self:flex-start}.dnb-tooltip__arrow__arrow--right{-ms-flex-item-align:end;align-self:flex-end}@-webkit-keyframes show-tooltip{0%{opacity:0}to{opacity:1}}@keyframes show-tooltip{0%{opacity:0}to{opacity:1}}@-webkit-keyframes hide-tooltip{0%{opacity:1}to{opacity:0;visibility:hidden}}@keyframes hide-tooltip{0%{opacity:1}to{opacity:0;visibility:hidden}}.dnb-button{-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-style:normal;font-weight:400;font-weight:var(--font-weight-basis);line-height:1.5rem;line-height:var(--line-height-basis);margin:0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-break:break-word}.dnb-button *,.dnb-button :after,.dnb-button :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-button :after,.dnb-button :before{text-decoration:inherit;vertical-align:inherit}:root{--button-font-size:var(--font-size-basis);--button-font-size-small:var(--font-size-small);--button-width:2.5rem;--button-height:2.5rem;--button-width--small:1.5rem;--button-height--small:1.5rem;--button-width--medium:2rem;--button-height--medium:2rem;--button-width--large:3rem;--button-height--large:3rem;--button-icon-size:1rem;--button-border-width:0.0625rem;--button-border-width--hover:0.1875rem;--button-border-radius:calc(var(--button-height)/2);--button-border-radius--small:calc(var(--button-height--small)/2);--button-border-radius--medium:calc(var(--button-height--medium)/2);--button-border-radius--large:calc(var(--button-height--large)/2)}.dnb-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:.0625rem solid transparent;border:var(--button-border-width) solid transparent;border-radius:1.25rem;border-radius:var(--button-border-radius);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:1rem;font-size:var(--font-size-small);height:auto;justify-content:center;padding:0;position:relative;text-decoration:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;white-space:nowrap;width:2.5rem;width:var(--button-width)}.dnb-button--wrap{word-wrap:break-word;white-space:normal}.dnb-button,.dnb-core-style .dnb-button{line-height:2.5rem;line-height:var(--button-height)}.dnb-button__text{color:inherit;font-size:1.125rem;font-size:var(--button-font-size);line-height:1.5rem;line-height:var(--line-height-basis);margin:.5rem 0;-webkit-transform:translateY(-.03125rem);transform:translateY(-.03125rem)}.dnb-button__text [data-os=linux]{-webkit-transform:translateY(-.035rem);transform:translateY(-.035rem)}.dnb-button__alignment{display:inline-block;width:0}.dnb-button__bounding{background-color:transparent;border-radius:1.25rem;border-radius:var(--button-border-radius);bottom:0;left:0;position:absolute;right:0;top:0;-webkit-transform:scale(1.1,1.4);transform:scale(1.1,1.4)}.dnb-button--has-text{padding-left:1.5rem;padding-right:1.5rem}.dnb-button--size-small{border-radius:.75rem;border-radius:var(--button-border-radius--small);font-size:1rem;font-size:var(--button-font-size-small);width:1.5rem;width:var(--button-width--small)}.dnb-button--size-small,.dnb-core-style .dnb-button--size-small{line-height:1.5rem;line-height:var(--button-height--small)}.dnb-button--size-small .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-small{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-small{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-small{padding-right:.5rem}.dnb-button--size-medium{border-radius:1rem;border-radius:var(--button-border-radius--medium);width:2rem;width:var(--button-width--medium)}.dnb-button--size-medium,.dnb-core-style .dnb-button--size-medium{line-height:2rem;line-height:var(--button-height--medium)}.dnb-button--size-medium .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-medium{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-medium{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-medium{padding-right:.5rem}.dnb-button--size-large{border-radius:1.5rem;border-radius:var(--button-border-radius--large);width:3rem;width:var(--button-width--large)}.dnb-button--size-large,.dnb-core-style .dnb-button--size-large{line-height:3rem;line-height:var(--button-height--large)}.dnb-button--has-text.dnb-button--size-large{padding-left:2rem;padding-right:2rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-large{padding-left:1rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-large{padding-right:1rem}.dnb-button--has-text{width:auto}.dnb-button--has-text .dnb-button__icon{margin:0 .5rem;margin:0 calc(var(--button-icon-size)/2)}.dnb-button--has-text.dnb-button--icon-position-left{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right{padding-right:.5rem}.dnb-button--has-text.dnb-button--has-icon .dnb-button__icon{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.dnb-button--has-text.dnb-button--has-icon .dnb-button__text{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.dnb-button:not(.dnb-button--has-text) .dnb-button__icon{width:inherit}.dnb-button__icon.dnb-icon svg:not([width]):not([height]){height:1rem;height:var(--button-icon-size);width:1rem;width:var(--button-icon-size)}[href]>.dnb-button__icon.dnb-icon{line-height:1.125rem;line-height:var(--button-font-size)}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__icon,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left>*,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top>*{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.dnb-button--stretch{width:100%}.dnb-button--reset{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;color:inherit;font:inherit;height:auto;line-height:inherit;margin:0;overflow:visible;padding:0;text-align:inherit;width:auto}html:not([data-whatintent=touch]) .dnb-button--reset:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--reset:hover:not([disabled]){border:none;-webkit-box-shadow:none;box-shadow:none}.dnb-button--reset:not([disabled]):active,.dnb-button--reset:not([disabled]):focus{outline:none}html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):active,html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):focus{--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=keyboard] .dnb-button--reset:not([disabled]):active,html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):focus{-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)}}html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):active,html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):focus{border:none;-webkit-box-shadow:none;box-shadow:none;color:inherit}.dnb-button[type=button],.dnb-button[type=reset],.dnb-button[type=submit]{appearance:none;-moz-appearance:none;-webkit-appearance:none}.dnb-button[disabled]{cursor:not-allowed;outline:none}.dnb-form-row--vertical .dnb-form-row__content>.dnb-button{-ms-flex-item-align:start;align-self:flex-start}.dnb-form-row--horizontal .dnb-form-row__content .dnb-button__text{white-space:nowrap}.dnb-button+.dnb-form-status{margin-top:.5rem}@media screen and (-ms-high-contrast:none){.dnb-button{-webkit-box-flex:0;-ms-flex:none;flex:none}.dnb-button__icon,.dnb-button__text{-webkit-transform:translateY(-.0625rem);transform:translateY(-.0625rem)}}button.dnb-button::-moz-focus-inner{border:none}.dnb-form-label{-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;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-break:break-word}.dnb-form-label *,.dnb-form-label :after,.dnb-form-label :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-form-label :after,.dnb-form-label :before{text-decoration:inherit;vertical-align:inherit}.dnb-form-label{color:inherit;display:inline-block;font-size:1.125rem;font-size:var(--font-size-basis);margin-right:1rem;padding:0;text-align:left;vertical-align:baseline;white-space:pre-wrap;width:auto;word-break:normal}.dnb-form-label--vertical{display:block;margin-bottom:.5rem;margin-right:0}.dnb-form-label--sr-only{margin:0 0 0 -1px!important;overflow:hidden!important;padding:0!important;white-space:nowrap!important;width:1px!important}.dnb-form-label[for]:not([disabled]){cursor:pointer;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnb-form-label[disabled]{cursor:not-allowed}@media screen and (-ms-high-contrast:none){.dnb-form-label{max-width:60vw}}legend.dnb-form-label{display:inline-block}.dnb-form-status{-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-form-status *,.dnb-form-status :after,.dnb-form-status :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-form-status :after,.dnb-form-status :before{text-decoration:inherit;vertical-align:inherit}:root{--form-status-radius:0.25rem}.dnb-form-status{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1;-webkit-transition:height .4s cubic-bezier(.42,0,0,1),opacity .4s cubic-bezier(.42,0,0,1),margin .4s cubic-bezier(.42,0,0,1),padding .4s cubic-bezier(.42,0,0,1);transition:height .4s cubic-bezier(.42,0,0,1),opacity .4s cubic-bezier(.42,0,0,1),margin .4s cubic-bezier(.42,0,0,1),padding .4s cubic-bezier(.42,0,0,1)}.dnb-form-status--hidden{height:0;opacity:0;width:0;will-change:height,opacity,margin,padding}.dnb-form-status--is-animating{overflow:hidden;width:auto}.dnb-form-status--disappear,.dnb-form-status--hidden{margin:0!important;padding:0!important}.dnb-form-status__shell{-webkit-box-pack:start;-ms-flex-pack:start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;border-radius:.25rem;border-radius:var(--form-status-radius);display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:flex-start;min-width:inherit}.dnb-form-status__text{color:inherit;cursor:text;font-size:1rem;font-size:var(--font-size-small);line-height:1.25rem;line-height:var(--line-height-small);padding:.625rem 1rem;white-space:normal}button .dnb-form-status__text{cursor:inherit}.dnb-form-status__text .dnb-anchor{font-size:inherit}.dnb-icon+.dnb-form-status__text{padding-left:.5rem}.dnb-form-status__shell>.dnb-icon{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;margin:.3333333em .3333333em .3333333em .6666666em}.dnb-form-status__size--large .dnb-form-status__text{padding-bottom:1.125rem;padding-top:1.125rem}.dnb-form-status__size--large .dnb-form-status__shell>.dnb-icon{margin-bottom:.6666666em;margin-top:.6666666em}.dnb-form-status--stretch{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.dnb-form-status--stretch .dnb-form-status__shell{width:100%}.dnb-form-status--stretch .dnb-form-status__text{max-width:47rem}.dnb-form-status[hidden]{display:none}.dnb-form-status--no-animation,html[data-visual-test] .dnb-form-status{-webkit-transition-duration:1ms!important;transition-duration:1ms!important}@media screen and (-ms-high-contrast:none){.dnb-form-status__shell>.dnb-icon{border-width:1px}}.dnb-slider{-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-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-slider *,.dnb-slider :after,.dnb-slider :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-slider :after,.dnb-slider :before{text-decoration:inherit;vertical-align:inherit}:root{--slider-track-height:0.25rem;--slider-thumb-size:2rem;--slider-button-size:1.5rem;--slider-space:1rem}.dnb-slider{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:1rem;font-size:var(--font-size-small);line-height:2rem;line-height:var(--slider-thumb-size);-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnb-slider--stretch{width:100%}.dnb-slider--vertical{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;min-height:inherit;min-width:inherit;width:auto}.dnb-slider__wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-flex:1;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;width:100%}.dnb-slider--vertical .dnb-slider__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;width:auto}.dnb-slider__inner{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:2rem;height:var(--slider-thumb-size)}.dnb-slider__suffix{-ms-flex-item-align:center;align-self:center}.dnb-slider--vertical .dnb-slider__suffix{padding-left:0;padding-top:.5rem}.dnb-slider__track{-webkit-box-flex:1;cursor:pointer;-ms-flex:1;flex:1;margin:0 1.5rem;margin:0 calc(var(--slider-space)*1.5);min-width:2rem;position:relative;-ms-touch-action:none;touch-action:none}.dnb-slider--vertical .dnb-slider__track{margin:1.5rem 0;margin:calc(var(--slider-space)*1.5) 0;min-height:2rem;min-width:auto}.dnb-slider--no-buttons .dnb-slider__track{margin:0 1rem;margin:0 calc(var(--slider-space))}.dnb-slider--no-buttons.dnb-slider--vertical .dnb-slider__track{margin:1rem 0;margin:calc(var(--slider-space)) 0}.dnb-slider--vertical .dnb-slider__inner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:inherit;min-height:inherit;min-width:inherit;width:2rem;width:var(--slider-thumb-size)}.dnb-slider--reverse .dnb-slider__track{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.dnb-slider--reverse.dnb-slider--vertical .dnb-slider__track{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.dnb-slider__line{background-color:grey;border-radius:.25rem;border-radius:var(--slider-track-height);height:.25rem;height:var(--slider-track-height);left:0;margin:0 -1rem;margin:0 calc(0px - var(--slider-space));position:absolute;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.dnb-slider--vertical .dnb-slider__line{height:auto;left:50%;margin:-1rem 0;margin:calc(0px - var(--slider-space)) 0;top:0;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);width:.25rem;width:var(--slider-track-height)}.dnb-slider__line__before{z-index:2}.dnb-slider__line__after{background-color:#ddd;right:0;z-index:1}.dnb-slider--vertical .dnb-slider__line__before{bottom:0;top:0}.dnb-slider--vertical .dnb-slider__line__after{bottom:0}.dnb-slider__button-helper,.dnb-slider__thumb{border-radius:50%;display:block;left:0;position:absolute;top:0;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);z-index:3}.dnb-slider__button-helper,.dnb-slider__button-helper .dnb-button,.dnb-slider__thumb,.dnb-slider__thumb .dnb-button{height:2rem;height:var(--slider-thumb-size);width:2rem;width:var(--slider-thumb-size)}.dnb-slider--vertical .dnb-slider__thumb{-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.dnb-slider__button.dnb-button--size-small{height:1.5rem;height:var(--slider-button-size);line-height:1.5rem;line-height:var(--slider-button-size);-webkit-transform:translateY(.25rem);transform:translateY(.25rem);width:1.5rem;width:var(--slider-button-size);z-index:5}.dnb-slider--vertical .dnb-slider__button.dnb-button--size-small{-webkit-transform:translateX(.25rem);transform:translateX(.25rem)}.dnb-slider__state--jumped .dnb-slider__line,.dnb-slider__state--jumped .dnb-slider__thumb{-webkit-transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,-webkit-box-shadow .25s ease;transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,-webkit-box-shadow .25s ease;transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,box-shadow .25s ease;transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,box-shadow .25s ease,-webkit-box-shadow .25s ease}.dnb-slider__state--disabled .dnb-slider__line,.dnb-slider__state--disabled .dnb-slider__thumb,.dnb-slider__state--disabled .dnb-slider__track{cursor:not-allowed}.dnb-slider__button-helper{opacity:0;pointer-events:none;-webkit-transform:translate3d(.0625rem,0,0);transform:translate3d(.0625rem,0,0);z-index:2}.dnb-slider__button-helper:not(:disabled):focus~.dnb-button{outline:none}html[data-whatinput=keyboard] .dnb-slider__button-helper:not(:disabled):focus~.dnb-button{--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=keyboard] .dnb-slider__button-helper:not(:disabled):focus~.dnb-button{-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-slider>.dnb-form-label{-ms-flex-item-align:start;align-self:flex-start;line-height:2rem;line-height:var(--slider-thumb-size);margin-right:1rem}.dnb-slider>.dnb-form-label--vertical{line-height:1.5rem;line-height:var(--line-height-basis);margin-right:0}.dnb-slider__label--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.dnb-slider__label--vertical.dnb-slider--vertical{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dnb-slider__label--vertical.dnb-slider--vertical .dnb-form-label{margin-bottom:.5rem;margin-right:0;text-align:center;width:100%}.dnb-slider .dnb-form-status{-webkit-box-ordinal-group:3;-ms-flex-order:2;margin-top:.5rem;order:2}.dnb-slider--vertical .dnb-form-status{margin-top:1rem}@media screen and (max-width:40em){.dnb-responsive-component .dnb-slider{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:.5rem}.dnb-responsive-component .dnb-slider>.dnb-form-label{margin-bottom:.5rem}}.dnb-slider.dnb-skeleton .dnb-slider__line,.dnb-slider.dnb-skeleton .dnb-slider__state--disabled .dnb-slider__line,.dnb-slider.dnb-skeleton .dnb-slider__state--disabled.dnb-slider__track:after,.dnb-slider.dnb-skeleton .dnb-slider__state--disabled.dnb-slider__track:before,.dnb-slider.dnb-skeleton .dnb-slider__track:after,.dnb-slider.dnb-skeleton .dnb-slider__track:before{background-color:#ebebeb;background-color:var(--skeleton-color)}@media screen and (-ms-high-contrast:none){.dnb-slider__wrapper{-webkit-box-flex:0;-ms-flex:none;flex:none}}
|
|
1
|
+
.dnb-icon{color:inherit;display:inline-block;font-size:1rem;height:1em;line-height:1rem;vertical-align:middle;width:1em}.dnb-icon img,.dnb-icon svg{shape-rendering:geometricPrecision;height:inherit;vertical-align:top;width:inherit}.dnb-icon svg[width="100%"]{width:inherit}.dnb-icon svg[height="100%"]{height:inherit}.dnb-icon--inherit-color svg:not([fill]),.dnb-icon--inherit-color svg [fill]{fill:currentColor}.dnb-icon--inherit-color svg [stroke]{stroke:currentColor}.dnb-icon--small{font-size:.75rem}.dnb-icon--default{font-size:1rem}.dnb-icon--medium{font-size:1.5rem}.dnb-icon--large{font-size:2rem}.dnb-icon--x-large{font-size:2.5rem}.dnb-icon--xx-large{font-size:3rem}.dnb-icon--custom-size{height:auto;width:auto}.dnb-icon--auto{font-size:1em}.dnb-icon--auto>.dnb-icon--wrapper{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;justify-content:center}h1 .dnb-icon,h2 .dnb-icon,h3 .dnb-icon,h4 .dnb-icon,h5 .dnb-icon,h6 .dnb-icon{vertical-align:middle}.dnb-icon.dnb-skeleton{color:#ebebeb!important;color:var(--skeleton-color)!important}.dnb-icon.dnb-skeleton:after,.dnb-icon.dnb-skeleton:before{content:none!important}@media screen and (-ms-high-contrast:none){.dnb-icon{-webkit-box-flex:0;-ms-flex:none;flex:none}}.dnb-tooltip{-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-tooltip *,.dnb-tooltip :after,.dnb-tooltip :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-tooltip :after,.dnb-tooltip :before{text-decoration:inherit;vertical-align:inherit}.dnb-tooltip{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;justify-content:center;opacity:0;padding:0 1rem;position:absolute;-webkit-transition:opacity .2s ease-out;transition:opacity .2s ease-out;visibility:hidden;z-index:3100}.dnb-tooltip--large{padding:.25rem 1rem}.dnb-tooltip--animate_position{-webkit-transition:all .3s ease-in-out,opacity .2s ease-out;transition:all .3s ease-in-out,opacity .2s ease-out}.dnb-tooltip--active{-webkit-animation:show-tooltip .2s ease-out forwards;animation:show-tooltip .2s ease-out forwards;visibility:visible}.dnb-tooltip--active.dnb-tooltip--no-animation,html[data-visual-test] .dnb-tooltip--active{-webkit-animation:show-tooltip 1ms ease-out forwards;animation:show-tooltip 1ms ease-out forwards}.dnb-tooltip--hide{-webkit-animation:hide-tooltip .2s ease-in-out forwards;animation:hide-tooltip .2s ease-in-out forwards;visibility:visible}.dnb-tooltip--hide.dnb-tooltip--no-animation{-webkit-animation:hide-tooltip 1ms ease-out forwards;animation:hide-tooltip 1ms ease-out forwards}.dnb-tooltip--fixed{position:fixed}html[data-visual-test] .dnb-tooltip--hide{-webkit-animation:hide-tooltip 1ms ease-out 1s forwards;animation:hide-tooltip 1ms ease-out 1s forwards}.dnb-tooltip__portal{left:0;position:absolute;right:0;top:0}.dnb-tooltip__content{min-height:1.5rem;min-width:2rem;padding:0}.dnb-tooltip__arrow{height:.5rem;margin:0;overflow:hidden;pointer-events:none;position:absolute;width:1rem}.dnb-tooltip__arrow:before{bottom:0;content:"";height:1rem;left:0;position:absolute;-webkit-transform:translateY(70%) rotate(45deg);transform:translateY(70%) rotate(45deg);width:1rem}.dnb-tooltip__arrow__position--bottom{top:-.5rem}.dnb-tooltip__arrow__position--top{bottom:-.5rem;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.dnb-tooltip__arrow__position--left{margin-right:3px;right:-.75rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.dnb-tooltip__arrow__position--right{left:-.75rem;margin-left:3px;-webkit-transform:rotate(270deg);transform:rotate(270deg)}.dnb-tooltip__arrow__arrow--left{-ms-flex-item-align:start;align-self:flex-start}.dnb-tooltip__arrow__arrow--right{-ms-flex-item-align:end;align-self:flex-end}@-webkit-keyframes show-tooltip{0%{opacity:0}to{opacity:1}}@keyframes show-tooltip{0%{opacity:0}to{opacity:1}}@-webkit-keyframes hide-tooltip{0%{opacity:1}to{opacity:0;visibility:hidden}}@keyframes hide-tooltip{0%{opacity:1}to{opacity:0;visibility:hidden}}.dnb-button{-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-style:normal;font-weight:400;font-weight:var(--font-weight-basis);line-height:1.5rem;line-height:var(--line-height-basis);margin:0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-break:break-word}.dnb-button *,.dnb-button :after,.dnb-button :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-button :after,.dnb-button :before{text-decoration:inherit;vertical-align:inherit}:root{--button-font-size:var(--font-size-basis);--button-font-size-small:var(--font-size-small);--button-width:2.5rem;--button-height:2.5rem;--button-width--small:1.5rem;--button-height--small:1.5rem;--button-width--medium:2rem;--button-height--medium:2rem;--button-width--large:3rem;--button-height--large:3rem;--button-icon-size:1rem;--button-border-width:0.0625rem;--button-border-width--hover:0.1875rem;--button-border-radius:calc(var(--button-height)/2);--button-border-radius--small:calc(var(--button-height--small)/2);--button-border-radius--medium:calc(var(--button-height--medium)/2);--button-border-radius--large:calc(var(--button-height--large)/2)}.dnb-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:.0625rem solid transparent;border:var(--button-border-width) solid transparent;border-radius:1.25rem;border-radius:var(--button-border-radius);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:1rem;font-size:var(--font-size-small);height:auto;justify-content:center;padding:0;position:relative;text-decoration:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;white-space:nowrap;width:2.5rem;width:var(--button-width)}.dnb-button--wrap{word-wrap:break-word;white-space:normal}.dnb-button,.dnb-core-style .dnb-button{line-height:2.5rem;line-height:var(--button-height)}.dnb-button__text{color:inherit;font-size:1.125rem;font-size:var(--button-font-size);line-height:1.5rem;line-height:var(--line-height-basis);margin:.5rem 0;-webkit-transform:translateY(-.03125rem);transform:translateY(-.03125rem)}.dnb-button__text [data-os=linux]{-webkit-transform:translateY(-.035rem);transform:translateY(-.035rem)}.dnb-button__alignment{display:inline-block;width:0}.dnb-button__bounding{background-color:transparent;border-radius:1.25rem;border-radius:var(--button-border-radius);bottom:0;left:0;position:absolute;right:0;top:0;-webkit-transform:scale(1.1,1.4);transform:scale(1.1,1.4)}.dnb-button--has-text{padding-left:1.5rem;padding-right:1.5rem}.dnb-button--size-small{border-radius:.75rem;border-radius:var(--button-border-radius--small);font-size:1rem;font-size:var(--button-font-size-small);width:1.5rem;width:var(--button-width--small)}.dnb-button--size-small,.dnb-core-style .dnb-button--size-small{line-height:1.5rem;line-height:var(--button-height--small)}.dnb-button--size-small .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-small{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-small{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-small{padding-right:.5rem}.dnb-button--size-medium{border-radius:1rem;border-radius:var(--button-border-radius--medium);width:2rem;width:var(--button-width--medium)}.dnb-button--size-medium,.dnb-core-style .dnb-button--size-medium{line-height:2rem;line-height:var(--button-height--medium)}.dnb-button--size-medium .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-medium{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-medium{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-medium{padding-right:.5rem}.dnb-button--size-large{border-radius:1.5rem;border-radius:var(--button-border-radius--large);width:3rem;width:var(--button-width--large)}.dnb-button--size-large,.dnb-core-style .dnb-button--size-large{line-height:3rem;line-height:var(--button-height--large)}.dnb-button--has-text.dnb-button--size-large{padding-left:2rem;padding-right:2rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-large{padding-left:1rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-large{padding-right:1rem}.dnb-button--has-text{width:auto}.dnb-button--has-text .dnb-button__icon{margin:0 .5rem;margin:0 calc(var(--button-icon-size)/2)}.dnb-button--has-text.dnb-button--icon-position-left{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right{padding-right:.5rem}.dnb-button--has-text.dnb-button--has-icon .dnb-button__icon{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.dnb-button--has-text.dnb-button--has-icon .dnb-button__text{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.dnb-button:not(.dnb-button--has-text) .dnb-button__icon{width:inherit}.dnb-button__icon.dnb-icon svg:not([width]):not([height]){height:1rem;height:var(--button-icon-size);width:1rem;width:var(--button-icon-size)}[href]>.dnb-button__icon.dnb-icon{line-height:1.125rem;line-height:var(--button-font-size)}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__icon,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__icon{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left>*,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top>*{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.dnb-button--stretch{width:100%}.dnb-button--reset{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;color:inherit;font:inherit;height:auto;line-height:inherit;margin:0;overflow:visible;padding:0;text-align:inherit;width:auto}html:not([data-whatintent=touch]) .dnb-button--reset:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--reset:hover:not([disabled]){border:none;-webkit-box-shadow:none;box-shadow:none}.dnb-button--reset:not([disabled]):active,.dnb-button--reset:not([disabled]):focus{outline:none}html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):active,html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):focus{--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=keyboard] .dnb-button--reset:not([disabled]):active,html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):focus{-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)}}html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):active,html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):focus{border:none;-webkit-box-shadow:none;box-shadow:none;color:inherit}.dnb-button[type=button],.dnb-button[type=reset],.dnb-button[type=submit]{appearance:none;-moz-appearance:none;-webkit-appearance:none}.dnb-button[disabled]{cursor:not-allowed;outline:none}.dnb-form-row--vertical .dnb-form-row__content>.dnb-button{-ms-flex-item-align:start;align-self:flex-start}.dnb-form-row--horizontal .dnb-form-row__content .dnb-button__text{white-space:nowrap}.dnb-button+.dnb-form-status{margin-top:.5rem}@media screen and (-ms-high-contrast:none){.dnb-button{-webkit-box-flex:0;-ms-flex:none;flex:none}.dnb-button__icon,.dnb-button__text{-webkit-transform:translateY(-.0625rem);transform:translateY(-.0625rem)}}button.dnb-button::-moz-focus-inner{border:none}.dnb-form-label{-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;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-break:break-word}.dnb-form-label *,.dnb-form-label :after,.dnb-form-label :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-form-label :after,.dnb-form-label :before{text-decoration:inherit;vertical-align:inherit}.dnb-form-label{color:inherit;display:inline-block;font-size:1.125rem;font-size:var(--font-size-basis);margin-right:1rem;padding:0;text-align:left;vertical-align:baseline;white-space:pre-wrap;width:auto;word-break:normal}.dnb-form-label--vertical{display:block;margin-bottom:.5rem;margin-right:0}.dnb-form-label--sr-only{margin:0 0 0 -1px!important;overflow:hidden!important;padding:0!important;white-space:nowrap!important;width:1px!important}.dnb-form-label[for]:not([disabled]){cursor:pointer;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnb-form-label[disabled]{cursor:not-allowed}@media screen and (-ms-high-contrast:none){.dnb-form-label{max-width:60vw}}legend.dnb-form-label{display:inline-block}.dnb-form-status{-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-form-status *,.dnb-form-status :after,.dnb-form-status :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-form-status :after,.dnb-form-status :before{text-decoration:inherit;vertical-align:inherit}:root{--form-status-radius:0.25rem}.dnb-form-status{display:-webkit-box;display:-ms-flexbox;display:flex;opacity:1;-webkit-transition:height .4s cubic-bezier(.42,0,0,1),opacity .4s cubic-bezier(.42,0,0,1),margin .4s cubic-bezier(.42,0,0,1),padding .4s cubic-bezier(.42,0,0,1);transition:height .4s cubic-bezier(.42,0,0,1),opacity .4s cubic-bezier(.42,0,0,1),margin .4s cubic-bezier(.42,0,0,1),padding .4s cubic-bezier(.42,0,0,1)}.dnb-form-status--hidden{height:0;opacity:0;width:0;will-change:height,opacity,margin,padding}.dnb-form-status--is-animating{overflow:hidden;width:auto}.dnb-form-status--disappear,.dnb-form-status--hidden{margin:0!important;padding:0!important}.dnb-form-status__shell{-webkit-box-pack:start;-ms-flex-pack:start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;border-radius:.25rem;border-radius:var(--form-status-radius);display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:flex-start;min-width:inherit}.dnb-form-status__text{color:inherit;cursor:text;font-size:1rem;font-size:var(--font-size-small);line-height:1.25rem;line-height:var(--line-height-small);padding:.625rem 1rem;white-space:normal}button .dnb-form-status__text{cursor:inherit}.dnb-form-status__text .dnb-anchor{font-size:inherit}.dnb-icon+.dnb-form-status__text{padding-left:.5rem}.dnb-form-status__shell>.dnb-icon{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;margin:.3333333em .3333333em .3333333em .6666666em}.dnb-form-status__size--large .dnb-form-status__text{padding-bottom:1.125rem;padding-top:1.125rem}.dnb-form-status__size--large .dnb-form-status__shell>.dnb-icon{margin-bottom:.6666666em;margin-top:.6666666em}.dnb-form-status--stretch{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.dnb-form-status--stretch .dnb-form-status__shell{width:100%}.dnb-form-status--stretch .dnb-form-status__text{max-width:47rem}.dnb-form-status[hidden]{display:none}.dnb-form-status--no-animation,html[data-visual-test] .dnb-form-status{-webkit-transition-duration:1ms!important;transition-duration:1ms!important}@media screen and (-ms-high-contrast:none){.dnb-form-status__shell>.dnb-icon{border-width:1px}}.dnb-slider{-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-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-slider *,.dnb-slider :after,.dnb-slider :before{background-repeat:no-repeat;-webkit-box-sizing:border-box;box-sizing:border-box}.dnb-slider :after,.dnb-slider :before{text-decoration:inherit;vertical-align:inherit}:root{--slider-track-height:0.25rem;--slider-thumb-size:2rem;--slider-button-size:1.5rem;--slider-space:1rem}.dnb-slider{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:1rem;font-size:var(--font-size-small);line-height:2rem;line-height:var(--slider-thumb-size);-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnb-slider--stretch{width:100%}.dnb-slider--vertical{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;min-height:inherit;min-width:inherit;width:auto}.dnb-slider__wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-flex:1;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;width:100%}.dnb-slider--vertical .dnb-slider__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;width:auto}.dnb-slider__inner{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:2rem;height:var(--slider-thumb-size)}.dnb-slider__suffix{-ms-flex-item-align:center;align-self:center}.dnb-slider--vertical .dnb-slider__suffix{padding-left:0;padding-top:.5rem}.dnb-slider__track{-webkit-box-flex:1;cursor:pointer;-ms-flex:1;flex:1;margin:0 1.5rem;margin:0 calc(var(--slider-space)*1.5);min-width:2rem;position:relative;-ms-touch-action:none;touch-action:none}.dnb-slider--vertical .dnb-slider__track{margin:1.5rem 0;margin:calc(var(--slider-space)*1.5) 0;min-height:2rem;min-width:auto}.dnb-slider--no-buttons .dnb-slider__track{margin:0 1rem;margin:0 calc(var(--slider-space))}.dnb-slider--no-buttons.dnb-slider--vertical .dnb-slider__track{margin:1rem 0;margin:calc(var(--slider-space)) 0}.dnb-slider--vertical .dnb-slider__inner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:inherit;min-height:inherit;min-width:inherit;width:2rem;width:var(--slider-thumb-size)}.dnb-slider__line{background-color:grey;border-radius:.25rem;border-radius:var(--slider-track-height);height:.25rem;height:var(--slider-track-height);left:0;margin:0 -1rem;margin:0 calc(0px - var(--slider-space));position:absolute;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.dnb-slider--vertical .dnb-slider__line{height:auto;left:50%;margin:-1rem 0;margin:calc(0px - var(--slider-space)) 0;top:0;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);width:.25rem;width:var(--slider-track-height)}.dnb-slider__line__before{z-index:2}.dnb-slider__line__after{background-color:#ddd;right:0;z-index:1}.dnb-slider--vertical .dnb-slider__line__before{bottom:0;top:0}.dnb-slider--vertical .dnb-slider__line__after{bottom:0}.dnb-slider__button-helper,.dnb-slider__thumb{border-radius:50%;display:block;left:0;position:absolute;top:0;-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0);z-index:3}.dnb-slider__button-helper,.dnb-slider__button-helper .dnb-button,.dnb-slider__thumb,.dnb-slider__thumb .dnb-button{height:2rem;height:var(--slider-thumb-size);width:2rem;width:var(--slider-thumb-size)}.dnb-slider--vertical .dnb-slider__thumb{-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.dnb-slider__button.dnb-button--size-small{height:1.5rem;height:var(--slider-button-size);line-height:1.5rem;line-height:var(--slider-button-size);-webkit-transform:translateY(.25rem);transform:translateY(.25rem);width:1.5rem;width:var(--slider-button-size);z-index:2}.dnb-slider--vertical .dnb-slider__button.dnb-button--size-small{-webkit-transform:translateX(.25rem);transform:translateX(.25rem)}.dnb-slider__state--jumped .dnb-slider__line,.dnb-slider__state--jumped .dnb-slider__thumb{-webkit-transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,-webkit-box-shadow .25s ease;transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,-webkit-box-shadow .25s ease;transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,box-shadow .25s ease;transition:left .25s ease,top .25s ease,bottom .25s ease,right .25s ease,box-shadow .25s ease,-webkit-box-shadow .25s ease}.dnb-slider__state--disabled .dnb-slider__line,.dnb-slider__state--disabled .dnb-slider__thumb,.dnb-slider__state--disabled .dnb-slider__track{cursor:not-allowed}.dnb-slider__button-helper{opacity:0;pointer-events:none;-webkit-transform:translate3d(.0625rem,0,0);transform:translate3d(.0625rem,0,0);z-index:2}.dnb-slider__button-helper:not(:disabled):focus~.dnb-button{outline:none}html[data-whatinput=keyboard] .dnb-slider__button-helper:not(:disabled):focus~.dnb-button{--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=keyboard] .dnb-slider__button-helper:not(:disabled):focus~.dnb-button{-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-slider>.dnb-form-label{-ms-flex-item-align:start;align-self:flex-start;line-height:2rem;line-height:var(--slider-thumb-size);margin-right:1rem}.dnb-slider>.dnb-form-label--vertical{line-height:1.5rem;line-height:var(--line-height-basis);margin-right:0}.dnb-slider__label--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.dnb-slider__label--vertical.dnb-slider--vertical{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dnb-slider__label--vertical.dnb-slider--vertical .dnb-form-label{margin-bottom:.5rem;margin-right:0;text-align:center;width:100%}.dnb-slider .dnb-form-status{-webkit-box-ordinal-group:3;-ms-flex-order:2;margin-top:.5rem;order:2}.dnb-slider--vertical .dnb-form-status{margin-top:1rem}@media screen and (max-width:40em){.dnb-responsive-component .dnb-slider{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:.5rem}.dnb-responsive-component .dnb-slider>.dnb-form-label{margin-bottom:.5rem}}.dnb-slider.dnb-skeleton .dnb-slider__line,.dnb-slider.dnb-skeleton .dnb-slider__state--disabled .dnb-slider__line,.dnb-slider.dnb-skeleton .dnb-slider__state--disabled.dnb-slider__track:after,.dnb-slider.dnb-skeleton .dnb-slider__state--disabled.dnb-slider__track:before,.dnb-slider.dnb-skeleton .dnb-slider__track:after,.dnb-slider.dnb-skeleton .dnb-slider__track:before{background-color:#ebebeb;background-color:var(--skeleton-color)}@media screen and (-ms-high-contrast:none){.dnb-slider__wrapper{-webkit-box-flex:0;-ms-flex:none;flex:none}}
|
|
@@ -13,36 +13,61 @@ export declare type onChangeEventProps = {
|
|
|
13
13
|
raw_value?: number;
|
|
14
14
|
};
|
|
15
15
|
export declare type SliderProps = IncludeSnakeCase<{
|
|
16
|
-
|
|
16
|
+
/** prepends the Form Label component. If no ID is provided, a random ID is created. */
|
|
17
17
|
label?: React.ReactNode;
|
|
18
|
+
/** use `labelDirection="vertical"` to change the label layout direction. Defaults to `horizontal`. */
|
|
18
19
|
labelDirection?: 'vertical' | 'horizontal';
|
|
20
|
+
/** use `true` to make the label only readable by screen readers. */
|
|
19
21
|
labelSrOnly?: boolean;
|
|
22
|
+
/** text with a status message. The style defaults to an error message. You can use `true` to only get the status color, without a message. */
|
|
20
23
|
status?: string | boolean;
|
|
24
|
+
/** defines the state of the status. Currently, there are two statuses `[error, info]`. Defaults to `error`. */
|
|
21
25
|
statusState?: 'error' | 'info';
|
|
26
|
+
/** use an object to define additional FormStatus properties. */
|
|
22
27
|
statusProps?: Record<string, unknown>;
|
|
23
28
|
statusNoAnimation?: boolean;
|
|
29
|
+
/** the `status_id` used for the target [GlobalStatus](/uilib/components/global-status). */
|
|
24
30
|
globalStatusId?: string;
|
|
31
|
+
/** text describing the content of the Slider more than the label. You can also send in a React component, so it gets wrapped inside the Slider component. */
|
|
25
32
|
suffix?: SuffixChildren;
|
|
33
|
+
/** give the slider thumb button a title for accessibility reasons. Defaults to `null`. */
|
|
26
34
|
thumbTitle?: string;
|
|
35
|
+
/** give the add button a title for accessibility reasons. Defaults to `+`. */
|
|
27
36
|
addTitle?: string;
|
|
37
|
+
/** give the subtract button a title for accessibility reasons. Defaults to `−`. */
|
|
28
38
|
subtractTitle?: string;
|
|
39
|
+
/** the minimum value. Defaults to `0`. */
|
|
29
40
|
min?: number;
|
|
41
|
+
/** the maximum value. Defaults to `100` */
|
|
30
42
|
max?: number;
|
|
43
|
+
/** the `value` of the slider as a number. If an array with numbers is provided, each number will represent a thumb button (the `+` and `-` button will be hidden on multible thumbs). */
|
|
31
44
|
value?: ValueTypes;
|
|
45
|
+
/** the steps the slider takes on changing the value. Defaults to `null` */
|
|
32
46
|
step?: number;
|
|
47
|
+
/** show the slider vertically. Defaults to `false`. */
|
|
33
48
|
vertical?: boolean;
|
|
49
|
+
/** show the slider reversed. Defaults to `false`. */
|
|
34
50
|
reverse?: boolean;
|
|
51
|
+
/** if set to `true`, then the slider will be 100% in `width`. */
|
|
35
52
|
stretch?: boolean;
|
|
53
|
+
/** Will extend the return object with a `number` property (from `onChange` event). You can use all the options from the [NumberFormat](/uilib/components/number-format/properties) component. It also will use that formatted number in the increase/decrease buttons. If it has to represent a currency, then use e.g. `numberFormat={{ currency: true, decimals: 0 }}` */
|
|
36
54
|
numberFormat?: formatOptionParams;
|
|
37
|
-
|
|
55
|
+
/** removes the helper buttons. Defaults to `false`. */
|
|
38
56
|
hideButtons?: boolean;
|
|
57
|
+
/** use either `omit`, `push` or `swap`. This property only works for two (range) or more thumb buttons, while `omit` will stop the thumb from swapping, `push` will push its nearest thumb along. Defaults to `swap`. */
|
|
58
|
+
multiThumbBehavior?: 'swap' | 'omit' | 'push';
|
|
59
|
+
/** if set to `true`, an overlaying skeleton with animation will be shown. */
|
|
39
60
|
skeleton?: boolean;
|
|
40
|
-
|
|
61
|
+
id?: string;
|
|
62
|
+
disabled?: boolean;
|
|
41
63
|
className?: string;
|
|
64
|
+
/** will be called on state changes made by the user. The callback `value` and `rawValue` is a number `{ value, rawValue, event }`. But if the prop `numberFormat` is given, then it will return an additional `number` with the given format `{ value, number, rawValue, event }`. */
|
|
42
65
|
onChange?: (props: onChangeEventProps) => void;
|
|
66
|
+
/** will be called once the user stops dragging. Returns `{ event }`. */
|
|
43
67
|
onDragStart?: (props: {
|
|
44
68
|
event: MouseEvent | TouchEvent;
|
|
45
69
|
}) => void;
|
|
70
|
+
/** will be called once the user starts dragging. Returns `{ event }`. */
|
|
46
71
|
onDragEnd?: (props: {
|
|
47
72
|
event: MouseEvent | TouchEvent;
|
|
48
73
|
}) => void;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Tabs theme
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
/*
|
|
6
|
+
* Tabs theme
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* This file is only used to make themes independent
|
|
11
|
+
* so that they can get imported individually, without the core styles
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
/*
|
|
15
|
+
* Utilities
|
|
16
|
+
*/
|
|
17
|
+
/*
|
|
18
|
+
* Button mixins
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
.dnb-tabs__tabs:not(.dnb-section)::before {
|
|
22
|
+
background-color: #ebebeb;
|
|
23
|
+
background-color: var(--color-black-8);
|
|
24
|
+
-webkit-box-shadow: 100vw 0 0 0 #ebebeb;
|
|
25
|
+
box-shadow: 100vw 0 0 0 #ebebeb;
|
|
26
|
+
-webkit-box-shadow: 100vw 0 0 0 var(--color-black-8);
|
|
27
|
+
box-shadow: 100vw 0 0 0 var(--color-black-8); }
|
|
28
|
+
|
|
29
|
+
.dnb-tabs__tabs__tablist:focus {
|
|
30
|
+
border-radius: 0.5rem; }
|
|
31
|
+
|
|
32
|
+
.dnb-tabs--at-edge .dnb-tabs__scroll-nav-button:first-of-type {
|
|
33
|
+
border-radius: 0 50% 50% 0; }
|
|
34
|
+
|
|
35
|
+
.dnb-tabs--at-edge .dnb-tabs__scroll-nav-button:last-of-type {
|
|
36
|
+
border-radius: 50% 0 0 50%; }
|
|
37
|
+
|
|
38
|
+
.dnb-tabs--at-edge .dnb-tabs__tabs__tablist:focus {
|
|
39
|
+
border-radius: 0; }
|
|
40
|
+
|
|
41
|
+
.dnb-tabs__content:focus {
|
|
42
|
+
position: relative; }
|
|
43
|
+
.dnb-tabs__content:focus::after {
|
|
44
|
+
content: '';
|
|
45
|
+
position: absolute;
|
|
46
|
+
z-index: -1;
|
|
47
|
+
top: 0.125rem;
|
|
48
|
+
bottom: -0.5rem;
|
|
49
|
+
left: -0.5rem;
|
|
50
|
+
right: -0.5rem;
|
|
51
|
+
max-width: 100vw;
|
|
52
|
+
border-radius: 0.5rem;
|
|
53
|
+
outline: none; }
|
|
54
|
+
html[data-whatinput='keyboard'] .dnb-tabs__content:focus::after {
|
|
55
|
+
--border-color: var(--color-emerald-green);
|
|
56
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
57
|
+
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
58
|
+
border-color: transparent; }
|
|
59
|
+
@media screen and (-ms-high-contrast: none) {
|
|
60
|
+
html[data-whatinput='keyboard'] .dnb-tabs__content:focus::after {
|
|
61
|
+
-webkit-box-shadow: 0 0 0 0.125rem #14555a;
|
|
62
|
+
box-shadow: 0 0 0 0.125rem #14555a;
|
|
63
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
|
|
64
|
+
box-shadow: 0 0 0 0.125rem var(--color-emerald-green); } }
|
|
65
|
+
|
|
66
|
+
.dnb-tabs__button__title {
|
|
67
|
+
font-weight: normal;
|
|
68
|
+
font-weight: var(--font-weight-regular);
|
|
69
|
+
font-size: 1.125rem;
|
|
70
|
+
font-size: var(--font-size-basis);
|
|
71
|
+
text-align: center;
|
|
72
|
+
display: block;
|
|
73
|
+
color: #007272;
|
|
74
|
+
color: var(--color-sea-green);
|
|
75
|
+
padding: 0.5rem 0 0.25rem 0; }
|
|
76
|
+
|
|
77
|
+
html:not([data-whatintent='touch']) .dnb-tabs__button:hover[disabled] {
|
|
78
|
+
cursor: not-allowed; }
|
|
79
|
+
|
|
80
|
+
html:not([data-whatintent='touch']) .dnb-tabs__button:hover:not([disabled]) {
|
|
81
|
+
background-color: #d2f0e9;
|
|
82
|
+
background-color: var(--color-mint-green-50); }
|
|
83
|
+
html:not([data-whatintent='touch']) .dnb-tabs__button:hover:not([disabled])::after {
|
|
84
|
+
height: 2px;
|
|
85
|
+
border-radius: 2px;
|
|
86
|
+
background-color: #007272;
|
|
87
|
+
background-color: var(--color-sea-green); }
|
|
88
|
+
|
|
89
|
+
.dnb-tabs__button:focus {
|
|
90
|
+
overflow: visible; }
|
|
91
|
+
.dnb-tabs__button:focus::before {
|
|
92
|
+
content: '';
|
|
93
|
+
position: absolute;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
top: 0;
|
|
96
|
+
left: -0.5rem;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
right: -0.5rem;
|
|
99
|
+
height: inherit;
|
|
100
|
+
border-radius: inherit;
|
|
101
|
+
outline: none; }
|
|
102
|
+
html[data-whatinput='keyboard'] .dnb-tabs__button:focus::before {
|
|
103
|
+
--border-color: var(--color-emerald-green);
|
|
104
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
105
|
+
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
106
|
+
border-color: transparent; }
|
|
107
|
+
@media screen and (-ms-high-contrast: none) {
|
|
108
|
+
html[data-whatinput='keyboard'] .dnb-tabs__button:focus::before {
|
|
109
|
+
-webkit-box-shadow: 0 0 0 0.125rem #14555a;
|
|
110
|
+
box-shadow: 0 0 0 0.125rem #14555a;
|
|
111
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
|
|
112
|
+
box-shadow: 0 0 0 0.125rem var(--color-emerald-green); } }
|
|
113
|
+
.dnb-tabs__button:focus::before {
|
|
114
|
+
top: 0.5rem;
|
|
115
|
+
left: -0.375rem;
|
|
116
|
+
right: -0.375rem;
|
|
117
|
+
bottom: 0.5rem;
|
|
118
|
+
border-radius: 1.5rem; }
|
|
119
|
+
|
|
120
|
+
.dnb-tabs__button[disabled] .dnb-tabs__button__title {
|
|
121
|
+
color: #b3dada;
|
|
122
|
+
color: var(--color-sea-green-30); }
|
|
123
|
+
|
|
124
|
+
.dnb-tabs__button:not([disabled]):active::after, .dnb-tabs__button:not([disabled]).selected::after {
|
|
125
|
+
height: 2px;
|
|
126
|
+
border-radius: 2px;
|
|
127
|
+
background-color: #007272;
|
|
128
|
+
background-color: var(--color-sea-green); }
|
|
129
|
+
|
|
130
|
+
.dnb-tabs__button:not([disabled]):active .dnb-tabs__button__title,
|
|
131
|
+
.dnb-tabs__button:not([disabled]).selected .dnb-tabs__button__title {
|
|
132
|
+
color: #14555a;
|
|
133
|
+
color: var(--color-emerald-green); }
|
|
134
|
+
|
|
135
|
+
.dnb-tabs__button:not([disabled]).selected .dnb-tabs__button__title {
|
|
136
|
+
font-weight: 500;
|
|
137
|
+
font-weight: var(--font-weight-medium); }
|
|
138
|
+
|
|
139
|
+
.dnb-tabs__button span[hidden] {
|
|
140
|
+
font-weight: 500;
|
|
141
|
+
font-weight: var(--font-weight-medium); }
|
|
142
|
+
|
|
143
|
+
html:not([data-whatintent='touch']) .dnb-tabs__button:hover[disabled] {
|
|
144
|
+
cursor: not-allowed; }
|
|
145
|
+
|
|
146
|
+
html:not([data-whatintent='touch']) .dnb-tabs__button:hover:not([disabled]) {
|
|
147
|
+
background-color: #f2f4ec;
|
|
148
|
+
background-color: var(--color-pistachio); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.dnb-tabs__tabs:not(.dnb-section):before{background-color:#ebebeb;background-color:var(--color-black-8);-webkit-box-shadow:100vw 0 0 0 #ebebeb;box-shadow:100vw 0 0 0 #ebebeb;-webkit-box-shadow:100vw 0 0 0 var(--color-black-8);box-shadow:100vw 0 0 0 var(--color-black-8)}.dnb-tabs__tabs__tablist:focus{border-radius:.5rem}.dnb-tabs--at-edge .dnb-tabs__scroll-nav-button:first-of-type{border-radius:0 50% 50% 0}.dnb-tabs--at-edge .dnb-tabs__scroll-nav-button:last-of-type{border-radius:50% 0 0 50%}.dnb-tabs--at-edge .dnb-tabs__tabs__tablist:focus{border-radius:0}.dnb-tabs__content:focus{position:relative}.dnb-tabs__content:focus:after{border-radius:.5rem;bottom:-.5rem;content:"";left:-.5rem;max-width:100vw;outline:none;position:absolute;right:-.5rem;top:.125rem;z-index:-1}html[data-whatinput=keyboard] .dnb-tabs__content:focus:after{--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=keyboard] .dnb-tabs__content:focus:after{-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-tabs__button__title{color:#007272;color:var(--color-sea-green);display:block;font-size:1.125rem;font-size:var(--font-size-basis);font-weight:400;font-weight:var(--font-weight-regular);padding:.5rem 0 .25rem;text-align:center}html:not([data-whatintent=touch]) .dnb-tabs__button:hover:not([disabled]){background-color:#d2f0e9;background-color:var(--color-mint-green-50)}html:not([data-whatintent=touch]) .dnb-tabs__button:hover:not([disabled]):after{background-color:#007272;background-color:var(--color-sea-green);border-radius:2px;height:2px}.dnb-tabs__button:focus{overflow:visible}.dnb-tabs__button:focus:before{border-radius:inherit;bottom:0;content:"";height:inherit;left:-.5rem;outline:none;position:absolute;right:-.5rem;top:0;z-index:1}html[data-whatinput=keyboard] .dnb-tabs__button:focus: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=keyboard] .dnb-tabs__button:focus: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-tabs__button:focus:before{border-radius:1.5rem;bottom:.5rem;left:-.375rem;right:-.375rem;top:.5rem}.dnb-tabs__button[disabled] .dnb-tabs__button__title{color:#b3dada;color:var(--color-sea-green-30)}.dnb-tabs__button:not([disabled]).selected:after,.dnb-tabs__button:not([disabled]):active:after{background-color:#007272;background-color:var(--color-sea-green);border-radius:2px;height:2px}.dnb-tabs__button:not([disabled]).selected .dnb-tabs__button__title,.dnb-tabs__button:not([disabled]):active .dnb-tabs__button__title{color:#14555a;color:var(--color-emerald-green)}.dnb-tabs__button:not([disabled]).selected .dnb-tabs__button__title,.dnb-tabs__button span[hidden]{font-weight:500;font-weight:var(--font-weight-medium)}html:not([data-whatintent=touch]) .dnb-tabs__button:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-tabs__button:hover:not([disabled]){background-color:#f2f4ec;background-color:var(--color-pistachio)}
|