UNPKG

@codegouvfr/react-dsfr

Version:

French State Design System React integration library

1 lines 72.8 kB
{"version":3,"sources":["<no source>","%3Cinput%20css%201V9aiG%3E","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/main.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/module/_default.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/action/tool/_link.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/typography/tool/_list.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/typography/tool/_styles.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/selector/tool/_block.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/display/tool/_display.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/spacing/tool/_space.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/spacing/tool/_position.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/spacing/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/src/module/selector/mixin/_current.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/icon/tool/_default.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/display/tool/_mask-image.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/module/_menu.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/module/_mega-menu.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/selector/tool/_nest.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/link/style/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/typography/tool/_font-weight.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/scheme/_default.scss","file:///Users/ket/Documents/work/dsfr/src/module/media-query/mixin/_respond-from.scss","file:///Users/ket/Documents/work/dsfr/src/module/shame/media-query/mixin/_order.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/action/tool/_hover.scss","file:///Users/ket/Documents/work/dsfr/src/module/elevation/mixin/_z-index.scss","file:///Users/ket/Documents/work/dsfr/src/module/elevation/mixin/_shadow.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/scheme/_menu.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/scheme/_mega-menu.scss","file:///Users/ket/Documents/work/dsfr/src/module/preference/mixin/_forced-colors.scss","file:///Users/ket/Documents/work/dsfr/src/module/preference/mixin/_motion.scss","file:///Users/ket/Documents/work/dsfr/src/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/icon/tool/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/module/utilities/mixin/_nest.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/print.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/navigation/style/_print.scss"],"names":[],"mappings":"AAAA;;GAAA;ACAA,gBAAgB;;ACKhB;;cAAA;ACIA;ECwBE,qBAAA;ECRA,eAAA;EACA,eAAA;EACA,aAAA;EACA,aAAA;EACA,aAAA;EACA,cAAA;EACA,kBAAA;EC0EE,iBAAA;EAAA,kBAAA;AL9EJ;;AMTE;ECPE,aAAA;EAIA,sBAAA;ECkBA,SAfE;EAeF,UAfE;AReN;;AMTE;ECbE,aAAA;EAIA,sBAAA;EAIA,oBAAA;ELqBA,cAAA;EOhCF,kBAAA;AT+CF;;AUvCE;EAGI,WRwBc;EQpBd,cAAA;EDfJ,kBAAA;EAEE,MAAA;EAGA,QAAA;EAGA,SAAA;EAGA,OAAA;EEuCE,WAAA;EAGA,YAAA;EThBA,oBAAA;EUJF,8FAAA;AZ0BJ;;AEnBI;;ESNE,gBAAA;AX6BN;;A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glBF;AArGF;AmC7gBA;ECPA;IACE,aAAA;EpC8nBA;AACF","file":"navigation.css","sourcesContent":[null,"@charset \"UTF-8\";\n/* ¯¯¯¯¯¯¯¯¯ *\\\n NAVIGATION\n\\* ˍˍˍˍˍˍˍˍˍ */\n@media (min-width: 36em) {\n /*! media sm */\n}\n@media (min-width: 48em) {\n /*! media md */\n}\n@media (min-width: 62em) {\n /*! media lg */\n}\n@media (min-width: 78em) {\n /*! media xl */\n}\n.fr-nav {\n --underline-img: none;\n --ul-type: none;\n --ol-type: none;\n --ul-start: 0;\n --ol-start: 0;\n --xl-block: 0;\n --li-bottom: 0;\n --ol-content: none;\n --text-spacing: 0;\n --title-spacing: 0;\n}\n.fr-nav__list {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-nav__list {\n border-top: 1px solid;\n border-bottom: 1px solid;\n }\n}\n@media (min-width: 62em) {\n .fr-nav__list {\n flex-direction: row;\n flex-wrap: nowrap;\n }\n .fr-nav__list > *:first-child:nth-last-child(2) ~ *, .fr-nav__list > *:first-child:nth-last-child(3) ~ *, .fr-nav__list > *:first-child:nth-last-child(4) ~ * {\n margin-left: 1.25rem;\n }\n}\n.fr-nav__item {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n flex: 0 1 auto;\n position: relative;\n}\n.fr-nav__item::before {\n content: \"\";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n.fr-nav__item .fr-btn,\n.fr-nav__item .fr-link {\n min-height: 3rem;\n}\n@media (min-width: 62em) {\n .fr-nav__item .fr-btn,\n .fr-nav__item .fr-link {\n min-height: auto;\n }\n}\n@media (min-width: 62em) {\n .fr-nav__item {\n position: initial;\n align-items: flex-start;\n }\n .fr-nav__item::before {\n content: none;\n }\n .fr-nav__item--align-right {\n align-items: flex-end;\n }\n}\n.fr-nav__link, .fr-nav__btn {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-weight: bold;\n padding: 0.75rem 1rem;\n margin: 0;\n width: auto;\n height: 100%;\n font-size: 1rem;\n line-height: 1.5rem;\n text-align: left;\n}\n@media (min-width: 62em) {\n .fr-nav__link, .fr-nav__btn {\n min-height: 3.5rem;\n padding: 1rem;\n font-size: 0.875rem;\n line-height: 1.5rem;\n font-weight: normal;\n --hover-tint: var(--hover);\n --active-tint: var(--active);\n }\n .fr-nav__link[aria-current]:not([aria-current=false]), .fr-nav__btn[aria-current]:not([aria-current=false]) {\n position: relative;\n }\n .fr-nav__link[aria-current]:not([aria-current=false])::before, .fr-nav__btn[aria-current]:not([aria-current=false])::before {\n content: \"\";\n position: absolute;\n top: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 2px;\n margin-top: 0;\n }\n}\n@media (min-width: 62em) and (-ms-high-contrast: active), (min-width: 62em) and (forced-colors: active) {\n .fr-nav__link[aria-current]:not([aria-current=false])::before, .fr-nav__btn[aria-current]:not([aria-current=false])::before {\n background-color: highlight;\n height: 0.25rem;\n }\n}\n.fr-nav__link:not([href])[aria-current]:not([aria-current=false]) {\n pointer-events: none;\n cursor: default;\n}\n.fr-nav__btn::after {\n flex: 0 0 auto;\n display: inline-block;\n vertical-align: calc((0.75em - var(--icon-size)) * 0.5);\n background-color: currentColor;\n width: var(--icon-size);\n height: var(--icon-size);\n -webkit-mask-size: 100% 100%;\n mask-size: 100% 100%;\n}\n.fr-nav__btn::after {\n -webkit-mask-image: url(\"../../icons/system/arrow-down-s-line.svg\");\n mask-image: url(\"../../icons/system/arrow-down-s-line.svg\");\n}\n.fr-nav__btn::after {\n --icon-size: 1rem;\n}\n.fr-nav__btn::after {\n content: \"\";\n margin-left: 0.5rem;\n margin-right: 0;\n transition: transform 0.3s;\n}\n@media (prefers-reduced-motion: reduce) {\n .fr-nav__btn::after {\n transition: none;\n }\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-nav__btn::after {\n forced-color-adjust: none;\n background-color: buttontext;\n }\n}\n@media (min-width: 62em) {\n .fr-nav__btn {\n justify-content: flex-start;\n }\n}\n.fr-nav__btn[aria-expanded=true]::after {\n transform: rotate(-180deg);\n}\n\n.fr-menu {\n margin: -4px -1rem;\n padding: 4px 1rem;\n width: auto;\n}\n.fr-menu.fr-collapsing {\n margin-top: 0;\n padding-top: 0;\n}\n@media (min-width: 62em) {\n .fr-menu {\n pointer-events: none;\n position: absolute;\n top: 100%;\n }\n}\n.fr-menu__list {\n margin: 0;\n padding: 0 1rem 1rem;\n}\n@media (min-width: 62em) {\n .fr-menu__list {\n width: 20rem;\n pointer-events: auto;\n padding: 0;\n margin-bottom: 2rem;\n background-size: 100% 1px;\n background-position: 0 0;\n background-repeat: no-repeat;\n }\n}\n@media (min-width: 62em) and (-ms-high-contrast: active), (min-width: 62em) and (forced-colors: active) {\n .fr-menu__list {\n outline: 1px solid;\n }\n}\n.fr-menu .fr-nav__link {\n padding: 0.75rem 1rem;\n width: 100%;\n height: auto;\n font-weight: normal;\n min-height: auto;\n}\n.fr-menu .fr-nav__link[aria-current]:not([aria-current=false]) {\n position: relative;\n}\n.fr-menu .fr-nav__link[aria-current]:not([aria-current=false])::before {\n content: \"\";\n display: block;\n position: absolute;\n top: 50%;\n left: 0;\n width: 2px;\n height: 1.5rem;\n margin-top: -0.75rem;\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-menu .fr-nav__link[aria-current]:not([aria-current=false])::before {\n background-color: highlight;\n width: 0.25rem;\n }\n}\n\n@media (min-width: 62em) {\n .fr-mega-menu {\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n margin: 0;\n padding: 0;\n }\n}\n@media (min-width: 62em) and (-ms-high-contrast: active), (min-width: 62em) and (forced-colors: active) {\n .fr-mega-menu {\n outline: 1px solid;\n }\n}\n@media (min-width: 62em) {\n .fr-mega-menu::after {\n content: \"\";\n display: block;\n padding-bottom: 1.5rem;\n }\n}\n.fr-mega-menu:focus {\n outline: none;\n}\n.fr-mega-menu > .fr-container {\n padding: 0.5rem 1rem 0;\n}\n@media (min-width: 62em) {\n .fr-mega-menu > .fr-container {\n padding: 0 1.5rem;\n }\n}\n@media (min-width: 62em) {\n .fr-mega-menu > .fr-container::before {\n content: \"\";\n display: block;\n padding-top: 1rem;\n }\n}\n.fr-mega-menu .fr-btn--close {\n display: none;\n}\n@media (min-width: 62em) {\n .fr-mega-menu .fr-btn--close {\n display: flex;\n }\n}\n.fr-mega-menu .fr-nav__link {\n padding: 0.75rem 1rem;\n width: 100%;\n height: auto;\n min-height: auto;\n font-weight: normal;\n}\n.fr-mega-menu .fr-nav__link[aria-current]:not([aria-current=false]) {\n position: relative;\n}\n.fr-mega-menu .fr-nav__link[aria-current]:not([aria-current=false])::before {\n content: \"\";\n display: block;\n position: absolute;\n top: 50%;\n left: 0;\n width: 2px;\n height: 1.5rem;\n margin-top: -0.75rem;\n}\n@media (-ms-high-contrast: active), (forced-colors: active) {\n .fr-mega-menu .fr-nav__link[aria-current]:not([aria-current=false])::before {\n background-color: highlight;\n width: 0.25rem;\n }\n}\n.fr-mega-menu__leader {\n --underline-img: linear-gradient(0deg, currentColor, currentColor);\n padding-top: 0.5rem;\n --text-spacing: 0 0 0.5rem;\n --title-spacing: 0 0 0.5rem;\n}\n@media (min-width: 62em) {\n .fr-mega-menu__leader {\n margin-top: -1.25rem;\n }\n}\n@media (min-width: 62em) {\n .fr-mega-menu__leader {\n padding-top: 0;\n }\n}\n.fr-mega-menu__leader .fr-link {\n font-size: 0.875rem;\n line-height: 1.5rem;\n padding: 0 0;\n}\n.fr-mega-menu__leader .fr-link::before, .fr-mega-menu__leader .fr-link::after {\n --icon-size: 1rem;\n}\n.fr-mega-menu__leader p {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n.fr-mega-menu__category .fr-nav__link {\n font-weight: 700;\n}\n.fr-mega-menu__list {\n padding-bottom: 1rem;\n position: relative;\n}\n.fr-mega-menu__list::before {\n content: \"\";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n@media (min-width: 62em) {\n .fr-mega-menu__list::before {\n content: none;\n }\n}\n\n.fr-nav__link, .fr-nav__btn {\n color: var(--text-action-high-grey);\n}\n.fr-nav__link[aria-current]:not([aria-current=false]), .fr-nav__btn[aria-current]:not([aria-current=false]) {\n color: var(--text-active-blue-france);\n}\n.fr-nav__link[aria-current]:not([aria-current=false])::before, .fr-nav__btn[aria-current]:not([aria-current=false])::before {\n background-color: var(--background-active-blue-france);\n --idle: transparent;\n --hover: var(--background-active-blue-france-hover);\n --active: var(--background-active-blue-france-active);\n}\n.fr-nav__btn[aria-expanded=true]:not(:disabled) {\n background-color: var(--background-open-blue-france);\n --idle: transparent;\n --hover: var(--background-open-blue-france-hover);\n --active: var(--background-open-blue-france-active);\n color: var(--text-action-high-blue-france);\n}\n.fr-nav__item::before {\n box-shadow: 0 -1px 0 0 var(--border-default-grey), inset 0 -1px 0 0 var(--border-default-grey);\n}\n.fr-nav__item:first-child::before {\n box-shadow: inset 0 -1px 0 0 var(--border-default-grey);\n}\n.fr-nav__item:last-child::before {\n box-shadow: 0 -1px 0 0 var(--border-default-grey);\n}\n\n@media (min-width: 62em) {\n .fr-menu {\n z-index: calc(var(--ground) + 1000);\n filter: drop-shadow(var(--overlap-shadow));\n }\n .fr-menu__list {\n background-color: var(--background-overlap-grey);\n --idle: transparent;\n --hover: var(--background-overlap-grey-hover);\n --active: var(--background-overlap-grey-active);\n }\n .fr-menu__list {\n background-image: linear-gradient(0deg, var(--background-open-blue-france), var(--background-open-blue-france));\n }\n .fr-menu__list > *:first-child, .fr-menu__list > *:first-child .fr-nav__link, .fr-menu__list > *:hover, .fr-menu__list > *:hover .fr-nav__link, .fr-menu__list > *:hover + *, .fr-menu__list > *:hover + * .fr-nav__link {\n box-shadow: none;\n }\n .fr-menu .fr-nav__link {\n box-shadow: 0 calc(-1rem - 1px) 0 -1rem var(--border-default-grey);\n }\n}\n\n@media (min-width: 62em) {\n .fr-mega-menu {\n z-index: calc(var(--ground) + 1000);\n background-color: var(--background-overlap-grey);\n --idle: transparent;\n --hover: var(--background-overlap-grey-hover);\n --active: var(--background-overlap-grey-active);\n filter: drop-shadow(var(--overlap-shadow));\n box-shadow: inset 0 1px 0 0 var(--border-open-blue-france);\n }\n}\n.fr-mega-menu__list::before {\n box-shadow: 0 1px 0 0 var(--border-default-grey);\n}\n@media (min-width: 62em) {\n .fr-mega-menu__category {\n box-shadow: 0 calc(1rem + 1px) 0 -1rem var(--border-default-grey);\n }\n}\n\n@media (min-width: 36em) {\n /*! media sm */\n}\n@media (min-width: 48em) {\n /*! media md */\n}\n@media (min-width: 62em) {\n /*! media lg */\n}\n@media (min-width: 78em) {\n /*! media xl */\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n /**\n * reset liste à puce\n */\n .fr-nav [href] {\n text-decoration: none;\n }\n .fr-nav ul {\n list-style-type: none;\n }\n .fr-nav ol {\n list-style-type: none;\n }\n .fr-nav ul,\n .fr-nav ol {\n padding-left: 0;\n margin-top: 0;\n margin-bottom: 0;\n }\n /**\n * reset margin\n */\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__link, .fr-nav__btn {\n background-color: transparent;\n }\n .fr-nav__link:hover, .fr-nav__btn:hover {\n background-color: rgba(0, 0, 0, 0.05);\n }\n .fr-nav__link:active, .fr-nav__btn:active {\n background-color: rgba(0, 0, 0, 0.1);\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__btn::after {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n }\n .fr-nav__btn::after {\n background-image: url(\"../../icons/system/arrow-down-s-line.svg\");\n }\n .fr-nav__btn::after {\n width: 1rem;\n height: 1rem;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu__category {\n margin: 0;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__list > .fr-nav__item:first-child:nth-last-child(2), .fr-nav__list > .fr-nav__item:first-child:nth-last-child(2) ~ *, .fr-nav__list > .fr-nav__item:first-child:nth-last-child(3), .fr-nav__list > .fr-nav__item:first-child:nth-last-child(3) ~ *, .fr-nav__list > .fr-nav__item:first-child:nth-last-child(4), .fr-nav__list > .fr-nav__item:first-child:nth-last-child(4) ~ * {\n flex-basis: auto;\n }\n .fr-nav__item {\n position: static;\n flex-basis: 100%;\n }\n .fr-nav__item .fr-nav__link,\n .fr-nav__item .fr-nav__btn {\n max-width: 100%;\n flex-wrap: nowrap;\n }\n .fr-nav__item--align-right {\n position: relative;\n }\n .fr-nav__item--align-right .fr-collapse {\n right: 0;\n }\n /**\n * Override du reset des marges des ul\n **/\n .fr-menu .fr-menu__list {\n margin-bottom: 2rem;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__link, .fr-nav__btn {\n color: #161616;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__link[aria-current]:not([aria-current=false]), .fr-nav__btn[aria-current]:not([aria-current=false]) {\n color: #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__link[aria-current]:not([aria-current=false])::before, .fr-nav__btn[aria-current]:not([aria-current=false])::before {\n background-color: #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__btn[aria-expanded=true]:not(:disabled) {\n background-color: #e3e3fd;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__btn[aria-expanded=true]:not(:disabled) {\n color: #000091;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__item::before {\n box-shadow: 0 -1px 0 0 #ddd, inset 0 -1px 0 0 #ddd;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__item:first-child::before {\n box-shadow: inset 0 -1px 0 0 #ddd;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-nav__item:last-child::before {\n box-shadow: 0 -1px 0 0 #ddd;\n }\n}\n\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-menu {\n z-index: 1000;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-menu__list {\n background-color: #fff;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-menu__list {\n box-shadow: 0 0 0 1px rgba(0, 0, 18, 0.16);\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-menu__list {\n background-image: linear-gradient(0deg, #e3e3fd, #e3e3fd);\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-menu__list > *:first-child, .fr-menu__list > *:first-child .fr-nav__link, .fr-menu__list > *:hover, .fr-menu__list > *:hover .fr-nav__link, .fr-menu__list > *:hover + *, .fr-menu__list > *:hover + * .fr-nav__link {\n box-shadow: none;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-menu .fr-nav__link {\n box-shadow: 0 calc(-1rem - 1px) 0 -1rem #ddd;\n }\n}\n\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu {\n z-index: 1000;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu {\n background-color: #fff;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu {\n box-shadow: 0 0 0 1px rgba(0, 0, 18, 0.16);\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu {\n box-shadow: inset 0 1px 0 0 #e3e3fd;\n }\n}\n@media screen and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu__list::before {\n box-shadow: 0 1px 0 0 #ddd;\n }\n}\n@media screen and (min-width: 62em) and (min-width: 0\\0 ) and (min-resolution: 72dpi) {\n .fr-mega-menu__category {\n box-shadow: 0 calc(1rem + 1px) 0 -1rem #ddd;\n }\n}\n\n@media print {\n .fr-navigation {\n display: none;\n }\n}","////\n/// Navigation Main\n/// @group navigation\n////\n\n/* ¯¯¯¯¯¯¯¯¯ *\\\n NAVIGATION\n\\* ˍˍˍˍˍˍˍˍˍ */\n\n@use 'src/module/path';\n@use 'src/module/shame/media-query';\n\n@include path.to-dist(2);\n@include media-query.order;\n\n@import 'index';\n@import 'style/module';\n@import 'style/scheme';\n\n@include _navigation-scheme;\n","////\n/// Navigation Module : default\n/// @group navigation\n////\n\n@use 'src/module/spacing';\n@use 'src/module/selector';\n@use 'src/module/preference';\n\n#{ns(nav)} {\n @include disable-underline;\n @include disable-list-style;\n @include set-text-margin(0);\n @include set-title-margin(0);\n\n @include list {\n @include display-flex(column);\n @include margin(0);\n @include padding(0);\n\n @include preference.forced-colors {\n border-top: 1px solid;\n border-bottom: 1px solid;\n }\n\n @include respond-from(lg) {\n flex-direction: row;\n flex-wrap: nowrap;\n\n & > *:first-child:nth-last-child(2) ~ *,\n & > *:first-child:nth-last-child(3) ~ *,\n & > *:first-child:nth-last-child(4) ~ * {\n @include margin-left(5v);\n }\n }\n }\n\n @include list-item {\n // TODO: supprimer la stylisation de la liste item, trouver une solution différente pour l'affichage du menu à droite et la barre d'espacement grise en mobile\n @include display-flex(column, stretch);\n flex: 0 1 auto;\n\n @include relative;\n @include before('', block) {\n @include absolute(0, 0, 0 , 0, 100%, 100%);\n pointer-events: none;\n }\n\n #{ns(btn)},\n #{ns(link)} {\n @include min-height(12v);\n @include min-height(auto, lg);\n }\n\n @include respond-from(lg) {\n position: initial;\n\n @include before(none);\n align-items: flex-start;\n\n &--align-right {\n align-items: flex-end;\n }\n }\n }\n\n &__link,\n &__btn {\n @include display-flex(row, center, space-between);\n font-weight: bold;\n @include padding(3v 4v);\n @include margin(0);\n @include size(auto, 100%);\n @include text-style(md);\n text-align: left;\n\n @include respond-from(lg) {\n min-height: spacing.space(14v);\n @include padding(4v);\n @include text-style(sm);\n font-weight: normal;\n @include enable-tint;\n\n @include selector.current {\n @include relative;\n\n @include before('') {\n @include absolute(auto, null, 0, 0, 100%, 2px);\n @include margin-top(0);\n\n @include preference.forced-colors {\n background-color: highlight;\n @include height(1v);\n }\n }\n }\n }\n }\n\n &__link {\n &:not([href]) {\n @include selector.current {\n pointer-events: none;\n cursor: default;\n }\n }\n }\n\n &__btn {\n @include icon(arrow-down-s-line, sm, after) {\n @include margin-left(2v);\n @include margin-right(0);\n transition: transform 0.3s;\n\n @include preference.reduce-motion {\n transition: none;\n }\n }\n @include icon-forced-color(buttontext, true, after);\n\n @include respond-from(lg) {\n justify-content: flex-start;\n }\n\n &[aria-expanded=\"true\"] {\n @include after {\n transform: rotate(-180deg);\n }\n }\n }\n}\n","////\n/// Core Tool : Reset\n/// @group core\n////\n\n$underline-thickness: 0.0625em;\n\n@mixin a-reset ($minimal: false) {\n text-decoration: var(--text-decoration);\n @if not $minimal {\n color: inherit;\n }\n}\n\n@mixin init-underline() {\n --underline-max-width: 100%;\n --underline-hover-width: 0;\n --underline-idle-width: var(--underline-max-width);\n --underline-x: calc(var(--underline-max-width) * 0);\n --underline-thickness: #{$underline-thickness};\n}\n\n@mixin enable-underline() {\n --underline-img: linear-gradient(0deg, currentColor, currentColor);\n}\n\n@mixin enable-underline-legacy() {\n [href] {\n text-decoration: underline;\n }\n}\n\n@mixin disable-underline() {\n --underline-img: none;\n}\n\n@mixin disable-underline-legacy() {\n [href] {\n text-decoration: none;\n }\n}\n\n@mixin link-underline() {\n background-image: var(--underline-img), var(--underline-img);\n background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - var(--underline-thickness));\n background-repeat: no-repeat, no-repeat;\n transition: background-size 0s;\n background-size: var(--underline-hover-width) calc(var(--underline-thickness) * 2), var(--underline-idle-width) var(--underline-thickness);\n}\n\n@mixin link-underline-hover-only() {\n --underline-idle-width: 0;\n}\n\n@mixin hover-underline () {\n &:hover,\n &:active {\n --underline-hover-width: var(--underline-max-width);\n }\n}\n\n@mixin external-link() {\n @include icon-style(after);\n @include icon-size(sm, after);\n @include icon-image(external-link-line, after);\n @include icon-forced-color(linktext, true, after);\n @include after(var(--external-link-content)) {\n @include margin-left(1v);\n }\n}\n\n@mixin enable-external() {\n --external-link-content: '';\n}\n\n@mixin disable-external() {\n --external-link-content: none;\n}\n\n@mixin target-blank ($unify: false) {\n @if $unify and & {\n &[target=\"_blank\"] {\n @content;\n }\n }\n @else {\n [target=\"_blank\"] {\n @content;\n }\n }\n}\n","////\n/// Core Tool : Reset list\n/// @group core\n////\n\n@mixin enable-list-style() {\n $selector: null;\n\n @if & == null {\n $selector: ':root';\n }\n\n @include nest($selector) {\n --ul-type: disc;\n --ol-type: decimal;\n --ul-start: #{space(4v)};\n --ol-start: #{space(6v)};\n --xl-block: #{space(2v)};\n --li-bottom: #{space(1v)};\n --xl-base: 1em;\n --ol-content: counters(li-counter, \".\") \".\\00a0\\00a0\";\n }\n}\n\n@mixin disable-list-style() {\n --ul-type: none;\n --ol-type: none;\n --ul-start: 0;\n --ol-start: 0;\n --xl-block: 0;\n --li-bottom: 0;\n --ol-content: none;\n}\n\n@mixin enable-list-style-legacy($unify: false) {\n $ul: ul;\n $ol: ol;\n\n @if $unify {\n $ul: selector-associate('&', 'ul');\n $ol: selector-associate('&', 'ol');\n }\n\n @at-root {\n #{$ul} {\n list-style-type: disc;\n }\n\n #{$ol} {\n list-style-type: decimal;\n }\n\n #{$ul},\n #{$ol} {\n @include padding-left(4v);\n @include margin-y(2v);\n }\n }\n}\n\n@mixin disable-list-style-legacy($unify: false) {\n $ul: '#{&} ul';\n $ol: '#{&} ol';\n\n @if $unify {\n $ul: selector-associate('#{&}', 'ul');\n $ol: selector-associate('#{&}', 'ol');\n }\n\n @at-root {\n #{$ul} {\n list-style-type: none;\n }\n\n #{$ol} {\n list-style-type: none;\n }\n\n #{$ul},\n #{$ol} {\n @include padding-left(0);\n @include margin-y(0);\n }\n }\n}\n","////\n/// Core Tool : Typography build\n/// @group core\n////\n\n@use 'src/module/spacing';\n\n@function get-text-style($font-size) {\n @return map-get($text-styles, $font-size);\n}\n\n@function get-title-style($font-size) {\n @return map-get($title-styles, $font-size);\n}\n\n@mixin _stylize($font-size, $styles, $prepend, $append) {\n $style: map-get($styles, $font-size);\n\n @if $prepend == null {\n $prepend: '';\n }\n\n @if $append == null {\n $append: '';\n }\n\n font-size: #{$prepend} spacing.space($font-size) #{$append};\n\n @if map-has-key($style, line-height) {\n line-height: #{$prepend} spacing.space(map-get($style, line-height)) #{$append};\n }\n}\n\n@mixin _responsive-styles($settings, $styles, $is-responsive, $prepend, $append) {\n $breakpoints: map-get($settings, breakpoints);\n\n @if map-has-key($settings, weight) {\n font-weight: #{$prepend} map-get($font-weight-scale, map-get($settings, weight)) #{$append};\n }\n\n @if $is-responsive {\n @each $breakpoint, $size in $breakpoints {\n @if $breakpoint == first {\n @include _stylize($size, $styles, $prepend, $append);\n }\n @else {\n @include respond-from($breakpoint) {\n @include _stylize($size, $styles, $prepend, $append);\n }\n }\n }\n }\n @else {\n @if map-has-key($breakpoints, md) {\n @include _stylize(map-get($breakpoints, md), $styles);\n }\n @else {\n @include _stylize(map-get($breakpoints, first), $styles);\n }\n }\n}\n\n@mixin _space-text($settings) {\n @include margin( var(#{'--' + map-get($settings, 'margin') + '-spacing'}) );\n}\n\n@mixin text-style($name, $with-spacing: false, $is-responsive: true, $prepend: null, $important: false) {\n $settings: map-get($text-settings, $name);\n @if $settings {\n $append: '';\n @if $important {\n $append: ' !important';\n }\n\n @include _responsive-styles($settings, $text-styles, $is-responsive, $prepend, $append);\n\n @if $with-spacing {\n @include _space-text($settings);\n }\n }\n}\n\n@mixin title-style($name, $with-spacing: false, $is-responsive: true, $prepend: null, $important: false) {\n $settings: map-get($title-settings, $name);\n @if $settings {\n $append: '';\n @if $important {\n $append: ' !important';\n }\n\n @include _responsive-styles($settings, $title-styles, $is-responsive, $prepend, $append);\n\n @if $with-spacing {\n @include _space-text($settings);\n }\n }\n}\n\n@mixin _set-typography-var($name, $value, $bp: null) {\n @if $bp != null {\n @include respond-from(#{$bp}) {\n --#{$name}-spacing: #{space($value)};\n }\n }\n @else {\n --#{$name}-spacing: #{space($value)};\n }\n}\n\n@mixin set-title-margin($margin, $bp:null) {\n @include _set-typography-var(title, $margin, $bp);\n}\n\n@mixin set-text-margin($margin, $bp:null) {\n @include _set-typography-var(text, $margin, $bp);\n}\n\n@mixin set-display-margin($margin, $bp:null) {\n @include _set-typography-var(display, $margin, $bp);\n}\n","////\n/// Core Tool : Selector block\n/// @group core\n////\n\n@mixin title() {\n &__title {\n @content;\n }\n}\n\n@mixin body() {\n &__body {\n @content;\n }\n}\n\n@mixin list() {\n &__list {\n @content;\n }\n}\n\n@mixin list-item() {\n &__item {\n @content;\n }\n}\n","////\n/// Core Tool : Display display\n/// @group core\n////\n\n@mixin display-flex($flex-direction: row, $align-items: null, $justify-content: null, $flex-wrap: null, $inline: false) {\n\n @if $inline == true {\n display: inline-flex;\n }\n @else {\n display: flex;\n }\n\n @if $flex-direction != null {\n flex-direction: #{$flex-direction};\n }\n\n @if $align-items != null {\n align-items: #{$align-items};\n }\n\n @if $justify-content != null {\n justify-content: #{$justify-content};\n }\n\n @if $flex-wrap != null {\n flex-wrap: #{$flex-wrap};\n }\n}\n","////\n/// Core Tool : Spacing space\n/// @group core\n////\n\n@use 'src/module/spacing';\n\n/// Set space property\n///\n/// @param {String} $property ['margin'] - propriété à appliquer à l'espacement `['margin', 'padding']`\n/// @param {Number | list} $value [2] - valeur de l'espacement en v ou w. peut être une liste si la direction n'est pas renseignée\n/// @param {String} $direction - direction de l'espacement `['x', 'y', 'top', 'right', 'bottom', 'left']`\n///\n/// @example scss - Set margin-bottom to 24px\n/// .foo {\n/// @include _spacing('margin', 6v, 'bottom');\n/// }\n@mixin _spacing($property: margin, $value: 0, $direction: null) {\n $v: spacing.space($value);\n @if $direction != null {\n @if $direction == 'x' {\n #{$property}-left: $v;\n #{$property}-right: $v;\n }\n @else if $direction == 'y' {\n #{$property}-top: $v;\n #{$property}-bottom: $v;\n }\n @else {\n #{$property}-#{$direction}: $v;\n }\n }\n @else {\n #{$property}: $v;\n }\n}\n\n@mixin _spacing-from($property: margin, $value: 0, $direction: null, $from: null) {\n @include respond-from($from) {\n @include _spacing($property, $value, $direction);\n }\n}\n\n@mixin padding($values: 0 0 0 0, $from: null) {\n @include _spacing-from(padding, $values, null, $from);\n}\n\n@mixin padding-x($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'x', $from);\n}\n\n@mixin padding-y($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'y', $from);\n}\n\n@mixin padding-top($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'top', $from);\n}\n\n@mixin padding-right($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'right', $from);\n}\n\n@mixin padding-bottom($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'bottom', $from);\n}\n\n@mixin padding-left($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'left', $from);\n}\n\n@mixin margin($values: 0 0 0 0, $from: null) {\n @include _spacing-from(margin, $values, null, $from);\n}\n\n@mixin margin-x($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'x', $from);\n}\n\n@mixin margin-y($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'y', $from);\n}\n\n@mixin margin-top($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'top', $from);\n}\n\n@mixin margin-right($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'right', $from);\n}\n\n@mixin margin-bottom($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'bottom', $from);\n}\n\n@mixin margin-left($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'left', $from);\n}\n","////\n/// Core Tool : Spacing position\n/// @group core\n////\n\n@use 'src/module/spacing';\n\n@mixin position($position, $top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n position: #{$position};\n @if $top != null {\n top: #{space($top)};\n }\n @if $right != null {\n right: #{space($right)};\n }\n @if $bottom != null {\n bottom: #{space($bottom)};\n }\n @if $left != null {\n left: #{space($left)};\n }\n\n @include size($width, $height);\n\n @content;\n}\n\n@mixin relative($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(relative, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin absolute($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(absolute, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin fixed($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(fixed, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin sticky($top: null, $right: null, $bottom: null, $left: null, $width: null, $height: null) {\n @include position(sticky, $top, $right, $bottom, $left, $width, $height);\n}\n\n@mixin top($top) {\n top: spacing.space($top);\n}\n\n@mixin right($top) {\n right: spacing.space($top);\n}\n\n@mixin bottom($top) {\n bottom: spacing.space($top);\n}\n\n@mixin left($top) {\n left: spacing.space($top);\n}\n","////\n/// Core Tool : Selector pseudo\n/// @group core\n////\n\n@mixin _pseudo($type:before, $content:null, $display:null) {\n @if $type != after and $type != before and $type != marker and $type != (before after) {\n @error '$type must be before or after element';\n }\n\n $selector: ();\n\n @each $pseudo in $type {\n $selector: append($selector, '&::#{$pseudo}', 'comma');\n }\n\n #{$selector} {\n\n @if $content != null {\n content: $content;\n }\n\n @if $display != null {\n display: #{$display};\n }\n\n @content;\n }\n}\n\n@mixin before($content: null, $display: null) {\n @include _pseudo(before, $content, $display) {\n @content;\n }\n}\n\n@mixin after($content: null, $display: null) {\n @include _pseudo(after, $content, $display) {\n @content;\n }\n}\n\n@mixin marker($content: null, $display: null) {\n @include _pseudo(marker, $content, $display) {\n @content;\n }\n}\n","////\n/// Core Tool : Spacing size\n/// @group core\n////\n\n@use '../../../../../module/spacing';\n\n@mixin width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin min-width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n min-width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin max-width($width:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n max-width: #{spacing.space($width)};\n }\n }\n}\n\n@mixin height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin min-height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n min-height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin max-height($height:null, $from: null) {\n @include respond-from($from) {\n @if $height != null {\n max-height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin size($width:null, $height:null, $from: null) {\n @include respond-from($from) {\n @if $width != null {\n width: #{spacing.space($width)};\n }\n @if $height != null {\n height: #{spacing.space($height)};\n }\n }\n}\n\n@mixin min-size($min-width:null, $min-height:null, $from: null) {\n @include respond-from($from) {\n @if $min-width != null {\n min-width: #{spacing.space($min-width)};\n }\n @if $min-height != null {\n min-height: #{spacing.space($min-height)};\n }\n }\n}\n\n@mixin max-size($max-width:null, $max-height:null, $from: null) {\n @include respond-from($from) {\n @if $max-width != null {\n max-width: #{spacing.space($max-width)};\n }\n @if $max-height != null {\n max-height: #{spacing.space($max-height)};\n }\n }\n}\n","@use 'sass:list';\n@use 'sass:map';\n@use 'src/module/legacy';\n@use 'src/module/media-query';\n@use 'src/module/spacing';\n@use 'src/module/specificity';\n@use 'src/module/string';\n@use 'src/module/utilities';\n@use '../variable/constant';\n@use '../function/box-shadow' as bs;\n@use '../function/colors';\n@use '../function/result';\n@use '../function/token';\n\n$COLOR: constant.$value;\n\n@mixin element($prop, $context, $tokens, $options: (), $value: $COLOR) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $standalone: map.get($options, standalone);\n\n $legacy-target: null;\n @if $legacy == true {\n $legacy-target: ie11;\n }\n\n $tokens: token.normalise($tokens, $context);\n $type: decision;\n $options: (var: true);\n\n @if $legacy or $standalone {\n $type: hex;\n $option: (theme: light);\n }\n\n $colors: colors.from-list($tokens, $type, $options);\n $result: result.get($colors, $value);\n $result: specificity.important($result, $important);\n\n @include legacy.is($legacy-target) {\n #{$prop}: #{string.unstringify($result)};\n }\n\n @if ($hover == true or ($hover == inherit and $legacy == false)) and ($context == background and list.length($tokens) == 1) {\n\n $token: nth($tokens, 1);\n @if $legacy or $standalone {\n @include _apply-pseudos($token, false, true, $legacy-target, $prop, $value, $important);\n }\n @else {\n @if $prop == background-color {\n --idle: transparent; // #{$result};\n @include _apply-pseudos($token, true, false, null, $prop, $value, $important);\n }\n @else {\n @include _apply-pseudos($token, true, true, null, $prop, $value, $important);\n }\n }\n }\n}\n\n@mixin _apply-pseudos($token, $decision: true, $pseudo: false, $target: null, $prop: background-color, $value: constant.$value, $important: false) {\n @include legacy.is($target) {\n @include _apply-pseudo($token, hover, $decision, $pseudo, $prop, $value, $important);\n @include _apply-pseudo($token, active, $decision, $pseudo, $prop, $value, $important);\n }\n}\n\n@mixin _apply-pseudo($token, $type, $decision: true, $pseudo: false, $prop: background-color, $value: constant.$value, $important: false) {\n $nest: null;\n $p: --#{$type};\n @if $pseudo {\n $nest: '&:#{$type}';\n $p: $prop;\n }\n\n $t: hex;\n $options: (#{$type}: true);\n @if $decision {\n $t: decision;\n $options: (var: true, #{$type}: true);\n }\n\n $color: colors.from($token, $t, $options);\n $result: result.get($color, $value);\n $result: specificity.important($result, $important);\n\n @include utilities.nest($nest) {\n #{$p}: #{string.unstringify($result)};\n }\n}\n\n/// Ajout d'une couleur de background sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin background($tokens, $options:()) {\n @if not map.has-key($options, hover) {\n $options: map.merge($options, (hover: inherit));\n }\n @include element(background-color, background, $tokens, $options);\n}\n\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// - hover {boolean}: si true, surcharge la valeur de blend pour être héritée\n@mixin transparent-background($options) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $tokens: token.normalise(default grey, background);\n $value: specificity.important(transparent, $important);\n\n @if $legacy {\n @include legacy.is(ie11) {\n background-color: transparent;\n\n @if $hover {\n &:hover {\n background-color: rgba(0, 0, 0, 0.05);\n }\n\n &:active {\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n }\n }\n @else {\n background-color: #{$value};\n @if $hover {\n --hover: inherit;\n --active: inherit;\n }\n }\n}\n\n/// Ajout d'une couleur de background sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin background-image($tokens, $options, $value: linear-gradient(0deg, $COLOR, $COLOR)) {\n $d: token.length($tokens);\n @if $d > 1 and $value == linear-gradient(0deg, $COLOR, $COLOR) {\n $transformed: ();\n @for $i from 1 through $d {\n $c: string.unquote('$color##{$i}');\n $transformed: list.append($transformed, linear-gradient(0deg, $c, $c), comma);\n }\n $value: $transformed;\n }\n @include element(background-image, background, $tokens, $options, $value);\n}\n\n/// Ajout d'une couleur de texte sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin text($tokens, $options) {\n @include element(color, text, $tokens, $options);\n}\n\n/// Ajout d'une couleur de texte sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin text-fill($tokens, $options) {\n @include element(-webkit-text-fill-color, text, $tokens, $options);\n}\n\n/// Ajout d'une couleur de fill sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n@mixin fill($tokens, $options) {\n @include element(fill, background , $tokens, $options);\n}\n\n/// Ajout d'une couleur de border sur un élément\n/// @access public\n/// @param {list} $tokens - liste des tokens de décision\n/// @param {map} $options - map des options :\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - important {boolean}: si true, applique !important à la règle css\n/// - side {String}: le côté affecté. valeurs: top, right, bottom, left\n/// @param {List} $value - définition des propriétés de border\n@mixin border($tokens, $options, $value:1px solid $COLOR) {\n $prop:border;\n @if map.has-key($options, side) {\n $prop:border-#{map.get($options, side)};\n }\n @include element($prop, border, $tokens, $options, $value);\n}\n\n@mixin no-border($options: ()) {\n $breakpoint: map.get($options, breakpoint);\n $legacy: map.get($options, legacy);\n @include media-query.respond-from($breakpoint) {\n @if $legacy {\n @include legacy.is(ie11) {\n border: 0;\n }\n }\n @else {\n border: 0;\n }\n }\n}\n\n/// Ajout d'une couleur d'outline sur un élément\n/// @access