@dnb/eufemia 9.23.0-beta.3 → 9.23.0-beta.4
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/accordion/style/dnb-accordion.css +92 -0
- package/cjs/components/accordion/style/dnb-accordion.min.css +1 -1
- package/cjs/components/accordion/style/dnb-accordion.scss +3 -0
- package/cjs/components/autocomplete/style/dnb-autocomplete.css +1652 -64
- package/cjs/components/autocomplete/style/dnb-autocomplete.min.css +2 -2
- package/cjs/components/autocomplete/style/dnb-autocomplete.scss +1 -2
- package/cjs/components/button/style/dnb-button.css +192 -0
- package/cjs/components/button/style/dnb-button.min.css +1 -1
- package/cjs/components/button/style/dnb-button.scss +1 -1
- package/cjs/components/date-picker/style/dnb-date-picker.css +729 -0
- package/cjs/components/date-picker/style/dnb-date-picker.min.css +2 -2
- package/cjs/components/dialog/style/dnb-dialog.css +1870 -79
- package/cjs/components/dialog/style/dnb-dialog.min.css +1 -1
- package/cjs/components/dialog/style/dnb-dialog.scss +1 -1
- package/cjs/components/drawer/style/dnb-drawer.css +1870 -79
- package/cjs/components/drawer/style/dnb-drawer.min.css +1 -1
- package/cjs/components/drawer/style/dnb-drawer.scss +1 -1
- package/cjs/components/dropdown/style/dnb-dropdown.css +192 -0
- package/cjs/components/dropdown/style/dnb-dropdown.min.css +1 -1
- package/cjs/components/dropdown/style/themes/dnb-dropdown-theme-ui.css +12 -11
- package/cjs/components/dropdown/style/themes/dnb-dropdown-theme-ui.min.css +1 -1
- package/cjs/components/dropdown/style/themes/dnb-dropdown-theme-ui.scss +4 -1
- package/cjs/components/global-error/style/dnb-global-error.css +192 -0
- package/cjs/components/global-error/style/dnb-global-error.min.css +1 -1
- package/cjs/components/global-status/style/dnb-global-status.css +192 -0
- package/cjs/components/global-status/style/dnb-global-status.min.css +1 -1
- package/cjs/components/help-button/style/dnb-help-button.css +773 -0
- package/cjs/components/help-button/style/dnb-help-button.min.css +1 -1
- package/cjs/components/help-button/style/dnb-help-button.scss +3 -0
- package/cjs/components/icon/Icon.d.ts +1 -1
- package/cjs/components/icon-primary/IconPrimary.d.ts +1 -1
- package/cjs/components/input/style/dnb-input.css +371 -0
- package/cjs/components/input/style/dnb-input.min.css +1 -1
- package/cjs/components/input/style/dnb-input.scss +1 -0
- package/cjs/components/input-masked/style/dnb-input-masked.css +371 -0
- package/cjs/components/input-masked/style/dnb-input-masked.min.css +1 -1
- package/cjs/components/modal/style/dnb-modal.css +268 -0
- package/cjs/components/modal/style/dnb-modal.min.css +1 -1
- package/cjs/components/modal/style/dnb-modal.scss +1 -1
- package/cjs/components/pagination/style/dnb-pagination.css +192 -0
- package/cjs/components/pagination/style/dnb-pagination.min.css +1 -1
- package/cjs/components/slider/style/dnb-slider.css +192 -0
- package/cjs/components/slider/style/dnb-slider.min.css +1 -1
- package/cjs/components/step-indicator/style/dnb-step-indicator.css +773 -0
- package/cjs/components/step-indicator/style/dnb-step-indicator.min.css +1 -1
- package/cjs/components/step-indicator/style/dnb-step-indicator.scss +2 -0
- package/cjs/components/tabs/Tabs.d.ts +6 -0
- package/cjs/components/tabs/Tabs.js +147 -151
- package/cjs/components/tabs/style/_tabs.scss +83 -60
- package/cjs/components/tabs/style/dnb-tabs.css +189 -181
- package/cjs/components/tabs/style/dnb-tabs.min.css +1 -1
- package/cjs/components/tag/style/dnb-tag.css +192 -0
- package/cjs/components/tag/style/dnb-tag.min.css +1 -1
- package/cjs/components/toggle-button/style/dnb-toggle-button.css +192 -0
- package/cjs/components/toggle-button/style/dnb-toggle-button.min.css +1 -1
- package/cjs/components/toggle-button/style/dnb-toggle-button.scss +2 -0
- package/cjs/shared/Eufemia.js +1 -1
- package/cjs/style/dnb-ui-components.css +189 -181
- package/cjs/style/dnb-ui-components.min.css +1 -1
- package/cjs/style/themes/theme-open-banking/dnb-theme-open-banking.css +12 -11
- package/cjs/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +1 -1
- package/cjs/style/themes/theme-ui/dnb-theme-ui.css +12 -11
- package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +1 -1
- package/components/accordion/style/dnb-accordion.css +92 -0
- package/components/accordion/style/dnb-accordion.min.css +1 -1
- package/components/accordion/style/dnb-accordion.scss +3 -0
- package/components/autocomplete/style/dnb-autocomplete.css +1652 -64
- package/components/autocomplete/style/dnb-autocomplete.min.css +2 -2
- package/components/autocomplete/style/dnb-autocomplete.scss +1 -2
- package/components/button/style/dnb-button.css +192 -0
- package/components/button/style/dnb-button.min.css +1 -1
- package/components/button/style/dnb-button.scss +1 -1
- package/components/date-picker/style/dnb-date-picker.css +729 -0
- package/components/date-picker/style/dnb-date-picker.min.css +2 -2
- package/components/dialog/style/dnb-dialog.css +1870 -79
- package/components/dialog/style/dnb-dialog.min.css +1 -1
- package/components/dialog/style/dnb-dialog.scss +1 -1
- package/components/drawer/style/dnb-drawer.css +1870 -79
- package/components/drawer/style/dnb-drawer.min.css +1 -1
- package/components/drawer/style/dnb-drawer.scss +1 -1
- package/components/dropdown/style/dnb-dropdown.css +192 -0
- package/components/dropdown/style/dnb-dropdown.min.css +1 -1
- package/components/dropdown/style/themes/dnb-dropdown-theme-ui.css +12 -11
- package/components/dropdown/style/themes/dnb-dropdown-theme-ui.min.css +1 -1
- package/components/dropdown/style/themes/dnb-dropdown-theme-ui.scss +4 -1
- package/components/global-error/style/dnb-global-error.css +192 -0
- package/components/global-error/style/dnb-global-error.min.css +1 -1
- package/components/global-status/style/dnb-global-status.css +192 -0
- package/components/global-status/style/dnb-global-status.min.css +1 -1
- package/components/help-button/style/dnb-help-button.css +773 -0
- package/components/help-button/style/dnb-help-button.min.css +1 -1
- package/components/help-button/style/dnb-help-button.scss +3 -0
- package/components/icon/Icon.d.ts +1 -1
- package/components/icon-primary/IconPrimary.d.ts +1 -1
- package/components/input/style/dnb-input.css +371 -0
- package/components/input/style/dnb-input.min.css +1 -1
- package/components/input/style/dnb-input.scss +1 -0
- package/components/input-masked/style/dnb-input-masked.css +371 -0
- package/components/input-masked/style/dnb-input-masked.min.css +1 -1
- package/components/modal/style/dnb-modal.css +268 -0
- package/components/modal/style/dnb-modal.min.css +1 -1
- package/components/modal/style/dnb-modal.scss +1 -1
- package/components/pagination/style/dnb-pagination.css +192 -0
- package/components/pagination/style/dnb-pagination.min.css +1 -1
- package/components/slider/style/dnb-slider.css +192 -0
- package/components/slider/style/dnb-slider.min.css +1 -1
- package/components/step-indicator/style/dnb-step-indicator.css +773 -0
- package/components/step-indicator/style/dnb-step-indicator.min.css +1 -1
- package/components/step-indicator/style/dnb-step-indicator.scss +2 -0
- package/components/tabs/Tabs.d.ts +6 -0
- package/components/tabs/Tabs.js +146 -150
- package/components/tabs/style/_tabs.scss +83 -60
- package/components/tabs/style/dnb-tabs.css +189 -181
- package/components/tabs/style/dnb-tabs.min.css +1 -1
- package/components/tag/style/dnb-tag.css +192 -0
- package/components/tag/style/dnb-tag.min.css +1 -1
- package/components/toggle-button/style/dnb-toggle-button.css +192 -0
- package/components/toggle-button/style/dnb-toggle-button.min.css +1 -1
- package/components/toggle-button/style/dnb-toggle-button.scss +2 -0
- package/es/components/accordion/style/dnb-accordion.css +92 -0
- package/es/components/accordion/style/dnb-accordion.min.css +1 -1
- package/es/components/accordion/style/dnb-accordion.scss +3 -0
- package/es/components/autocomplete/style/dnb-autocomplete.css +1652 -64
- package/es/components/autocomplete/style/dnb-autocomplete.min.css +2 -2
- package/es/components/autocomplete/style/dnb-autocomplete.scss +1 -2
- package/es/components/button/style/dnb-button.css +192 -0
- package/es/components/button/style/dnb-button.min.css +1 -1
- package/es/components/button/style/dnb-button.scss +1 -1
- package/es/components/date-picker/style/dnb-date-picker.css +729 -0
- package/es/components/date-picker/style/dnb-date-picker.min.css +2 -2
- package/es/components/dialog/style/dnb-dialog.css +1870 -79
- package/es/components/dialog/style/dnb-dialog.min.css +1 -1
- package/es/components/dialog/style/dnb-dialog.scss +1 -1
- package/es/components/drawer/style/dnb-drawer.css +1870 -79
- package/es/components/drawer/style/dnb-drawer.min.css +1 -1
- package/es/components/drawer/style/dnb-drawer.scss +1 -1
- package/es/components/dropdown/style/dnb-dropdown.css +192 -0
- package/es/components/dropdown/style/dnb-dropdown.min.css +1 -1
- package/es/components/dropdown/style/themes/dnb-dropdown-theme-ui.css +12 -11
- package/es/components/dropdown/style/themes/dnb-dropdown-theme-ui.min.css +1 -1
- package/es/components/dropdown/style/themes/dnb-dropdown-theme-ui.scss +4 -1
- package/es/components/global-error/style/dnb-global-error.css +192 -0
- package/es/components/global-error/style/dnb-global-error.min.css +1 -1
- package/es/components/global-status/style/dnb-global-status.css +192 -0
- package/es/components/global-status/style/dnb-global-status.min.css +1 -1
- package/es/components/help-button/style/dnb-help-button.css +773 -0
- package/es/components/help-button/style/dnb-help-button.min.css +1 -1
- package/es/components/help-button/style/dnb-help-button.scss +3 -0
- package/es/components/icon/Icon.d.ts +1 -1
- package/es/components/icon-primary/IconPrimary.d.ts +1 -1
- package/es/components/input/style/dnb-input.css +371 -0
- package/es/components/input/style/dnb-input.min.css +1 -1
- package/es/components/input/style/dnb-input.scss +1 -0
- package/es/components/input-masked/style/dnb-input-masked.css +371 -0
- package/es/components/input-masked/style/dnb-input-masked.min.css +1 -1
- package/es/components/modal/style/dnb-modal.css +268 -0
- package/es/components/modal/style/dnb-modal.min.css +1 -1
- package/es/components/modal/style/dnb-modal.scss +1 -1
- package/es/components/pagination/style/dnb-pagination.css +192 -0
- package/es/components/pagination/style/dnb-pagination.min.css +1 -1
- package/es/components/slider/style/dnb-slider.css +192 -0
- package/es/components/slider/style/dnb-slider.min.css +1 -1
- package/es/components/step-indicator/style/dnb-step-indicator.css +773 -0
- package/es/components/step-indicator/style/dnb-step-indicator.min.css +1 -1
- package/es/components/step-indicator/style/dnb-step-indicator.scss +2 -0
- package/es/components/tabs/Tabs.d.ts +6 -0
- package/es/components/tabs/Tabs.js +110 -114
- package/es/components/tabs/style/_tabs.scss +83 -60
- package/es/components/tabs/style/dnb-tabs.css +189 -181
- package/es/components/tabs/style/dnb-tabs.min.css +1 -1
- package/es/components/tag/style/dnb-tag.css +192 -0
- package/es/components/tag/style/dnb-tag.min.css +1 -1
- package/es/components/toggle-button/style/dnb-toggle-button.css +192 -0
- package/es/components/toggle-button/style/dnb-toggle-button.min.css +1 -1
- package/es/components/toggle-button/style/dnb-toggle-button.scss +2 -0
- package/es/shared/Eufemia.js +1 -1
- package/es/style/dnb-ui-components.css +189 -181
- package/es/style/dnb-ui-components.min.css +1 -1
- package/es/style/themes/theme-open-banking/dnb-theme-open-banking.css +12 -11
- package/es/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +1 -1
- package/es/style/themes/theme-ui/dnb-theme-ui.css +12 -11
- 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 +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/style/dnb-ui-components.css +189 -181
- package/style/dnb-ui-components.min.css +1 -1
- package/style/themes/theme-open-banking/dnb-theme-open-banking.css +12 -11
- package/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +1 -1
- package/style/themes/theme-ui/dnb-theme-ui.css +12 -11
- 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 +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 +4 -4
|
@@ -150,6 +150,198 @@
|
|
|
150
150
|
-ms-flex: none;
|
|
151
151
|
flex: none; } }
|
|
152
152
|
|
|
153
|
+
/*
|
|
154
|
+
* DNB Tooltip
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
/**
|
|
158
|
+
* This file is only used to make components independent
|
|
159
|
+
* so that they can get imported individually, without the core styles
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
/*
|
|
163
|
+
* Utilities
|
|
164
|
+
*/
|
|
165
|
+
/*
|
|
166
|
+
* Scopes
|
|
167
|
+
*
|
|
168
|
+
*/
|
|
169
|
+
/*
|
|
170
|
+
* Document Reset
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
.dnb-tooltip {
|
|
174
|
+
font-family: 'DNB', sans-serif;
|
|
175
|
+
font-family: var(--font-family-default);
|
|
176
|
+
font-weight: normal;
|
|
177
|
+
font-weight: var(--font-weight-basis);
|
|
178
|
+
font-size: 1rem;
|
|
179
|
+
font-size: var(--font-size-small);
|
|
180
|
+
font-style: normal;
|
|
181
|
+
line-height: 1.5rem;
|
|
182
|
+
line-height: var(--line-height-basis);
|
|
183
|
+
color: #333;
|
|
184
|
+
color: var(--color-black-80, #333);
|
|
185
|
+
-moz-osx-font-smoothing: grayscale;
|
|
186
|
+
-webkit-font-smoothing: antialiased;
|
|
187
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
188
|
+
/**
|
|
189
|
+
* Ensure consistency and use the same as HTML reset -> html {...}
|
|
190
|
+
* between base and code package
|
|
191
|
+
*/
|
|
192
|
+
-moz-tab-size: 4;
|
|
193
|
+
-o-tab-size: 4;
|
|
194
|
+
tab-size: 4;
|
|
195
|
+
-ms-text-size-adjust: 100%;
|
|
196
|
+
-webkit-text-size-adjust: 100%;
|
|
197
|
+
word-break: break-word;
|
|
198
|
+
/**
|
|
199
|
+
* 1. Remove repeating backgrounds in all browsers (opinionated).
|
|
200
|
+
* 2. Add border box sizing in all browsers (opinionated).
|
|
201
|
+
*/
|
|
202
|
+
/**
|
|
203
|
+
* 1. Add text decoration inheritance in all browsers (opinionated).
|
|
204
|
+
* 2. Add vertical alignment inheritance in all browsers (opinionated).
|
|
205
|
+
*/
|
|
206
|
+
margin: 0;
|
|
207
|
+
padding: 0; }
|
|
208
|
+
.dnb-tooltip *,
|
|
209
|
+
.dnb-tooltip ::before,
|
|
210
|
+
.dnb-tooltip ::after {
|
|
211
|
+
background-repeat: no-repeat;
|
|
212
|
+
/* 1 */
|
|
213
|
+
-webkit-box-sizing: border-box;
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
/* 2 */ }
|
|
216
|
+
.dnb-tooltip ::before,
|
|
217
|
+
.dnb-tooltip ::after {
|
|
218
|
+
text-decoration: inherit;
|
|
219
|
+
/* 1 */
|
|
220
|
+
vertical-align: inherit;
|
|
221
|
+
/* 2 */ }
|
|
222
|
+
|
|
223
|
+
/*
|
|
224
|
+
* Tooltip component
|
|
225
|
+
*
|
|
226
|
+
*/
|
|
227
|
+
.dnb-tooltip {
|
|
228
|
+
position: absolute;
|
|
229
|
+
z-index: 3100;
|
|
230
|
+
display: -webkit-box;
|
|
231
|
+
display: -ms-flexbox;
|
|
232
|
+
display: flex;
|
|
233
|
+
-webkit-box-orient: vertical;
|
|
234
|
+
-webkit-box-direction: normal;
|
|
235
|
+
-ms-flex-direction: column;
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
-webkit-box-pack: center;
|
|
238
|
+
-ms-flex-pack: center;
|
|
239
|
+
justify-content: center;
|
|
240
|
+
-webkit-box-align: center;
|
|
241
|
+
-ms-flex-align: center;
|
|
242
|
+
align-items: center;
|
|
243
|
+
padding: 0 1rem;
|
|
244
|
+
opacity: 0;
|
|
245
|
+
visibility: hidden;
|
|
246
|
+
-webkit-transition: opacity 200ms ease-out;
|
|
247
|
+
transition: opacity 200ms ease-out; }
|
|
248
|
+
.dnb-tooltip--large {
|
|
249
|
+
padding: 0.25rem 1rem; }
|
|
250
|
+
.dnb-tooltip--animate_position {
|
|
251
|
+
-webkit-transition: all 300ms ease-in-out, opacity 200ms ease-out;
|
|
252
|
+
transition: all 300ms ease-in-out, opacity 200ms ease-out; }
|
|
253
|
+
.dnb-tooltip--active {
|
|
254
|
+
visibility: visible;
|
|
255
|
+
/*
|
|
256
|
+
because of the first "show" we also use animation
|
|
257
|
+
also, use forwards because of the usage of visibility
|
|
258
|
+
*/
|
|
259
|
+
-webkit-animation: show-tooltip 200ms ease-out forwards;
|
|
260
|
+
animation: show-tooltip 200ms ease-out forwards; }
|
|
261
|
+
html[data-visual-test] .dnb-tooltip--active, .dnb-tooltip--active.dnb-tooltip--no-animation {
|
|
262
|
+
-webkit-animation: show-tooltip 1ms ease-out forwards;
|
|
263
|
+
animation: show-tooltip 1ms ease-out forwards; }
|
|
264
|
+
.dnb-tooltip--hide {
|
|
265
|
+
visibility: visible;
|
|
266
|
+
-webkit-animation: hide-tooltip 200ms ease-in-out forwards;
|
|
267
|
+
animation: hide-tooltip 200ms ease-in-out forwards; }
|
|
268
|
+
.dnb-tooltip--hide.dnb-tooltip--no-animation {
|
|
269
|
+
-webkit-animation: hide-tooltip 1ms ease-out forwards;
|
|
270
|
+
animation: hide-tooltip 1ms ease-out forwards; }
|
|
271
|
+
.dnb-tooltip--fixed {
|
|
272
|
+
position: fixed; }
|
|
273
|
+
html[data-visual-test] .dnb-tooltip--hide {
|
|
274
|
+
-webkit-animation: hide-tooltip 1ms ease-out 1s forwards;
|
|
275
|
+
animation: hide-tooltip 1ms ease-out 1s forwards; }
|
|
276
|
+
.dnb-tooltip__content {
|
|
277
|
+
min-width: 2rem;
|
|
278
|
+
min-height: 1.5rem;
|
|
279
|
+
padding: 0; }
|
|
280
|
+
.dnb-tooltip__arrow {
|
|
281
|
+
position: absolute;
|
|
282
|
+
pointer-events: none;
|
|
283
|
+
margin: 0;
|
|
284
|
+
width: 1rem;
|
|
285
|
+
height: 0.5rem;
|
|
286
|
+
overflow: hidden; }
|
|
287
|
+
.dnb-tooltip__arrow::before {
|
|
288
|
+
content: '';
|
|
289
|
+
position: absolute;
|
|
290
|
+
bottom: 0;
|
|
291
|
+
left: 0;
|
|
292
|
+
width: 1rem;
|
|
293
|
+
height: 1rem;
|
|
294
|
+
-webkit-transform: translateY(70%) rotate(45deg);
|
|
295
|
+
transform: translateY(70%) rotate(45deg); }
|
|
296
|
+
.dnb-tooltip__arrow__position--bottom {
|
|
297
|
+
top: -0.5rem; }
|
|
298
|
+
.dnb-tooltip__arrow__position--top {
|
|
299
|
+
bottom: -0.5rem;
|
|
300
|
+
-webkit-transform: rotate(180deg);
|
|
301
|
+
transform: rotate(180deg); }
|
|
302
|
+
.dnb-tooltip__arrow__position--left {
|
|
303
|
+
right: -0.75rem;
|
|
304
|
+
margin-right: 3px;
|
|
305
|
+
-webkit-transform: rotate(90deg);
|
|
306
|
+
transform: rotate(90deg); }
|
|
307
|
+
.dnb-tooltip__arrow__position--right {
|
|
308
|
+
left: -0.75rem;
|
|
309
|
+
margin-left: 3px;
|
|
310
|
+
-webkit-transform: rotate(270deg);
|
|
311
|
+
transform: rotate(270deg); }
|
|
312
|
+
.dnb-tooltip__arrow__arrow--left {
|
|
313
|
+
-ms-flex-item-align: start;
|
|
314
|
+
align-self: flex-start; }
|
|
315
|
+
.dnb-tooltip__arrow__arrow--right {
|
|
316
|
+
-ms-flex-item-align: end;
|
|
317
|
+
align-self: flex-end; }
|
|
318
|
+
|
|
319
|
+
@-webkit-keyframes show-tooltip {
|
|
320
|
+
from {
|
|
321
|
+
opacity: 0; }
|
|
322
|
+
to {
|
|
323
|
+
opacity: 1; } }
|
|
324
|
+
|
|
325
|
+
@keyframes show-tooltip {
|
|
326
|
+
from {
|
|
327
|
+
opacity: 0; }
|
|
328
|
+
to {
|
|
329
|
+
opacity: 1; } }
|
|
330
|
+
|
|
331
|
+
@-webkit-keyframes hide-tooltip {
|
|
332
|
+
from {
|
|
333
|
+
opacity: 1; }
|
|
334
|
+
to {
|
|
335
|
+
opacity: 0;
|
|
336
|
+
visibility: hidden; } }
|
|
337
|
+
|
|
338
|
+
@keyframes hide-tooltip {
|
|
339
|
+
from {
|
|
340
|
+
opacity: 1; }
|
|
341
|
+
to {
|
|
342
|
+
opacity: 0;
|
|
343
|
+
visibility: hidden; } }
|
|
344
|
+
|
|
153
345
|
/*
|
|
154
346
|
* DNB FormStatus
|
|
155
347
|
*
|
|
@@ -711,6 +903,185 @@ button.dnb-button::-moz-focus-inner {
|
|
|
711
903
|
-ms-flex: none;
|
|
712
904
|
flex: none; } }
|
|
713
905
|
|
|
906
|
+
/*
|
|
907
|
+
* DNB Tooltip
|
|
908
|
+
*
|
|
909
|
+
*/
|
|
910
|
+
/**
|
|
911
|
+
* This file is only used to make components independent
|
|
912
|
+
* so that they can get imported individually, without the core styles
|
|
913
|
+
*
|
|
914
|
+
*/
|
|
915
|
+
/*
|
|
916
|
+
* Utilities
|
|
917
|
+
*/
|
|
918
|
+
/*
|
|
919
|
+
* Scopes
|
|
920
|
+
*
|
|
921
|
+
*/
|
|
922
|
+
/*
|
|
923
|
+
* Document Reset
|
|
924
|
+
*
|
|
925
|
+
*/
|
|
926
|
+
.dnb-tooltip {
|
|
927
|
+
font-family: 'DNB', sans-serif;
|
|
928
|
+
font-family: var(--font-family-default);
|
|
929
|
+
font-weight: normal;
|
|
930
|
+
font-weight: var(--font-weight-basis);
|
|
931
|
+
font-size: 1rem;
|
|
932
|
+
font-size: var(--font-size-small);
|
|
933
|
+
font-style: normal;
|
|
934
|
+
line-height: 1.5rem;
|
|
935
|
+
line-height: var(--line-height-basis);
|
|
936
|
+
color: #333;
|
|
937
|
+
color: var(--color-black-80, #333);
|
|
938
|
+
-moz-osx-font-smoothing: grayscale;
|
|
939
|
+
-webkit-font-smoothing: antialiased;
|
|
940
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
941
|
+
/**
|
|
942
|
+
* Ensure consistency and use the same as HTML reset -> html {...}
|
|
943
|
+
* between base and code package
|
|
944
|
+
*/
|
|
945
|
+
-moz-tab-size: 4;
|
|
946
|
+
-o-tab-size: 4;
|
|
947
|
+
tab-size: 4;
|
|
948
|
+
-ms-text-size-adjust: 100%;
|
|
949
|
+
-webkit-text-size-adjust: 100%;
|
|
950
|
+
word-break: break-word;
|
|
951
|
+
/**
|
|
952
|
+
* 1. Remove repeating backgrounds in all browsers (opinionated).
|
|
953
|
+
* 2. Add border box sizing in all browsers (opinionated).
|
|
954
|
+
*/
|
|
955
|
+
/**
|
|
956
|
+
* 1. Add text decoration inheritance in all browsers (opinionated).
|
|
957
|
+
* 2. Add vertical alignment inheritance in all browsers (opinionated).
|
|
958
|
+
*/
|
|
959
|
+
margin: 0;
|
|
960
|
+
padding: 0; }
|
|
961
|
+
.dnb-tooltip *,
|
|
962
|
+
.dnb-tooltip ::before,
|
|
963
|
+
.dnb-tooltip ::after {
|
|
964
|
+
background-repeat: no-repeat;
|
|
965
|
+
/* 1 */
|
|
966
|
+
-webkit-box-sizing: border-box;
|
|
967
|
+
box-sizing: border-box;
|
|
968
|
+
/* 2 */ }
|
|
969
|
+
.dnb-tooltip ::before,
|
|
970
|
+
.dnb-tooltip ::after {
|
|
971
|
+
text-decoration: inherit;
|
|
972
|
+
/* 1 */
|
|
973
|
+
vertical-align: inherit;
|
|
974
|
+
/* 2 */ }
|
|
975
|
+
|
|
976
|
+
/*
|
|
977
|
+
* Tooltip component
|
|
978
|
+
*
|
|
979
|
+
*/
|
|
980
|
+
.dnb-tooltip {
|
|
981
|
+
position: absolute;
|
|
982
|
+
z-index: 3100;
|
|
983
|
+
display: -webkit-box;
|
|
984
|
+
display: -ms-flexbox;
|
|
985
|
+
display: flex;
|
|
986
|
+
-webkit-box-orient: vertical;
|
|
987
|
+
-webkit-box-direction: normal;
|
|
988
|
+
-ms-flex-direction: column;
|
|
989
|
+
flex-direction: column;
|
|
990
|
+
-webkit-box-pack: center;
|
|
991
|
+
-ms-flex-pack: center;
|
|
992
|
+
justify-content: center;
|
|
993
|
+
-webkit-box-align: center;
|
|
994
|
+
-ms-flex-align: center;
|
|
995
|
+
align-items: center;
|
|
996
|
+
padding: 0 1rem;
|
|
997
|
+
opacity: 0;
|
|
998
|
+
visibility: hidden;
|
|
999
|
+
-webkit-transition: opacity 200ms ease-out;
|
|
1000
|
+
transition: opacity 200ms ease-out; }
|
|
1001
|
+
.dnb-tooltip--large {
|
|
1002
|
+
padding: 0.25rem 1rem; }
|
|
1003
|
+
.dnb-tooltip--animate_position {
|
|
1004
|
+
-webkit-transition: all 300ms ease-in-out, opacity 200ms ease-out;
|
|
1005
|
+
transition: all 300ms ease-in-out, opacity 200ms ease-out; }
|
|
1006
|
+
.dnb-tooltip--active {
|
|
1007
|
+
visibility: visible;
|
|
1008
|
+
/*
|
|
1009
|
+
because of the first "show" we also use animation
|
|
1010
|
+
also, use forwards because of the usage of visibility
|
|
1011
|
+
*/
|
|
1012
|
+
-webkit-animation: show-tooltip 200ms ease-out forwards;
|
|
1013
|
+
animation: show-tooltip 200ms ease-out forwards; }
|
|
1014
|
+
html[data-visual-test] .dnb-tooltip--active, .dnb-tooltip--active.dnb-tooltip--no-animation {
|
|
1015
|
+
-webkit-animation: show-tooltip 1ms ease-out forwards;
|
|
1016
|
+
animation: show-tooltip 1ms ease-out forwards; }
|
|
1017
|
+
.dnb-tooltip--hide {
|
|
1018
|
+
visibility: visible;
|
|
1019
|
+
-webkit-animation: hide-tooltip 200ms ease-in-out forwards;
|
|
1020
|
+
animation: hide-tooltip 200ms ease-in-out forwards; }
|
|
1021
|
+
.dnb-tooltip--hide.dnb-tooltip--no-animation {
|
|
1022
|
+
-webkit-animation: hide-tooltip 1ms ease-out forwards;
|
|
1023
|
+
animation: hide-tooltip 1ms ease-out forwards; }
|
|
1024
|
+
.dnb-tooltip--fixed {
|
|
1025
|
+
position: fixed; }
|
|
1026
|
+
html[data-visual-test] .dnb-tooltip--hide {
|
|
1027
|
+
-webkit-animation: hide-tooltip 1ms ease-out 1s forwards;
|
|
1028
|
+
animation: hide-tooltip 1ms ease-out 1s forwards; }
|
|
1029
|
+
.dnb-tooltip__content {
|
|
1030
|
+
min-width: 2rem;
|
|
1031
|
+
min-height: 1.5rem;
|
|
1032
|
+
padding: 0; }
|
|
1033
|
+
.dnb-tooltip__arrow {
|
|
1034
|
+
position: absolute;
|
|
1035
|
+
pointer-events: none;
|
|
1036
|
+
margin: 0;
|
|
1037
|
+
width: 1rem;
|
|
1038
|
+
height: 0.5rem;
|
|
1039
|
+
overflow: hidden; }
|
|
1040
|
+
.dnb-tooltip__arrow::before {
|
|
1041
|
+
content: '';
|
|
1042
|
+
position: absolute;
|
|
1043
|
+
bottom: 0;
|
|
1044
|
+
left: 0;
|
|
1045
|
+
width: 1rem;
|
|
1046
|
+
height: 1rem;
|
|
1047
|
+
-webkit-transform: translateY(70%) rotate(45deg);
|
|
1048
|
+
transform: translateY(70%) rotate(45deg); }
|
|
1049
|
+
.dnb-tooltip__arrow__position--bottom {
|
|
1050
|
+
top: -0.5rem; }
|
|
1051
|
+
.dnb-tooltip__arrow__position--top {
|
|
1052
|
+
bottom: -0.5rem;
|
|
1053
|
+
-webkit-transform: rotate(180deg);
|
|
1054
|
+
transform: rotate(180deg); }
|
|
1055
|
+
.dnb-tooltip__arrow__position--left {
|
|
1056
|
+
right: -0.75rem;
|
|
1057
|
+
margin-right: 3px;
|
|
1058
|
+
-webkit-transform: rotate(90deg);
|
|
1059
|
+
transform: rotate(90deg); }
|
|
1060
|
+
.dnb-tooltip__arrow__position--right {
|
|
1061
|
+
left: -0.75rem;
|
|
1062
|
+
margin-left: 3px;
|
|
1063
|
+
-webkit-transform: rotate(270deg);
|
|
1064
|
+
transform: rotate(270deg); }
|
|
1065
|
+
.dnb-tooltip__arrow__arrow--left {
|
|
1066
|
+
-ms-flex-item-align: start;
|
|
1067
|
+
align-self: flex-start; }
|
|
1068
|
+
.dnb-tooltip__arrow__arrow--right {
|
|
1069
|
+
-ms-flex-item-align: end;
|
|
1070
|
+
align-self: flex-end; }
|
|
1071
|
+
|
|
1072
|
+
@keyframes show-tooltip {
|
|
1073
|
+
from {
|
|
1074
|
+
opacity: 0; }
|
|
1075
|
+
to {
|
|
1076
|
+
opacity: 1; } }
|
|
1077
|
+
|
|
1078
|
+
@keyframes hide-tooltip {
|
|
1079
|
+
from {
|
|
1080
|
+
opacity: 1; }
|
|
1081
|
+
to {
|
|
1082
|
+
opacity: 0;
|
|
1083
|
+
visibility: hidden; } }
|
|
1084
|
+
|
|
714
1085
|
/*
|
|
715
1086
|
* DNB FormLabel
|
|
716
1087
|
*
|
|
@@ -1561,6 +1932,185 @@ legend.dnb-form-label {
|
|
|
1561
1932
|
-ms-flex: none;
|
|
1562
1933
|
flex: none; } }
|
|
1563
1934
|
|
|
1935
|
+
/*
|
|
1936
|
+
* DNB Tooltip
|
|
1937
|
+
*
|
|
1938
|
+
*/
|
|
1939
|
+
/**
|
|
1940
|
+
* This file is only used to make components independent
|
|
1941
|
+
* so that they can get imported individually, without the core styles
|
|
1942
|
+
*
|
|
1943
|
+
*/
|
|
1944
|
+
/*
|
|
1945
|
+
* Utilities
|
|
1946
|
+
*/
|
|
1947
|
+
/*
|
|
1948
|
+
* Scopes
|
|
1949
|
+
*
|
|
1950
|
+
*/
|
|
1951
|
+
/*
|
|
1952
|
+
* Document Reset
|
|
1953
|
+
*
|
|
1954
|
+
*/
|
|
1955
|
+
.dnb-tooltip {
|
|
1956
|
+
font-family: 'DNB', sans-serif;
|
|
1957
|
+
font-family: var(--font-family-default);
|
|
1958
|
+
font-weight: normal;
|
|
1959
|
+
font-weight: var(--font-weight-basis);
|
|
1960
|
+
font-size: 1rem;
|
|
1961
|
+
font-size: var(--font-size-small);
|
|
1962
|
+
font-style: normal;
|
|
1963
|
+
line-height: 1.5rem;
|
|
1964
|
+
line-height: var(--line-height-basis);
|
|
1965
|
+
color: #333;
|
|
1966
|
+
color: var(--color-black-80, #333);
|
|
1967
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1968
|
+
-webkit-font-smoothing: antialiased;
|
|
1969
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
1970
|
+
/**
|
|
1971
|
+
* Ensure consistency and use the same as HTML reset -> html {...}
|
|
1972
|
+
* between base and code package
|
|
1973
|
+
*/
|
|
1974
|
+
-moz-tab-size: 4;
|
|
1975
|
+
-o-tab-size: 4;
|
|
1976
|
+
tab-size: 4;
|
|
1977
|
+
-ms-text-size-adjust: 100%;
|
|
1978
|
+
-webkit-text-size-adjust: 100%;
|
|
1979
|
+
word-break: break-word;
|
|
1980
|
+
/**
|
|
1981
|
+
* 1. Remove repeating backgrounds in all browsers (opinionated).
|
|
1982
|
+
* 2. Add border box sizing in all browsers (opinionated).
|
|
1983
|
+
*/
|
|
1984
|
+
/**
|
|
1985
|
+
* 1. Add text decoration inheritance in all browsers (opinionated).
|
|
1986
|
+
* 2. Add vertical alignment inheritance in all browsers (opinionated).
|
|
1987
|
+
*/
|
|
1988
|
+
margin: 0;
|
|
1989
|
+
padding: 0; }
|
|
1990
|
+
.dnb-tooltip *,
|
|
1991
|
+
.dnb-tooltip ::before,
|
|
1992
|
+
.dnb-tooltip ::after {
|
|
1993
|
+
background-repeat: no-repeat;
|
|
1994
|
+
/* 1 */
|
|
1995
|
+
-webkit-box-sizing: border-box;
|
|
1996
|
+
box-sizing: border-box;
|
|
1997
|
+
/* 2 */ }
|
|
1998
|
+
.dnb-tooltip ::before,
|
|
1999
|
+
.dnb-tooltip ::after {
|
|
2000
|
+
text-decoration: inherit;
|
|
2001
|
+
/* 1 */
|
|
2002
|
+
vertical-align: inherit;
|
|
2003
|
+
/* 2 */ }
|
|
2004
|
+
|
|
2005
|
+
/*
|
|
2006
|
+
* Tooltip component
|
|
2007
|
+
*
|
|
2008
|
+
*/
|
|
2009
|
+
.dnb-tooltip {
|
|
2010
|
+
position: absolute;
|
|
2011
|
+
z-index: 3100;
|
|
2012
|
+
display: -webkit-box;
|
|
2013
|
+
display: -ms-flexbox;
|
|
2014
|
+
display: flex;
|
|
2015
|
+
-webkit-box-orient: vertical;
|
|
2016
|
+
-webkit-box-direction: normal;
|
|
2017
|
+
-ms-flex-direction: column;
|
|
2018
|
+
flex-direction: column;
|
|
2019
|
+
-webkit-box-pack: center;
|
|
2020
|
+
-ms-flex-pack: center;
|
|
2021
|
+
justify-content: center;
|
|
2022
|
+
-webkit-box-align: center;
|
|
2023
|
+
-ms-flex-align: center;
|
|
2024
|
+
align-items: center;
|
|
2025
|
+
padding: 0 1rem;
|
|
2026
|
+
opacity: 0;
|
|
2027
|
+
visibility: hidden;
|
|
2028
|
+
-webkit-transition: opacity 200ms ease-out;
|
|
2029
|
+
transition: opacity 200ms ease-out; }
|
|
2030
|
+
.dnb-tooltip--large {
|
|
2031
|
+
padding: 0.25rem 1rem; }
|
|
2032
|
+
.dnb-tooltip--animate_position {
|
|
2033
|
+
-webkit-transition: all 300ms ease-in-out, opacity 200ms ease-out;
|
|
2034
|
+
transition: all 300ms ease-in-out, opacity 200ms ease-out; }
|
|
2035
|
+
.dnb-tooltip--active {
|
|
2036
|
+
visibility: visible;
|
|
2037
|
+
/*
|
|
2038
|
+
because of the first "show" we also use animation
|
|
2039
|
+
also, use forwards because of the usage of visibility
|
|
2040
|
+
*/
|
|
2041
|
+
-webkit-animation: show-tooltip 200ms ease-out forwards;
|
|
2042
|
+
animation: show-tooltip 200ms ease-out forwards; }
|
|
2043
|
+
html[data-visual-test] .dnb-tooltip--active, .dnb-tooltip--active.dnb-tooltip--no-animation {
|
|
2044
|
+
-webkit-animation: show-tooltip 1ms ease-out forwards;
|
|
2045
|
+
animation: show-tooltip 1ms ease-out forwards; }
|
|
2046
|
+
.dnb-tooltip--hide {
|
|
2047
|
+
visibility: visible;
|
|
2048
|
+
-webkit-animation: hide-tooltip 200ms ease-in-out forwards;
|
|
2049
|
+
animation: hide-tooltip 200ms ease-in-out forwards; }
|
|
2050
|
+
.dnb-tooltip--hide.dnb-tooltip--no-animation {
|
|
2051
|
+
-webkit-animation: hide-tooltip 1ms ease-out forwards;
|
|
2052
|
+
animation: hide-tooltip 1ms ease-out forwards; }
|
|
2053
|
+
.dnb-tooltip--fixed {
|
|
2054
|
+
position: fixed; }
|
|
2055
|
+
html[data-visual-test] .dnb-tooltip--hide {
|
|
2056
|
+
-webkit-animation: hide-tooltip 1ms ease-out 1s forwards;
|
|
2057
|
+
animation: hide-tooltip 1ms ease-out 1s forwards; }
|
|
2058
|
+
.dnb-tooltip__content {
|
|
2059
|
+
min-width: 2rem;
|
|
2060
|
+
min-height: 1.5rem;
|
|
2061
|
+
padding: 0; }
|
|
2062
|
+
.dnb-tooltip__arrow {
|
|
2063
|
+
position: absolute;
|
|
2064
|
+
pointer-events: none;
|
|
2065
|
+
margin: 0;
|
|
2066
|
+
width: 1rem;
|
|
2067
|
+
height: 0.5rem;
|
|
2068
|
+
overflow: hidden; }
|
|
2069
|
+
.dnb-tooltip__arrow::before {
|
|
2070
|
+
content: '';
|
|
2071
|
+
position: absolute;
|
|
2072
|
+
bottom: 0;
|
|
2073
|
+
left: 0;
|
|
2074
|
+
width: 1rem;
|
|
2075
|
+
height: 1rem;
|
|
2076
|
+
-webkit-transform: translateY(70%) rotate(45deg);
|
|
2077
|
+
transform: translateY(70%) rotate(45deg); }
|
|
2078
|
+
.dnb-tooltip__arrow__position--bottom {
|
|
2079
|
+
top: -0.5rem; }
|
|
2080
|
+
.dnb-tooltip__arrow__position--top {
|
|
2081
|
+
bottom: -0.5rem;
|
|
2082
|
+
-webkit-transform: rotate(180deg);
|
|
2083
|
+
transform: rotate(180deg); }
|
|
2084
|
+
.dnb-tooltip__arrow__position--left {
|
|
2085
|
+
right: -0.75rem;
|
|
2086
|
+
margin-right: 3px;
|
|
2087
|
+
-webkit-transform: rotate(90deg);
|
|
2088
|
+
transform: rotate(90deg); }
|
|
2089
|
+
.dnb-tooltip__arrow__position--right {
|
|
2090
|
+
left: -0.75rem;
|
|
2091
|
+
margin-left: 3px;
|
|
2092
|
+
-webkit-transform: rotate(270deg);
|
|
2093
|
+
transform: rotate(270deg); }
|
|
2094
|
+
.dnb-tooltip__arrow__arrow--left {
|
|
2095
|
+
-ms-flex-item-align: start;
|
|
2096
|
+
align-self: flex-start; }
|
|
2097
|
+
.dnb-tooltip__arrow__arrow--right {
|
|
2098
|
+
-ms-flex-item-align: end;
|
|
2099
|
+
align-self: flex-end; }
|
|
2100
|
+
|
|
2101
|
+
@keyframes show-tooltip {
|
|
2102
|
+
from {
|
|
2103
|
+
opacity: 0; }
|
|
2104
|
+
to {
|
|
2105
|
+
opacity: 1; } }
|
|
2106
|
+
|
|
2107
|
+
@keyframes hide-tooltip {
|
|
2108
|
+
from {
|
|
2109
|
+
opacity: 1; }
|
|
2110
|
+
to {
|
|
2111
|
+
opacity: 0;
|
|
2112
|
+
visibility: hidden; } }
|
|
2113
|
+
|
|
1564
2114
|
/*
|
|
1565
2115
|
* DNB FormStatus
|
|
1566
2116
|
*
|
|
@@ -2274,6 +2824,185 @@ legend.dnb-form-label {
|
|
|
2274
2824
|
-ms-flex: none;
|
|
2275
2825
|
flex: none; } }
|
|
2276
2826
|
|
|
2827
|
+
/*
|
|
2828
|
+
* DNB Tooltip
|
|
2829
|
+
*
|
|
2830
|
+
*/
|
|
2831
|
+
/**
|
|
2832
|
+
* This file is only used to make components independent
|
|
2833
|
+
* so that they can get imported individually, without the core styles
|
|
2834
|
+
*
|
|
2835
|
+
*/
|
|
2836
|
+
/*
|
|
2837
|
+
* Utilities
|
|
2838
|
+
*/
|
|
2839
|
+
/*
|
|
2840
|
+
* Scopes
|
|
2841
|
+
*
|
|
2842
|
+
*/
|
|
2843
|
+
/*
|
|
2844
|
+
* Document Reset
|
|
2845
|
+
*
|
|
2846
|
+
*/
|
|
2847
|
+
.dnb-tooltip {
|
|
2848
|
+
font-family: 'DNB', sans-serif;
|
|
2849
|
+
font-family: var(--font-family-default);
|
|
2850
|
+
font-weight: normal;
|
|
2851
|
+
font-weight: var(--font-weight-basis);
|
|
2852
|
+
font-size: 1rem;
|
|
2853
|
+
font-size: var(--font-size-small);
|
|
2854
|
+
font-style: normal;
|
|
2855
|
+
line-height: 1.5rem;
|
|
2856
|
+
line-height: var(--line-height-basis);
|
|
2857
|
+
color: #333;
|
|
2858
|
+
color: var(--color-black-80, #333);
|
|
2859
|
+
-moz-osx-font-smoothing: grayscale;
|
|
2860
|
+
-webkit-font-smoothing: antialiased;
|
|
2861
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
2862
|
+
/**
|
|
2863
|
+
* Ensure consistency and use the same as HTML reset -> html {...}
|
|
2864
|
+
* between base and code package
|
|
2865
|
+
*/
|
|
2866
|
+
-moz-tab-size: 4;
|
|
2867
|
+
-o-tab-size: 4;
|
|
2868
|
+
tab-size: 4;
|
|
2869
|
+
-ms-text-size-adjust: 100%;
|
|
2870
|
+
-webkit-text-size-adjust: 100%;
|
|
2871
|
+
word-break: break-word;
|
|
2872
|
+
/**
|
|
2873
|
+
* 1. Remove repeating backgrounds in all browsers (opinionated).
|
|
2874
|
+
* 2. Add border box sizing in all browsers (opinionated).
|
|
2875
|
+
*/
|
|
2876
|
+
/**
|
|
2877
|
+
* 1. Add text decoration inheritance in all browsers (opinionated).
|
|
2878
|
+
* 2. Add vertical alignment inheritance in all browsers (opinionated).
|
|
2879
|
+
*/
|
|
2880
|
+
margin: 0;
|
|
2881
|
+
padding: 0; }
|
|
2882
|
+
.dnb-tooltip *,
|
|
2883
|
+
.dnb-tooltip ::before,
|
|
2884
|
+
.dnb-tooltip ::after {
|
|
2885
|
+
background-repeat: no-repeat;
|
|
2886
|
+
/* 1 */
|
|
2887
|
+
-webkit-box-sizing: border-box;
|
|
2888
|
+
box-sizing: border-box;
|
|
2889
|
+
/* 2 */ }
|
|
2890
|
+
.dnb-tooltip ::before,
|
|
2891
|
+
.dnb-tooltip ::after {
|
|
2892
|
+
text-decoration: inherit;
|
|
2893
|
+
/* 1 */
|
|
2894
|
+
vertical-align: inherit;
|
|
2895
|
+
/* 2 */ }
|
|
2896
|
+
|
|
2897
|
+
/*
|
|
2898
|
+
* Tooltip component
|
|
2899
|
+
*
|
|
2900
|
+
*/
|
|
2901
|
+
.dnb-tooltip {
|
|
2902
|
+
position: absolute;
|
|
2903
|
+
z-index: 3100;
|
|
2904
|
+
display: -webkit-box;
|
|
2905
|
+
display: -ms-flexbox;
|
|
2906
|
+
display: flex;
|
|
2907
|
+
-webkit-box-orient: vertical;
|
|
2908
|
+
-webkit-box-direction: normal;
|
|
2909
|
+
-ms-flex-direction: column;
|
|
2910
|
+
flex-direction: column;
|
|
2911
|
+
-webkit-box-pack: center;
|
|
2912
|
+
-ms-flex-pack: center;
|
|
2913
|
+
justify-content: center;
|
|
2914
|
+
-webkit-box-align: center;
|
|
2915
|
+
-ms-flex-align: center;
|
|
2916
|
+
align-items: center;
|
|
2917
|
+
padding: 0 1rem;
|
|
2918
|
+
opacity: 0;
|
|
2919
|
+
visibility: hidden;
|
|
2920
|
+
-webkit-transition: opacity 200ms ease-out;
|
|
2921
|
+
transition: opacity 200ms ease-out; }
|
|
2922
|
+
.dnb-tooltip--large {
|
|
2923
|
+
padding: 0.25rem 1rem; }
|
|
2924
|
+
.dnb-tooltip--animate_position {
|
|
2925
|
+
-webkit-transition: all 300ms ease-in-out, opacity 200ms ease-out;
|
|
2926
|
+
transition: all 300ms ease-in-out, opacity 200ms ease-out; }
|
|
2927
|
+
.dnb-tooltip--active {
|
|
2928
|
+
visibility: visible;
|
|
2929
|
+
/*
|
|
2930
|
+
because of the first "show" we also use animation
|
|
2931
|
+
also, use forwards because of the usage of visibility
|
|
2932
|
+
*/
|
|
2933
|
+
-webkit-animation: show-tooltip 200ms ease-out forwards;
|
|
2934
|
+
animation: show-tooltip 200ms ease-out forwards; }
|
|
2935
|
+
html[data-visual-test] .dnb-tooltip--active, .dnb-tooltip--active.dnb-tooltip--no-animation {
|
|
2936
|
+
-webkit-animation: show-tooltip 1ms ease-out forwards;
|
|
2937
|
+
animation: show-tooltip 1ms ease-out forwards; }
|
|
2938
|
+
.dnb-tooltip--hide {
|
|
2939
|
+
visibility: visible;
|
|
2940
|
+
-webkit-animation: hide-tooltip 200ms ease-in-out forwards;
|
|
2941
|
+
animation: hide-tooltip 200ms ease-in-out forwards; }
|
|
2942
|
+
.dnb-tooltip--hide.dnb-tooltip--no-animation {
|
|
2943
|
+
-webkit-animation: hide-tooltip 1ms ease-out forwards;
|
|
2944
|
+
animation: hide-tooltip 1ms ease-out forwards; }
|
|
2945
|
+
.dnb-tooltip--fixed {
|
|
2946
|
+
position: fixed; }
|
|
2947
|
+
html[data-visual-test] .dnb-tooltip--hide {
|
|
2948
|
+
-webkit-animation: hide-tooltip 1ms ease-out 1s forwards;
|
|
2949
|
+
animation: hide-tooltip 1ms ease-out 1s forwards; }
|
|
2950
|
+
.dnb-tooltip__content {
|
|
2951
|
+
min-width: 2rem;
|
|
2952
|
+
min-height: 1.5rem;
|
|
2953
|
+
padding: 0; }
|
|
2954
|
+
.dnb-tooltip__arrow {
|
|
2955
|
+
position: absolute;
|
|
2956
|
+
pointer-events: none;
|
|
2957
|
+
margin: 0;
|
|
2958
|
+
width: 1rem;
|
|
2959
|
+
height: 0.5rem;
|
|
2960
|
+
overflow: hidden; }
|
|
2961
|
+
.dnb-tooltip__arrow::before {
|
|
2962
|
+
content: '';
|
|
2963
|
+
position: absolute;
|
|
2964
|
+
bottom: 0;
|
|
2965
|
+
left: 0;
|
|
2966
|
+
width: 1rem;
|
|
2967
|
+
height: 1rem;
|
|
2968
|
+
-webkit-transform: translateY(70%) rotate(45deg);
|
|
2969
|
+
transform: translateY(70%) rotate(45deg); }
|
|
2970
|
+
.dnb-tooltip__arrow__position--bottom {
|
|
2971
|
+
top: -0.5rem; }
|
|
2972
|
+
.dnb-tooltip__arrow__position--top {
|
|
2973
|
+
bottom: -0.5rem;
|
|
2974
|
+
-webkit-transform: rotate(180deg);
|
|
2975
|
+
transform: rotate(180deg); }
|
|
2976
|
+
.dnb-tooltip__arrow__position--left {
|
|
2977
|
+
right: -0.75rem;
|
|
2978
|
+
margin-right: 3px;
|
|
2979
|
+
-webkit-transform: rotate(90deg);
|
|
2980
|
+
transform: rotate(90deg); }
|
|
2981
|
+
.dnb-tooltip__arrow__position--right {
|
|
2982
|
+
left: -0.75rem;
|
|
2983
|
+
margin-left: 3px;
|
|
2984
|
+
-webkit-transform: rotate(270deg);
|
|
2985
|
+
transform: rotate(270deg); }
|
|
2986
|
+
.dnb-tooltip__arrow__arrow--left {
|
|
2987
|
+
-ms-flex-item-align: start;
|
|
2988
|
+
align-self: flex-start; }
|
|
2989
|
+
.dnb-tooltip__arrow__arrow--right {
|
|
2990
|
+
-ms-flex-item-align: end;
|
|
2991
|
+
align-self: flex-end; }
|
|
2992
|
+
|
|
2993
|
+
@keyframes show-tooltip {
|
|
2994
|
+
from {
|
|
2995
|
+
opacity: 0; }
|
|
2996
|
+
to {
|
|
2997
|
+
opacity: 1; } }
|
|
2998
|
+
|
|
2999
|
+
@keyframes hide-tooltip {
|
|
3000
|
+
from {
|
|
3001
|
+
opacity: 1; }
|
|
3002
|
+
to {
|
|
3003
|
+
opacity: 0;
|
|
3004
|
+
visibility: hidden; } }
|
|
3005
|
+
|
|
2277
3006
|
/*
|
|
2278
3007
|
* DNB FormStatus
|
|
2279
3008
|
*
|