UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

1,324 lines (1,307 loc) 446 kB
@charset "UTF-8"; /** * ATTENTION: This file is auto generated by using "styleFactory". * Do not change the content! * */ /* * Utilities */ /** * ATTENTION: This file is auto generated by using "styleFactory". * Do not change the content! * */ /* * Utilities */ /* * DrawerList component * */ /* * Utilities */ .eufemia-scope--10_104_0 .dnb-drawer-list { --drawer-list-height: 2rem; --drawer-list-padding-horizontal: 1rem; --drawer-list-focus-border-width: 0.125rem; --drawer-list-text-padding: 0.5rem; --drawer-list-height--small: 1.5rem; --drawer-list-height--medium: 2.5rem; --drawer-list-height--large: 3rem; --drawer-list-option-inner-background: var(--color-white); --drawer-list-list-background: var(--color-white); --drawer-list-list-line-height: var(--line-height-basis); --drawer-list-option-disabled-background: var(--color-white); --drawer-list-option-disabled-color: var(--color-black-20); --drawer-list-group-title-color: var(--color-black-80); --drawer-list-group-title-bg: var(--color-lavender); display: block; position: relative; width: inherit; min-width: inherit; font-size: var(--font-size-small); } .eufemia-scope--10_104_0 .dnb-drawer-list__portal { --drawer-list-width: 16rem; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal__style { position: absolute; transition: all 300ms var(--easing-default); } html[data-visual-test] .eufemia-scope--10_104_0 .dnb-drawer-list__portal__style { transition: none !important; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal__style { z-index: calc(var(--modal-z-index, 3200) + 300); } .eufemia-scope--10_104_0 .dnb-drawer-list__portal__style--fixed { position: fixed; } .eufemia-scope--10_104_0 .dnb-drawer-list__root { width: inherit; min-width: inherit; } .eufemia-scope--10_104_0 .dnb-drawer-list__root--portal { position: absolute; top: 0; left: 0; } .eufemia-scope--10_104_0 .dnb-drawer-list__content { width: 100%; padding: 0; } .eufemia-scope--10_104_0 .dnb-drawer-list__list { position: absolute; z-index: 3; top: 0; bottom: auto; left: 0; right: 0; width: inherit; min-width: inherit; margin: 0; padding: 0; font-size: var(--font-size-basis); line-height: var(--drawer-list-list-line-height); background-color: var(--drawer-list-list-background); transform: translateY(0); transition: transform 200ms, opacity 160ms ease-out; } .eufemia-scope--10_104_0 .dnb-spacing .dnb-drawer-list__options li.dnb-drawer-list__option { margin: 0; } .eufemia-scope--10_104_0 .dnb-drawer-list__options { display: flex; flex-direction: column; width: 100%; margin: 0; max-height: 90vh; padding: 0; list-style: none; background-color: transparent; } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options { min-height: 2rem; max-height: 70vh; transition: max-height 300ms var(--easing-default); overflow-y: auto; overscroll-behavior: contain; } html:not([data-visual-test]) .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html:not([data-visual-test]) .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options { scroll-behavior: auto; } } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options { -webkit-overflow-scrolling: touch; -ms-overflow-style: auto; scrollbar-color: var(--scrollbar-thumb-color, #888) transparent; } @supports not (scrollbar-color: auto) { .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options::-webkit-scrollbar:vertical { width: var(--scrollbar-track-width, 0.5rem); } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options::-webkit-scrollbar:horizontal { height: var(--scrollbar-track-width, 0.5rem); } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options::-webkit-scrollbar { border-radius: var(--scrollbar-thumb-width, 0.5rem); background-color: var(--scrollbar-track-color, #eee); } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb-color, #888); } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options::-webkit-scrollbar-thumb:hover { background-color: var(--scrollbar-thumb-hover-color, #666); } .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options::-webkit-scrollbar-thumb { border-radius: var(--scrollbar-thumb-width, 0.5rem); } } @media (prefers-reduced-motion: reduce) { .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options { transition-duration: 0.01ms; } } html[data-visual-test] .eufemia-scope--10_104_0 .dnb-drawer-list--scroll .dnb-drawer-list__options, .eufemia-scope--10_104_0 .dnb-drawer-list--scroll.dnb-drawer-list--no-animation .dnb-drawer-list__options { transition: none !important; } .eufemia-scope--10_104_0 .dnb-drawer-list--opened .dnb-drawer-list__options { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { .eufemia-scope--10_104_0 .dnb-drawer-list--opened .dnb-drawer-list__options { scroll-behavior: auto; } } .eufemia-scope--10_104_0 .dnb-drawer-list--no-scroll-animation .dnb-drawer-list__options { scroll-behavior: auto; } .eufemia-scope--10_104_0 .dnb-drawer-list__group { padding: 0; margin: 0; list-style: none; } .eufemia-scope--10_104_0 .dnb-drawer-list__group-title { display: block; padding: 0.5rem 1rem; color: var(--drawer-list-group-title-color); background-color: var(--drawer-list-group-title-bg); font-weight: var(--font-weight-medium); } .eufemia-scope--10_104_0 .dnb-drawer-list__option { position: relative; cursor: pointer; margin: 0; padding: 0; color: inherit; outline: none; background-color: var(--color-white); } .eufemia-scope--10_104_0 .dnb-drawer-list__option__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: repeat(10, -webkit-min-content); grid-template-rows: repeat(10, min-content); outline: none; margin: 0; padding: 1rem; color: inherit; background-color: var(--drawer-list-option-inner-background); } .eufemia-scope--10_104_0 .dnb-drawer-list__option__inner > * { align-self: self-start; } .eufemia-scope--10_104_0 .dnb-drawer-list__option__item { display: block; text-overflow: ellipsis; grid-column: 1; } .eufemia-scope--10_104_0 .dnb-drawer-list__option__item--horizontal { display: flex; } .eufemia-scope--10_104_0 .dnb-drawer-list__option__item > .dnb-icon { vertical-align: initial; } .eufemia-scope--10_104_0 .dnb-drawer-list__option__item .dnb-anchor { display: inline-block; margin-right: 0.5rem; word-break: break-word; font-size: inherit; } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-drawer-list__option__suffix { grid-column: 2; grid-row: 1/-1; justify-self: end; align-self: center; } } .eufemia-scope--10_104_0 .dnb-drawer-list__option--ignore { cursor: default; pointer-events: none; } .eufemia-scope--10_104_0 .dnb-drawer-list__option[disabled] { --drawer-list-option-inner-background: var( --drawer-list-option-disabled-background ); color: var(--drawer-list-option-disabled-color); cursor: not-allowed; } .eufemia-scope--10_104_0 .dnb-drawer-list__triangle { position: absolute; top: calc(var(--drawer-list-focus-border-width) - var(--drawer-list-height) / 2); left: auto; right: 0; pointer-events: none; margin: 0 var(--drawer-list-padding-horizontal); width: calc(var(--drawer-list-height) / 2); height: calc(var(--drawer-list-height) / 2); z-index: -1; } .eufemia-scope--10_104_0 .dnb-drawer-list__triangle::before { content: ""; position: absolute; top: 0; left: 0; width: calc(var(--drawer-list-height) / 2); height: calc(var(--drawer-list-height) / 2); transform: translateY(60%) rotate(45deg); border: 1px solid var(--color-black-border); background-color: var(--color-white); } .eufemia-scope--10_104_0 .dnb-drawer-list--triangle-position-left .dnb-drawer-list__triangle { left: 0; right: auto; } .eufemia-scope--10_104_0 .dnb-drawer-list--top .dnb-drawer-list__triangle { top: auto; bottom: calc(var(--drawer-list-focus-border-width) - var(--drawer-list-height) / 2 - 2px); transform: rotate(180deg); } .eufemia-scope--10_104_0 .dnb-drawer-list--top .dnb-drawer-list__triangle::before { transform: translateY(65%) rotate(45deg); } .eufemia-scope--10_104_0 .dnb-drawer-list--is-popup.dnb-drawer-list--right { position: absolute; left: auto; right: 0; } .eufemia-scope--10_104_0 .dnb-drawer-list--is-popup.dnb-drawer-list--left .dnb-drawer-list__list { left: -0.5rem; } .eufemia-scope--10_104_0 .dnb-drawer-list--is-popup.dnb-drawer-list--right .dnb-drawer-list__list { right: -0.5rem; } .eufemia-scope--10_104_0 .dnb-drawer-list--opened .dnb-drawer-list__list { z-index: 100; display: flex; flex-direction: column; } .eufemia-scope--10_104_0 .dnb-drawer-list--opened .dnb-drawer-list__list:not(.dnb-drawer-list--opened .dnb-drawer-list__list--no-animation) { animation: drawer-list-slide-top-down 200ms ease-out 1 forwards; } html[data-visual-test] .eufemia-scope--10_104_0 .dnb-drawer-list--opened .dnb-drawer-list__list, .eufemia-scope--10_104_0 .dnb-drawer-list--opened .dnb-drawer-list__list--no-animation { animation-duration: 1ms !important; } .eufemia-scope--10_104_0 .dnb-drawer-list--hidden .dnb-drawer-list__list { display: none; } .eufemia-scope--10_104_0 .dnb-drawer-list--bottom .dnb-drawer-list__list { top: 0; bottom: auto; } .eufemia-scope--10_104_0 .dnb-drawer-list--top .dnb-drawer-list__list { top: auto; bottom: var(--drawer-list-height); } .eufemia-scope--10_104_0 .dnb-drawer-list__portal .dnb-drawer-list--bottom .dnb-drawer-list__list { top: var(--drawer-list-height); bottom: auto; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal .dnb-drawer-list--small .dnb-drawer-list__list { top: var(--drawer-list-height--small); } .eufemia-scope--10_104_0 .dnb-drawer-list--small.dnb-drawer-list--top .dnb-drawer-list__list { bottom: var(--drawer-list-height--small); } .eufemia-scope--10_104_0 .dnb-drawer-list--small.dnb-drawer-list--is-popup.dnb-drawer-list--left .dnb-drawer-list__list { left: -0.75rem; } .eufemia-scope--10_104_0 .dnb-drawer-list--small.dnb-drawer-list--is-popup.dnb-drawer-list--right .dnb-drawer-list__list { right: -0.75rem; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal .dnb-drawer-list--medium .dnb-drawer-list__list { top: var(--drawer-list-height--medium); } .eufemia-scope--10_104_0 .dnb-drawer-list--medium.dnb-drawer-list--top .dnb-drawer-list__list { bottom: var(--drawer-list-height--medium); } .eufemia-scope--10_104_0 .dnb-drawer-list--medium.dnb-drawer-list--is-popup.dnb-drawer-list--left .dnb-drawer-list__list { left: -0.25rem; } .eufemia-scope--10_104_0 .dnb-drawer-list--medium.dnb-drawer-list--is-popup.dnb-drawer-list--right .dnb-drawer-list__list { right: -0.25rem; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal .dnb-drawer-list--large .dnb-drawer-list__list { top: var(--drawer-list-height--large); } .eufemia-scope--10_104_0 .dnb-drawer-list--large.dnb-drawer-list--top .dnb-drawer-list__list { bottom: var(--drawer-list-height--large); } .eufemia-scope--10_104_0 .dnb-drawer-list--large .dnb-drawer-list__triangle { margin: 0 1.25rem; } .eufemia-scope--10_104_0 .dnb-drawer-list--large.dnb-drawer-list--is-popup.dnb-drawer-list--left .dnb-drawer-list__list { left: -0.25rem; } .eufemia-scope--10_104_0 .dnb-drawer-list--large.dnb-drawer-list--is-popup.dnb-drawer-list--right .dnb-drawer-list__list { right: -0.25rem; } .eufemia-scope--10_104_0 .dnb-drawer-list { /* stylelint-disable-next-line */ } .eufemia-scope--10_104_0 .dnb-drawer-list--is-popup.dnb-drawer-list--right .dnb-drawer-list__list { left: auto; } .eufemia-scope--10_104_0 .dnb-drawer-list__root > .dnb-drawer-list--right { position: absolute; right: 0; left: auto; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal .dnb-drawer-list--right { right: 100%; } .eufemia-scope--10_104_0 .dnb-drawer-list__portal .dnb-drawer-list--top .dnb-drawer-list__list { top: auto; bottom: 0; } .eufemia-scope--10_104_0 .dnb-drawer-list:not(.dnb-drawer-list--opened) .dnb-drawer-list__list:not(.dnb-drawer-list:not(.dnb-drawer-list--opened) .dnb-drawer-list__list--no-animation) { animation: drawer-list-slide-top-up 150ms ease-out 1 forwards; } html[data-visual-test] .eufemia-scope--10_104_0 .dnb-drawer-list:not(.dnb-drawer-list--opened) .dnb-drawer-list__list, .eufemia-scope--10_104_0 .dnb-drawer-list:not(.dnb-drawer-list--opened) .dnb-drawer-list__list--no-animation { animation-duration: 1ms !important; } .eufemia-scope--10_104_0 .dnb-drawer-list--action-menu .dnb-drawer-list__option__inner { flex-direction: row; justify-content: flex-start; align-items: center; } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-drawer-list--action-menu.dnb-drawer-list--is-popup.dnb-drawer-list--left .dnb-drawer-list__list { left: 0; } .eufemia-scope--10_104_0 .dnb-drawer-list--action-menu.dnb-drawer-list--is-popup.dnb-drawer-list--right .dnb-drawer-list__list { right: 0; } } @keyframes drawer-list-scale-in { from { opacity: 0; transform: scale(0.8) translateX(calc(1px - var(--drawer-list-width))); } to { opacity: 1; transform: scale(1) translateX(0); } } @keyframes drawer-list-scale-out { from { opacity: 1; transform: scale(1) translateX(0); } to { opacity: 0; transform: scale(0.8) translateX(calc(1px - var(--drawer-list-width))); } } @keyframes drawer-list-slide-top-down { from { opacity: 0; transform: translateY(calc(1px - var(--drawer-list-height))); pointer-events: none; } to { opacity: 1; transform: translateY(0); pointer-events: auto; } } @keyframes drawer-list-slide-top-up { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(calc(1px - var(--drawer-list-height))); } } @keyframes drawer-list-slide-bottom-down { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(calc(1px + var(--drawer-list-height))); } } @keyframes drawer-list-slide-bottom-up { from { opacity: 0; transform: translateY(calc(1px + var(--drawer-list-height))); pointer-events: none; } to { opacity: 1; transform: translateY(0); pointer-events: auto; } } /* * ScrollView component * */ /* * Utilities */ .eufemia-scope--10_104_0 .dnb-scroll-view { overflow-x: auto; overflow-y: auto; overscroll-behavior: contain; } html:not([data-visual-test]) .eufemia-scope--10_104_0 .dnb-scroll-view { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html:not([data-visual-test]) .eufemia-scope--10_104_0 .dnb-scroll-view { scroll-behavior: auto; } } .eufemia-scope--10_104_0 .dnb-scroll-view { -webkit-overflow-scrolling: touch; -ms-overflow-style: auto; scrollbar-color: var(--scrollbar-thumb-color, #888) transparent; } @supports not (scrollbar-color: auto) { .eufemia-scope--10_104_0 .dnb-scroll-view::-webkit-scrollbar:vertical { width: var(--scrollbar-track-width, 0.5rem); } .eufemia-scope--10_104_0 .dnb-scroll-view::-webkit-scrollbar:horizontal { height: var(--scrollbar-track-width, 0.5rem); } .eufemia-scope--10_104_0 .dnb-scroll-view::-webkit-scrollbar { border-radius: var(--scrollbar-thumb-width, 0.5rem); background-color: var(--scrollbar-track-color, #eee); } .eufemia-scope--10_104_0 .dnb-scroll-view::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb-color, #888); } .eufemia-scope--10_104_0 .dnb-scroll-view::-webkit-scrollbar-thumb:hover { background-color: var(--scrollbar-thumb-hover-color, #666); } .eufemia-scope--10_104_0 .dnb-scroll-view::-webkit-scrollbar-thumb { border-radius: var(--scrollbar-thumb-width, 0.5rem); } } .eufemia-scope--10_104_0 .dnb-scroll-view { overscroll-behavior: auto; } .eufemia-scope--10_104_0 .dnb-scroll-view[tabindex="0"]:focus { outline: none; outline: none; } html[data-whatinput=keyboard] .eufemia-scope--10_104_0 .dnb-scroll-view[tabindex="0"]:focus { --border-color: var(--focus-ring-color); --border-width: var(--focus-ring-width); box-shadow: 0 0 0 var(--border-width) var(--border-color); border-color: transparent; } .eufemia-scope--10_104_0 .dnb-text-counter .dnb-icon { margin-right: 0; font-size: 0; transition: margin 200ms var(--easing-default), font-size 400ms var(--easing-default); } .eufemia-scope--10_104_0 .dnb-text-counter--exceeded .dnb-icon { margin-right: 0.5rem; font-size: var(--font-size-basis--em); } /* * Accordion component * */ /* * Utilities */ .eufemia-scope--10_104_0 .dnb-accordion { --accordion-border-width: 0.0625rem; --accordion-border-radius: 0.5rem; --accordion-easing: var(--easing-default); --accordion-header-margin-vertical: 1.25rem; --accordion-header-margin-vertical--description: 0.75rem; --accordion-header-wrapper-margin: 1rem; --accordion-header-wrapper-margin--icon-right: 1rem; --accordion-header-icon-gutter: 1rem; --accordion-header-icon-margin: 1rem; --accordion-header-icon-alignment: flex-start; --accordion-title-font-weight: var(--font-weight-basis); --accordion-title-font-weight--expanded: var(--font-weight-medium); --accordion-content-margin: 1rem 0 0 0; --accordion-content-padding: 0; position: relative; display: flex; flex-direction: column; font-size: var(--font-size-small); line-height: var(--line-height-basis); } .eufemia-scope--10_104_0 .dnb-accordion__header { display: flex; align-items: center; cursor: pointer; outline: none; border: var(--accordion-border-width) solid transparent; border-radius: var(--accordion-border-radius); } .eufemia-scope--10_104_0 .dnb-accordion__header * { pointer-events: none; } .eufemia-scope--10_104_0 .dnb-accordion__header--prevent-click { pointer-events: none; } .eufemia-scope--10_104_0 .dnb-accordion__header__wrapper { display: flex; flex-direction: column; width: 100%; margin: var(--accordion-header-margin-vertical) var(--accordion-header-wrapper-margin) var(--accordion-header-margin-vertical) 0; } .eufemia-scope--10_104_0 .dnb-accordion__header--description .dnb-accordion__header__wrapper { margin-top: var(--accordion-header-margin-vertical--description); margin-bottom: var(--accordion-header-margin-vertical--description); } .eufemia-scope--10_104_0 .dnb-accordion__header__container { margin: 0 1rem; } .eufemia-scope--10_104_0 .dnb-accordion__header__icon { align-self: var(--accordion-header-icon-alignment); margin: var(--accordion-header-margin-vertical) var(--accordion-header-icon-gutter) var(--accordion-header-margin-vertical) var(--accordion-header-icon-margin); font-size: var(--font-size-small); line-height: var(--line-height-small); transition: transform 400ms var(--accordion-easing); } @media (prefers-reduced-motion: reduce) { .eufemia-scope--10_104_0 .dnb-accordion__header__icon { transition-duration: 0.01ms; } } .eufemia-scope--10_104_0 .dnb-accordion__header--description .dnb-accordion__header__icon { margin-top: var(--accordion-header-margin-vertical--description); } .eufemia-scope--10_104_0 .dnb-accordion__header--icon-right { justify-content: space-between; } .eufemia-scope--10_104_0 .dnb-accordion__header--icon-right .dnb-accordion__header__icon { margin-right: var(--accordion-header-icon-margin); margin-left: var(--accordion-header-icon-gutter); order: 3; } .eufemia-scope--10_104_0 .dnb-accordion__header--icon-right .dnb-accordion__header__container { order: 1; } .eufemia-scope--10_104_0 .dnb-accordion__header--icon-right .dnb-accordion__header__wrapper { order: 2; margin-right: 0; margin-left: var(--accordion-header-wrapper-margin--icon-right); } .eufemia-scope--10_104_0 .dnb-accordion__header--icon-right .dnb-accordion__header__wrapper + .dnb-accordion__header__container { margin-right: 0; } .eufemia-scope--10_104_0 .dnb-accordion__header--icon-right .dnb-accordion__header__container + .dnb-accordion__header__wrapper { margin-left: 0; } .eufemia-scope--10_104_0 .dnb-accordion__header--expanded { --accordion-title-font-weight: var( --accordion-title-font-weight--expanded ); } .eufemia-scope--10_104_0 .dnb-accordion__header__title { font-size: var(--font-size-basis); line-height: var(--line-height-basis); font-weight: var(--accordion-title-font-weight); } .eufemia-scope--10_104_0 .dnb-accordion__header__description { font-size: var(--font-size-small); line-height: var(--line-height-small); font-weight: var(--font-weight-basis); } .eufemia-scope--10_104_0 .dnb-accordion__header__title + .dnb-accordion__header__description { margin-top: 0.25rem; } .eufemia-scope--10_104_0 .dnb-accordion__header__description + .dnb-accordion__header__title { margin-top: 0.25rem; } .eufemia-scope--10_104_0 .dnb-accordion--expanded > .dnb-accordion__header .dnb-accordion__header__icon { transform: rotate(-180deg); } .eufemia-scope--10_104_0 .dnb-accordion__content { display: flex; width: 100%; will-change: height; transition: height 400ms var(--accordion-easing), opacity 600ms var(--accordion-easing); } @media (prefers-reduced-motion: reduce) { .eufemia-scope--10_104_0 .dnb-accordion__content { transition-duration: 0.01ms; } } .eufemia-scope--10_104_0 .dnb-accordion__content__inner { width: 100%; margin: var(--accordion-content-margin); padding: var(--accordion-content-padding); } .eufemia-scope--10_104_0 .dnb-accordion-group--single-container { transition: min-height 1s var(--accordion-easing); } @media (prefers-reduced-motion: reduce) { .eufemia-scope--10_104_0 .dnb-accordion-group--single-container { transition-duration: 0.01ms; } } .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion { position: static; max-width: 60rem; } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion__header { width: 40%; } .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion__content { margin-left: 1rem; transition: opacity 1s var(--accordion-easing); } } @media screen and (min-width: 40.00625em) and (prefers-reduced-motion: reduce) { .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion__content { transition-duration: 0.01ms; } } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion__content__inner { margin-top: 0; } } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion > .dnb-accordion__header .dnb-accordion__header__icon { transform: rotate(-90deg); } } .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion-group__children { max-width: 60rem; } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion-group__children { position: relative; display: flex; flex-direction: column; } .eufemia-scope--10_104_0 .dnb-accordion-group--single-container .dnb-accordion-group__children .dnb-accordion__content { position: absolute; z-index: 10; top: 0; right: 0; width: 60%; } } .eufemia-scope--10_104_0 .dnb-accordion > .dnb-accordion__header--no-animation .dnb-accordion__header__icon, html[data-visual-test] .eufemia-scope--10_104_0 .dnb-accordion .dnb-accordion__header .dnb-accordion__header__icon { transition: none; } /* * Anchor * */ /* * Anchor mixins * */ /* * Utilities */ .eufemia-scope--10_104_0 button.dnb-anchor { cursor: pointer; line-height: calc(var(--line-height-basis) + 0.125rem); border: none; background: none; -webkit-appearance: none; appearance: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor { --anchor-underline-thickness: 0.0938rem; --anchor-icon-gutter: 0.25em; --anchor-icon-separator: '\2060'; --anchor-icon-position: translateY(-0.175em); display: inline; padding: 0.05575em 0; font-size: var(--font-size-basis); -webkit-text-decoration: underline; text-decoration: underline; text-decoration-color: currentcolor; text-decoration-thickness: var(--anchor-underline-thickness); text-underline-offset: 0.25em; border-radius: 0; } .eufemia-scope--10_104_0 sup :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 sub :where(:not(.dnb-anchor--no-style)).dnb-anchor { padding: 0 0.025em; } .eufemia-scope--10_104_0 .dnb-p :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-lead :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--xx-large :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--x-large :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--large :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--medium :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--basis :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--small :where(:not(.dnb-anchor--no-style)).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--x-small :where(:not(.dnb-anchor--no-style)).dnb-anchor { font-size: inherit; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:focus-visible { background-color: transparent; transition: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:focus-visible, .eufemia-scope--10_104_0 .dnb-section :where(:not(.dnb-anchor--no-style)).dnb-anchor:focus-visible.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:focus-visible { outline: none; --border-color: var(--focus-ring-color); --border-width: var(--focus-ring-width); box-shadow: 0 0 0 var(--border-width) var(--border-color); border-color: transparent; border-radius: 0.25em; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:where(:not(.dnb-anchor--no-hover)) { border-radius: 0.25em; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:where(:not(.dnb-anchor--no-hover)), .eufemia-scope--10_104_0 .dnb-section :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:where(:not(.dnb-anchor--no-hover)).dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:not(.dnb-anchor--no-hover) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:not(.dnb-anchor--no-hover) { border-radius: 0.25em; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:not(.dnb-anchor--no-hover), .eufemia-scope--10_104_0 .dnb-section :where(:not(.dnb-anchor--no-style)).dnb-anchor:hover:not(.dnb-anchor--no-hover).dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:active { border-radius: 0.25em; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor:active, .eufemia-scope--10_104_0 .dnb-section :where(:not(.dnb-anchor--no-style)).dnb-anchor:active.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor { transition: box-shadow 200ms ease-in-out, border-radius 200ms ease-in-out, background 200ms ease-in-out; } .eufemia-scope--10_104_0 [data-visual-test-wrapper] :where(:not(.dnb-anchor--no-style)).dnb-anchor { transition: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon { display: inline; vertical-align: middle; white-space: nowrap; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon svg { vertical-align: baseline; transform: scale(2) var(--anchor-icon-position); font-size: 0.5em; width: 2em; height: 1em; pointer-events: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor--no-icon .dnb-icon { display: none; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-left .dnb-icon:first-child::after { content: var(--anchor-icon-separator); } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-left .dnb-icon:first-child svg { margin-right: calc(var(--anchor-icon-gutter) * 2); } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-right .dnb-icon:last-child::before { content: var(--anchor-icon-separator); } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-right .dnb-icon:last-child svg { margin-left: calc(var(--anchor-icon-gutter) * 2); } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon--default { font-size: 0.8888888889em; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--contrast { color: var(--color-white); } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--contrast:hover:where(:not(.dnb-anchor--no-hover)) { color: var(--anchor-color--contrast); box-shadow: inset 100vw 100vw 0 0 var(--color-white), calc(var(--anchor-background-gutter-left, 0.125rem) * -1) 0 0 0 var(--color-white), var(--anchor-background-gutter-right, 0.125rem) 0 0 0 var(--color-white); } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--contrast:hover:not(.dnb-anchor--no-hover) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--contrast:hover:not(.dnb-anchor--no-hover) { color: var(--anchor-color--contrast); box-shadow: inset 100vw 100vw 0 0 var(--color-white), calc(var(--anchor-background-gutter-left, 0.125rem) * -1) 0 0 0 var(--color-white), var(--anchor-background-gutter-right, 0.125rem) 0 0 0 var(--color-white); } } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--contrast:active { color: var(--color-white); background-color: transparent; box-shadow: inset 100vw 100vw 0 0 transparent, calc(var(--anchor-background-gutter-left, 0.125rem) * -1) 0 0 0 transparent, var(--anchor-background-gutter-right, 0.125rem) 0 0 0 transparent; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--contrast:focus-visible { color: var(--color-white); background-color: transparent; outline: none; --border-color: var(--color-white); --border-width: var(--focus-ring-width); box-shadow: 0 0 0 var(--border-width) var(--border-color); border-color: transparent; } .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor.dnb-anchor--disabled, .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor[aria-disabled=true], .eufemia-scope--10_104_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor[disabled] { color: var(--anchor-color--disabled); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor { --anchor-underline-thickness: 0.0938rem; --anchor-icon-gutter: 0.25em; --anchor-icon-separator: '\2060'; --anchor-icon-position: translateY(-0.175em); display: inline; padding: 0.05575em 0; font-size: var(--font-size-basis); -webkit-text-decoration: underline; text-decoration: underline; text-decoration-color: currentcolor; text-decoration-thickness: var(--anchor-underline-thickness); text-underline-offset: 0.25em; border-radius: 0; } .eufemia-scope--10_104_0 sup :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 sub :not(.dnb-anchor--no-style).dnb-anchor { padding: 0 0.025em; } .eufemia-scope--10_104_0 .dnb-p :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-lead :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--xx-large :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--x-large :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--large :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--medium :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--basis :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--small :not(.dnb-anchor--no-style).dnb-anchor, .eufemia-scope--10_104_0 .dnb-h--x-small :not(.dnb-anchor--no-style).dnb-anchor { font-size: inherit; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:focus-visible { background-color: transparent; transition: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:focus-visible, .eufemia-scope--10_104_0 .dnb-section :not(.dnb-anchor--no-style).dnb-anchor:focus-visible.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:focus-visible { outline: none; --border-color: var(--focus-ring-color); --border-width: var(--focus-ring-width); box-shadow: 0 0 0 var(--border-width) var(--border-color); border-color: transparent; border-radius: 0.25em; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:hover:where(:not(.dnb-anchor--no-hover)) { border-radius: 0.25em; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:hover:where(:not(.dnb-anchor--no-hover)), .eufemia-scope--10_104_0 .dnb-section :not(.dnb-anchor--no-style).dnb-anchor:hover:where(:not(.dnb-anchor--no-hover)).dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:hover:not(.dnb-anchor--no-hover) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:hover:not(.dnb-anchor--no-hover) { border-radius: 0.25em; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:hover:not(.dnb-anchor--no-hover), .eufemia-scope--10_104_0 .dnb-section :not(.dnb-anchor--no-style).dnb-anchor:hover:not(.dnb-anchor--no-hover).dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:active { border-radius: 0.25em; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor:active, .eufemia-scope--10_104_0 .dnb-section :not(.dnb-anchor--no-style).dnb-anchor:active.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor { transition: box-shadow 200ms ease-in-out, border-radius 200ms ease-in-out, background 200ms ease-in-out; } .eufemia-scope--10_104_0 [data-visual-test-wrapper] :not(.dnb-anchor--no-style).dnb-anchor { transition: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon { display: inline; vertical-align: middle; white-space: nowrap; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon svg { vertical-align: baseline; transform: scale(2) var(--anchor-icon-position); font-size: 0.5em; width: 2em; height: 1em; pointer-events: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor--no-icon .dnb-icon { display: none; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor--icon-left .dnb-icon:first-child::after { content: var(--anchor-icon-separator); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor--icon-left .dnb-icon:first-child svg { margin-right: calc(var(--anchor-icon-gutter) * 2); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor--icon-right .dnb-icon:last-child::before { content: var(--anchor-icon-separator); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor--icon-right .dnb-icon:last-child svg { margin-left: calc(var(--anchor-icon-gutter) * 2); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon--default { font-size: 0.8888888889em; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--contrast { color: var(--color-white); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--contrast:hover:where(:not(.dnb-anchor--no-hover)) { color: var(--anchor-color--contrast); box-shadow: inset 100vw 100vw 0 0 var(--color-white), calc(var(--anchor-background-gutter-left, 0.125rem) * -1) 0 0 0 var(--color-white), var(--anchor-background-gutter-right, 0.125rem) 0 0 0 var(--color-white); } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--contrast:hover:not(.dnb-anchor--no-hover) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--contrast:hover:not(.dnb-anchor--no-hover) { color: var(--anchor-color--contrast); box-shadow: inset 100vw 100vw 0 0 var(--color-white), calc(var(--anchor-background-gutter-left, 0.125rem) * -1) 0 0 0 var(--color-white), var(--anchor-background-gutter-right, 0.125rem) 0 0 0 var(--color-white); } } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--contrast:active { color: var(--color-white); background-color: transparent; box-shadow: inset 100vw 100vw 0 0 transparent, calc(var(--anchor-background-gutter-left, 0.125rem) * -1) 0 0 0 transparent, var(--anchor-background-gutter-right, 0.125rem) 0 0 0 transparent; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--contrast:focus-visible { color: var(--color-white); background-color: transparent; outline: none; --border-color: var(--color-white); --border-width: var(--focus-ring-width); box-shadow: 0 0 0 var(--border-width) var(--border-color); border-color: transparent; } .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor.dnb-anchor--disabled, .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor[aria-disabled=true], .eufemia-scope--10_104_0 :not(.dnb-anchor--no-style).dnb-anchor[disabled] { color: var(--anchor-color--disabled); } } .eufemia-scope--10_104_0 .dnb-anchor--hover { border-radius: 0.25em; } .eufemia-scope--10_104_0 .dnb-anchor--hover, .eufemia-scope--10_104_0 .dnb-section .dnb-anchor--hover.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 .dnb-anchor--active { border-radius: 0.25em; } .eufemia-scope--10_104_0 .dnb-anchor--active, .eufemia-scope--10_104_0 .dnb-section .dnb-anchor--active.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 .dnb-anchor--focus { background-color: transparent; transition: none; } .eufemia-scope--10_104_0 .dnb-anchor--focus, .eufemia-scope--10_104_0 .dnb-section .dnb-anchor--focus.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 .dnb-anchor--focus { outline: none; --border-color: var(--focus-ring-color); --border-width: var(--focus-ring-width); box-shadow: 0 0 0 var(--border-width) var(--border-color); border-color: transparent; border-radius: 0.25em; } .eufemia-scope--10_104_0 .dnb-anchor--no-underline, .eufemia-scope--10_104_0 .dnb-section .dnb-anchor--no-underline.dnb-anchor { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 .dnb-anchor--no-radius, .eufemia-scope--10_104_0 .dnb-anchor--no-radius:hover, .eufemia-scope--10_104_0 .dnb-anchor--no-radius:active, .eufemia-scope--10_104_0 .dnb-anchor--no-radius:focus-visible { border-radius: 0; } .eufemia-scope--10_104_0 .dnb-anchor--no-animation { transition: none; } .eufemia-scope--10_104_0 a.dnb-button { transition: none; } .eufemia-scope--10_104_0 .dnb-skeleton > .dnb-anchor, .eufemia-scope--10_104_0 .dnb-anchor.dnb-skeleton { -webkit-text-decoration: none; text-decoration: none; } .eufemia-scope--10_104_0 .dnb-skeleton > .dnb-anchor .dnb-icon, .eufemia-scope--10_104_0 .dnb-anchor.dnb-skeleton .dnb-icon { filter: grayscale(100%) opacity(0.3); } /* * Autocomplete component * */ /* * Utilities */ .eufemia-scope--10_104_0 .dnb-autocomplete { --autocomplete-width: 16rem; --autocomplete-height: 2rem; --autocomplete-height--small: 1.5rem; --autocomplete-height--medium: 2.5rem; --autocomplete-height--large: 3rem; --autocomplete-padding-horizontal: 1rem; --autocomplete-focus-border-width: 0.125rem; --autocomplete-text-padding: 0.5rem; --autocomplete-border-radius: 0.25rem; display: inline-flex; align-items: center; font-size: var(--font-size-small); line-height: var(--autocomplete-height); } .eufemia-scope--10_104_0 .dnb-autocomplete__inner { display: inline-flex; flex-direction: column; margin: 0; padding: 0; width: auto; color: inherit; } .eufemia-scope--10_104_0 .dnb-autocomplete--right .dnb-autocomplete__inner { align-items: flex-end; } .eufemia-scope--10_104_0 .dnb-autocomplete__shell { position: relative; width: var(--autocomplete-width); margin: 0; padding: 0; color: inherit; } .eufemia-scope--10_104_0 .dnb-autocomplete__row { display: inline-flex; align-items: center; } .eufemia-scope--10_104_0 .dnb-autocomplete--small { line-height: var(--autocomplete-height--small); } .eufemia-scope--10_104_0 .dnb-autocomplete--medium { line-height: var(--autocomplete-height--medium); } .eufemia-scope--10_104_0 .dnb-autocomplete--large { line-height: var(--autocomplete-height--large); } .eufemia-scope--10_104_0 .dnb-autocomplete__icon { display: inline-flex; justify-content: center; pointer-events: none; } .eufemia-scope--10_104_0 .dnb-autocomplete__show-all .dnb-drawer-list__option__inner { display: flex; justify-content: center; align-items: center; } .eufemia-scope--10_104_0 .dnb-autocomplete__show-all .dnb-drawer-list__option__inner .dnb-drawer-list__option__item { display: flex; flex-direction: column; } .eufemia-scope--10_104_0 .dnb-autocomplete__show-all .dnb-drawer-list__option__inner .dnb-icon { align-self: center; } .eufemia-scope--10_104_0 .dnb-autocomplete__input { display: inline-flex; align-items: center; outline: none; } .eufemia-scope--10_104_0 .dnb-autocomplete__input, .eufemia-scope--10_104_0 .dnb-autocomplete__input .dnb-input__inner, .eufemia-scope--10_104_0 .dnb-autocomplete__input .dnb-input__shell, .eufemia-scope--10_104_0 .dnb-autocomplete__input .dnb-input__input { width: 100%; } .eufemia-scope--10_104_0 .dnb-autocomplete--opened .dnb-input__submit-button__button .dnb-icon { transform: rotate(180deg); transform-origin: 50% 50%; } .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__submit-button__button[disabled]:not(.dnb-button--has-text) { --border-color: var(--color-black-55); --border-width: 0.0625rem; box-shadow: inset 0 0 0 var(--border-width) var(--border-color); border-color: transparent; } .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__submit-button__button .dnb-icon { transition: transform 400ms ease-out; } html[data-visual-test] .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__submit-button__button .dnb-icon { transition-duration: 1ms !important; } .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__inner__element { position: relative; z-index: 3; cursor: text; } @media screen and (min-width: 40.00625em) { .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input--has-inner-element .dnb-input__placeholder, .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input--has-inner-element .dnb-input__input { padding-right: 0 !important; } } @media screen and (max-width: 40em) { .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input--has-inner-element .dnb-input__placeholder, .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input--has-inner-element .dnb-input__input { padding-right: 2.5rem !important; } } .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__inner__element.dnb-p { white-space: nowrap; padding: 0 0.5rem; } @media screen and (max-width: 40em) { .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__inner__element.dnb-p { display: none; } } .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input__inner__element.dnb-p, .eufemia-scope--10_104_0 .dnb-spacing .dnb-autocomplete .dnb-input__inner__element.dnb-p { margin: 0; } .eufemia-scope--10_104_0 .dnb-autocomplete .dnb-input--has-submit-element .dnb-input__inner__element { margin-right: 2.5rem !important; } .eufemia-scope--10_104_0 .dnb-autocomplete--icon-position-right .dnb-input__inner__element.dnb-p { padding-right: 3rem; } .eufemia-scope--10_104_0 .dnb-autocomplete--icon-position-right .dnb-input--icon-position-right .dnb-autocomplete--icon-position-right .dnb-input--icon-position-right.dnb-autocomplete--icon-position-right .dnb-input--has-icon .dnb-autocomplete--icon-position-right .dnb-input__input { padding-right: 1rem; } .eufemia-scope--10_104_0 .dnb-autocomplete--disabled .dnb-input__inner__element { cursor: not-allowed; } .eufemia-scope--10_104_0 .dnb-autocomplete__text { order: 1; position: relative; z-index: 4; width: 100%; height: inherit; line-height: inherit; padding: 0 var(--autocomplete-text-padding) 0 0; overflow: hidden; color: inherit; text-align: left; text-overflow: ellipsis; font-size: var(--font-size-basis); } .eufemia-scope--10_104_0 .dnb-autocomplete__text__inner { display: inline-block; width: 100%; height: inherit; padding: 0; overflow: hidden; white-space: nowrap; color: inherit; -webkit-text-decoration: none; text-decoration: none; text-overflow: inherit; text-align: inherit; } .eufemia-scope--10_104_0 .dnb-autocomplete > .dnb-form-label { margin-right: 1rem; line-height: var(--line-height-basis); } @media screen and (max-width: 40em) { .eufemia-scope--10_104_0 .dnb-autocomplete { flex-wrap: wrap; } .eufemia-scope--10_104_0 .dnb-autocomplete > .dnb-form-label { margin-bottom: 0.5rem; margin-top: 0.5rem; } } .eufemia-scope--10_104_0 .dnb-autocomplete--stretch { display: flex; flex-grow: 1; } .eufemia-scope--10_104_0 .dnb-autocomplete--stretch .dnb-autocomplete__inner { flex-grow: 1; } .eufemia-scope--10_104_0 .dnb-autocomplete--stretch .dnb-autocomplete__row, .eufemia-scope--10_104_0 .dnb-autocomplete--stretch .dnb-autocomplete__inner, .eufemia-scope--10_104_0 .dnb-autocomplete--stretch .dnb-autocomplete__shell { width: 100%; } .eufemia-scope--10_104_0 .dnb-autocomplete--stretch .dnb-form-label + .dnb-autocomplete__inner { width: auto; } .eufemia-scope--10_104_0 .dnb-autocomplete--vertical.dnb-autocomplete--stretch .dnb-autocomplete__inner { width: 100%; } .eufemia-scope--10_104_0 .dnb-form-row--horizontal .dnb-autocomplete--stretch { width: 100%; } .eufemia-scope--10_104_0 label + .dnb-autocomplete[class*=__form-status] { vertical-align: top; } .eufemia-scope--10_104_0 label + .dnb-autocomplete[class*=__form-status] .dnb-autocomplete__shell { top: -0.375rem; } .eufemia-scope--10_104_0 .dnb-autocomplete__inner > .dnb-form-status { order: 2; margin-top: 0.5rem; } .eufemia-scope--10_104_0 .dnb-autocomplete--vertical { display: flex; flex-direction: column; align-items: flex-start; } .eufemia-scope--10_104_0 .dnb-autocomplete:not(.dnb-autocomplete--vertical)[class*=__status] { align-items: flex-start; } .eufemia-scope--10_104_0 .dnb-autocomplete:not(.dnb-autocomplete--vertical)[class*=__status] > .dnb-form-label { margin-top: 0.25rem; } @media screen and (max-width: 40em) { .eufemia-scope--10_104_0 .dnb-responsive-component .dnb-autocomplete { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 0.5rem; } .eufemia-scope--10_104_0 .dnb-responsive-component .dnb-autocomplete > .dnb-form-label { margin-bottom: 0.5rem; } .eufemia-scope--10_104_0 .dnb-responsive-component .dnb-autocomplete__helper { display: none; } } .eufemia-scope--10_104_0 .dnb-autocomplete__list .dnb-drawer-list__option__item > span { padding-right: 0.125em; } /* * Avatar component * */ /* * Utilities */ .eufemia-scope--10_104_0 .dnb-avatar { --avatar-font-size--small: var(--font-size-x-small); --avatar-font-size--medium: var(--font-size-basis); --avatar-font-size--large: var(--font-size-x-large); --avatar-font-size--x-large: var(--font-size-x-large); --avatar-line-height--small: var(--line-height-x-small); --avatar-line-height--medium: var(--line-height-basis); --avatar-line-height--large: var(--line-height-large); --avatar-line-height--x-large: var(--line-height-large); --avatar-width--small: 1.5rem; --avatar-height--small: 1.5rem; --avatar-width--medium: 2rem; --avatar-height--medium: 2rem; --avatar-width--large: 4rem; --avatar-height--large: 4rem; --avatar-width--x-large: 5rem; --avatar-height--x-large: 5rem; position: relative; display: inline-flex; align-items: center; justify-