UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

56 lines (53 loc) 1.73 kB
/* * Anchor theme * */ /* * Anchor theme * */ /* * Anchor mixins * */ /* * Utilities */ .eufemia-scope--11_0_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor__launch-icon.dnb-icon.dnb-icon--default { font-size: 1em; } .eufemia-scope--11_0_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor__launch-icon.dnb-icon.dnb-icon--default svg path { stroke-width: 1.2; } .eufemia-scope--11_0_0 :not(.dnb-anchor--no-style) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--11_0_0 :not(.dnb-anchor--no-style).dnb-anchor__launch-icon.dnb-icon.dnb-icon--default { font-size: 1em; } .eufemia-scope--11_0_0 :not(.dnb-anchor--no-style).dnb-anchor__launch-icon.dnb-icon.dnb-icon--default svg path { stroke-width: 1.2; } } .eufemia-scope--11_0_0 :where(:not(.dnb-anchor--no-style)).dnb-anchor { --anchor-color--default: var(--color-emerald-green); --anchor-color--active: var(--color-sea-green); --anchor-icon-color--default: var(--color-emerald-green); --anchor-icon-color--active: var(--color-sea-green); --anchor-bg--hover: transparent; --anchor-bg--active: var(--color-pistachio); } .eufemia-scope--11_0_0 :not(.dnb-anchor--no-style) { /* stylelint-disable-next-line scss/operator-no-unspaced */ } @supports not (selector(*:where(*))) { .eufemia-scope--11_0_0 :not(.dnb-anchor--no-style).dnb-anchor { --anchor-color--default: var(--color-emerald-green); --anchor-color--active: var(--color-sea-green); --anchor-icon-color--default: var(--color-emerald-green); --anchor-icon-color--active: var(--color-sea-green); --anchor-bg--hover: transparent; --anchor-bg--active: var(--color-pistachio); } }