1 line
No EOL
52 KiB
Text
1 line
No EOL
52 KiB
Text
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/module/_default.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_list.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_link.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_styles.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_position.scss","%3Cinput%20css%20yMe4vl%3E","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_block.scss","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/module/_title.scss","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/module/_list.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/module/_inner.scss","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/module/_action.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_hover.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_display.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_font-weight.scss","file:///Users/ket/Documents/work/dsfr/module/selector/mixin/_current.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_default.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_mask-image.scss","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/media-query/mixin/_respond-from.scss","file:///Users/ket/Documents/work/dsfr/module/shame/media-query/mixin/_order.scss","file:///Users/ket/Documents/work/dsfr/src/component/sidemenu/style/module/_variants.scss"],"names":[],"mappings":"AAAA;;GAAA,ACKA,aCoBE,cAAA,CACA,cAAA,CACA,YAAA,CACA,YAAA,CACA,YAAA,CACA,aAAA,CACA,iBAAA,CCEA,oBAAA,CCwEE,gBAAA,CAAA,iBAAA,CChEA,iGAAA,CCpBE,iBAHA,CAIA,kBAJA,CCVJ,iBCsBF,CPjBE,2BACE,cOmBJ,CPbE,0BKaE,wBAfE,CAeF,uBEeJ,CPtBI,wCKAE,eARA,CAOA,YAPA,CAQA,gBARA,CAOA,aEyCN,CC5DE,oBJmCE,sDAAA,CAAA,4BAAA,CDfF,kBAAA,CMdE,eAAA,CNiBA,mBAAA,CEIA,cE6CJ,CC5DE,mBEXE,eHqFJ,CGnFI,sCAGE,eAAA,CLqBF,kBE+DJ,CGlFM,iHPYJ,cAAA,COTM,eAAA,CPYJ,kBI8EJ,CGtFQ,uJPKN,iBAAA,CAGE,kBImFJ,CCxFE,mBFhBA,iBCgHF,CIxGE,0BLAE,QAAA,CFyBA,4FAAA,COtBE,UDcc,CCVd,aAAA,CCsCA,WAAA,CN1CF,MAAA,CIgBE,mBAAA,CJ3BJ,iBAAA,CAKE,OAAA,CAHA,KAAA,CMgDE,UL0EN,CIpHE,gEAGI,YJyHN,CM/HI,iCRoBA,uBAfE,CAeF,uBE2HJ,COlJA,qCC+CI,yBAAA,CAOA,2BAAA,CC7CA,kBAAA,CZsBA,yCAAA,CY9BA,YAAA,CAIA,kBAAA,CbWF,cAAA,CcPA,eAAA,CdUE,kBAAA,CEIA,mBAfE,CCVJ,iBAAA,CQUA,eAAA,CFwCI,UL0LN,CIpOE,mIPoCM,kBAAA,CAqCJ,8CAAA,CAAA,gDAAA,CAhDA,iDAAA,CEzBA,aAAA,CKGE,UGKc,CRLhB,MAAA,CAXF,iBAAA,CAEE,UAAA,CMgDE,SLyMN,CW/PE,uEJgCI,cAAA,CADA,mBP2ON,COhOE,iCE3BE,kBAAA,CARA,YAAA,CAIA,kBTyQJ,CIxQE,uCQ0BE,gBAAA,CAkBA,6BAAA,CRzCE,UQqD+B,CAdjC,oBAAA,CADA,aAAA,CPIE,uBAAA,CPhCA,gBAXA,CAWA,cAXA,CeZJ,gED0CM,CCzCN,wDDyCM,CCrCN,2BDmD2B,CClD3B,mBDkD2B,CLTvB,wBAAA,CKMF,kDAAA,CPDE,sBL6ON,CIvRE,4CG6CI,yBP+PN,COrPA,sCGpDE,eAAA,CLuCI,UL8QN,CIxTE,4CNaI,iBE8SN,CI3TE,6CQ0BE,gBAAA,CAkBA,6BAAA,CRzCE,UQqD+B,CAdjC,oBAAA,CADA,aAAA,CPIE,uBAAA,CPxCA,iBAHA,CAIA,kBAJA,CeZJ,0DD0CM,CCzCN,kDDyCM,CCrCN,2BDmD2B,CClD3B,mBDkD2B,CAHzB,kDAAA,CPDE,sBL2RN,CctTM,2EjBUF,kCGyVJ,CIlXE,sCPyBE,sDG+VJ,CIxXE,qCPyBE,gDGkWJ,CWvYE,qHdqCE,oCGkXJ,Cc3UM,sCjB5BE,kBAAA,CAqCJ,gDAAA,CAAA,kDAAA,CAhDA,mDG8XJ,CexZI;ECRI,cAAA,ChBDR,CeSI;ECRI,cAAA,CvBFR,aI8QM,eAAA,CC9PA,aAHA,CAIA,cAJA,CAWA,kBESJ,CPlBA,0BKCI,mBAHA,CAIA,oBAJA,CAGA,mBAHA,CAIA,oBE+BJ,CC/CA,oBJ6QI,eAAA,CClPF,iBAfE,CAeF,SEiDF,CGzEE,sCLwBA,kBEmEF,CClFA,mBHeE,QEmFF,CIpGA,0BDsBM,YHkGN,CMlIA,oBTmCE,sDAAA,CCRA,oBEsHF,CM1IE,iCRoBA,QAfE,CQGE,eAAA,CADA,gBAAA,CRaJ,SE+HF,CIhJA,wCEQQ,YNsJR,CMnJM,6DACE,kBNqJR,CiBnKE,oBnBeE,iBAXA,CAWA,eE4KJ,CiBvLI,wCAEE,cAAA,CpBqBJ,qDAAA,CCRA,qBE4KF,CiBlLE,qBlBnBF,eAAA,CAEE,KCuMF,CiBnLI,yCAGE,gBAAA,CADA,aAAA,CnBHF,iBEyLJ,CiB9KE,iCZqBE,YAAA,CNrDJ,eAAA,CAEE,KCiNF,CiBhLI,qDZkBA,WAAA,CYhBE,aAAA,CnBhBF,iBEmMJ,COtNF,qCTuBI,QAfE,COwCA,UL+LJ,CO3MA,iCTbE,iCE2PF,CI5QA,uCNaI,oBE2RJ,COjPF,sCAeI,YP+QF,CA5VF,CeMI;ECRI,cAAA,ChBKR,CeGI;ECRI,cAAA,ChBQR","file":"sidemenu.main.min.css","sourcesContent":[null,"////\n/// Sidemenu Module : default\n/// @group sidemenu\n////\n\n#{ns(sidemenu)} {\n @include disable-list-style;\n @include disable-underline;\n @include set-text-margin(0);\n @include set-title-margin(0);\n @include relative;\n @include margin-x(-4v);\n\n a:not([href]) {\n cursor: default;\n }\n\n @include margin-x(0, md);\n @include padding-right(8v, md);\n\n #{ns(collapse)} {\n @include margin(-1v -1v 0);\n @include padding(1v 1v 0);\n @include margin-x(-1v, md);\n @include padding-x(1v, md);\n\n &#{ns(collapsing)} {\n @include margin-y(0);\n @include padding-y(0);\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 : 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 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 : Typography build\n/// @group core\n////\n\n@use '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","@use 'sass:list';\n@use 'sass:map';\n@use 'module/legacy';\n@use 'module/media-query';\n@use 'module/spacing';\n@use 'module/specificity';\n@use 'module/string';\n@use '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 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/// @param {List} $value - définition des propriétés d'outline\n@mixin outline($tokens, $options, $value:1px solid $COLOR) {\n @include element(outline, border, $tokens, $options, $value);\n}\n\n/// Ajout d'une couleur de box-shadow 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/// @param {List} $value - définition des propriétés de box-shadow\n@mixin box-shadow($tokens, $options, $value: all-1-in) {\n $has-keys: true;\n $transformed: ();\n $d: token.length($tokens);\n $i: 1;\n @each $v in $value {\n @if bs.has($v) {\n $transformed: append($transformed, bs.get($v, $i), comma);\n @if $i < $d {\n $i: $i + 1;\n }\n }\n @else {\n $has-keys: false;\n }\n }\n @if $has-keys {\n $value: $transformed;\n }\n @include element(box-shadow, border, $tokens, $options, spacing.space($value));\n}\n\n/// Supprime la shadow-box sur l'élément\n/// @access public\n/// @param {string} $breakpoint - la shadow-box est retiré à partir d'un breakpoint si celui-ci est défini\n@mixin no-box-shadow($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 box-shadow: none;\n }\n }\n @else {\n box-shadow: none;\n }\n }\n}\n","////\n/// Core Tool : Spacing space\n/// @group core\n////\n\n@use '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 '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","@charset \"UTF-8\";\n/* ¯¯¯¯¯¯¯¯¯ *\\\n SIDEMENU\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-sidemenu {\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 --underline-img: none;\n --text-spacing: 0;\n --title-spacing: 0;\n position: relative;\n margin-left: -1rem;\n margin-right: -1rem;\n}\n.fr-sidemenu a:not([href]) {\n cursor: default;\n}\n@media (min-width: 48em) {\n .fr-sidemenu {\n margin-left: 0;\n margin-right: 0;\n }\n}\n@media (min-width: 48em) {\n .fr-sidemenu {\n padding-right: 2rem;\n }\n}\n.fr-sidemenu .fr-collapse {\n margin: -0.25rem -0.25rem 0;\n padding: 0.25rem 0.25rem 0;\n}\n@media (min-width: 48em) {\n .fr-sidemenu .fr-collapse {\n margin-left: -0.25rem;\n margin-right: -0.25rem;\n }\n}\n@media (min-width: 48em) {\n .fr-sidemenu .fr-collapse {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n }\n}\n.fr-sidemenu .fr-collapse.fr-collapsing {\n margin-top: 0;\n margin-bottom: 0;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.fr-sidemenu {\n /**\n * Titre facultatif\n */\n}\n.fr-sidemenu__title {\n padding: 1rem 0;\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 700;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__title {\n margin: 0 0 1.5rem;\n }\n}\n@media (min-width: 48em) {\n .fr-sidemenu__title {\n padding: 0;\n }\n}\n\n.fr-sidemenu__list {\n font-weight: 700;\n}\n.fr-sidemenu__list .fr-sidemenu__list {\n margin: 0 1rem 1rem;\n font-weight: 400;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__list .fr-sidemenu__list {\n margin: 0 1rem 1rem;\n }\n}\n.fr-sidemenu__list .fr-sidemenu__list .fr-sidemenu__link,\n.fr-sidemenu__list .fr-sidemenu__list .fr-sidemenu__btn {\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 400;\n}\n.fr-sidemenu__list .fr-sidemenu__list .fr-sidemenu__list .fr-sidemenu__link,\n.fr-sidemenu__list .fr-sidemenu__list .fr-sidemenu__list .fr-sidemenu__btn {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__list {\n margin: 0;\n }\n}\n.fr-sidemenu__item {\n position: relative;\n}\n.fr-sidemenu__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@media (min-width: 48em) {\n .fr-sidemenu__item::before {\n content: none;\n }\n}\n.fr-sidemenu__item .fr-sidemenu__item .fr-sidemenu__item::before {\n content: none;\n}\n\n.fr-sidemenu__inner {\n /**\n * Ce wrapper ne sert que pour la version mobile\n * On l'utilise pour l'ouverture/fermeture du sidemenu entier\n */\n}\n@media (min-width: 48em) {\n .fr-sidemenu__inner {\n padding: 0 1.5rem 0 0;\n }\n}\n.fr-sidemenu__inner > .fr-collapse {\n margin: -0.25rem 0.75rem 0;\n padding: 0.25rem 0.75rem 0;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__inner > .fr-collapse {\n padding: 0;\n }\n}\n@media (min-width: 48em) {\n .fr-sidemenu__inner > .fr-collapse {\n margin: 0;\n }\n}\n@media (min-width: 48em) {\n .fr-sidemenu__inner > .fr-collapse {\n overflow: initial;\n max-height: none;\n }\n .fr-sidemenu__inner > .fr-collapse::before {\n display: none;\n }\n .fr-sidemenu__inner > .fr-collapse:not(.fr-collapse--expanded) {\n visibility: inherit;\n }\n}\n\n.fr-sidemenu {\n /**\n * Variantes du sidemenu proposées juste à partir du breakpoint md\n */\n}\n@media (min-width: 48em) {\n .fr-sidemenu {\n /**\n * Modificateur pour que le sidemenu s'adapte à un affichage à droite du contenu\n * La bordure se met sur la gauche\n */\n /**\n * Modificateur pour que le sidemenu soit sticky\n */\n /**\n * Modificateur pour que le sidemenu soit à la fois sticky et prenne toute la hauteur de la page\n */\n }\n .fr-sidemenu--right {\n padding-left: 2rem;\n padding-right: 0;\n }\n .fr-sidemenu--right .fr-sidemenu__inner {\n padding: 0 1rem 0 2rem;\n border-right: 0;\n }\n .fr-sidemenu--sticky {\n position: sticky;\n top: 0;\n }\n .fr-sidemenu--sticky .fr-sidemenu__inner {\n padding-top: 0.5rem;\n overflow: auto;\n max-height: 100vh;\n }\n .fr-sidemenu--sticky-full-height {\n position: sticky;\n top: 0;\n height: 100vh;\n }\n .fr-sidemenu--sticky-full-height .fr-sidemenu__inner {\n padding-top: 0.5rem;\n overflow: auto;\n height: 100%;\n }\n}\n\n/**\n * Styles du bouton et du lien d'accès direct du sidemnu\n */\n.fr-sidemenu__link,\n.fr-sidemenu__btn {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n padding: 0.75rem 1rem;\n font-size: 1rem;\n line-height: 1.5rem;\n text-align: left;\n font-weight: 700;\n --hover-tint: var(--hover);\n --active-tint: var(--active);\n}\n@media (min-width: 48em) {\n .fr-sidemenu__link,\n .fr-sidemenu__btn {\n margin: 0;\n }\n}\n.fr-sidemenu__link[aria-current]:not([aria-current=false])::before,\n.fr-sidemenu__btn[aria-current]:not([aria-current=false])::before {\n content: \"\";\n position: absolute;\n top: 0.75rem;\n bottom: 0.75rem;\n left: 0;\n width: 2px;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__link,\n .fr-sidemenu__btn {\n width: 100%;\n }\n}\n\n.fr-sidemenu__link:not([href])[aria-current]:not([aria-current=false]) {\n pointer-events: none;\n cursor: default;\n}\n\n/**\n * Style du bouton du sidemnenu pour ouvrir/refermer les listes de niveaux 1 et 2\n * Bouton pour la version mobile pour ouvrir/refermer le sidemenu\n */\n.fr-sidemenu__btn[aria-expanded] {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__btn[aria-expanded] {\n padding: 0.75rem 2.5rem 0.75rem 1rem;\n }\n}\n.fr-sidemenu__btn[aria-expanded]::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-sidemenu__btn[aria-expanded]::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-sidemenu__btn[aria-expanded]::after {\n --icon-size: 1rem;\n}\n.fr-sidemenu__btn[aria-expanded]::after {\n content: \"\";\n margin-left: auto;\n margin-right: 0;\n transition: transform 0.3s;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__btn[aria-expanded]::after {\n margin-right: -1.5rem;\n }\n}\n.fr-sidemenu__btn[aria-expanded=true]::after {\n transform: rotate(-180deg);\n}\n\n/**\n * Modificateur pour le bouton en version mobile permettant d'ouvrir/refermer le sidemenu\n * L'icône de gauche est défini dans _sidemenu.scss (provisoire)\n */\n.fr-sidemenu__inner > .fr-sidemenu__btn {\n width: 100%;\n font-weight: 500;\n /**\n * Ajout de l'icône de menu en mode mobile (provisoire)\n */\n}\n.fr-sidemenu__inner > .fr-sidemenu__btn::after {\n margin-right: 1rem;\n}\n.fr-sidemenu__inner > .fr-sidemenu__btn::before {\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-sidemenu__inner > .fr-sidemenu__btn::before {\n -webkit-mask-image: url(\"../../icons/system/menu-2-fill.svg\");\n mask-image: url(\"../../icons/system/menu-2-fill.svg\");\n}\n.fr-sidemenu__inner > .fr-sidemenu__btn::before {\n --icon-size: 1rem;\n}\n.fr-sidemenu__inner > .fr-sidemenu__btn::before {\n content: \"\";\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n}\n@media (min-width: 48em) {\n .fr-sidemenu__inner > .fr-sidemenu__btn {\n display: none;\n }\n}\n\n.fr-sidemenu {\n box-shadow: inset 0 -1px 0 0 var(--border-default-grey), inset 0 1px 0 0 var(--border-default-grey);\n /*\n @include elevation.elevate(raised, (legacy:$legacy));\n @include respond-from(md) {\n @include elevation.drop((legacy:$legacy));\n }\n */\n}\n@media (min-width: 48em) {\n .fr-sidemenu {\n box-shadow: none;\n }\n}\n.fr-sidemenu__title {\n color: var(--text-title-grey);\n box-shadow: inset 0 -1px 0 0 var(--border-default-grey);\n}\n@media (min-width: 48em) {\n .fr-sidemenu__title {\n box-shadow: none;\n }\n}\n.fr-sidemenu__item .fr-sidemenu__link,\n.fr-sidemenu__item .fr-sidemenu__btn {\n color: var(--text-action-high-grey);\n}\n.fr-sidemenu__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-sidemenu__item:first-child::before {\n box-shadow: inset 0 -1px 0 0 var(--border-default-grey);\n}\n.fr-sidemenu__item:last-child::before {\n box-shadow: 0 -1px 0 0 var(--border-default-grey);\n}\n@media (min-width: 48em) {\n .fr-sidemenu__inner {\n box-shadow: inset -1px 0 0 0 var(--border-default-grey);\n }\n}\n@media (min-width: 48em) {\n .fr-sidemenu--right .fr-sidemenu__inner {\n box-shadow: inset 1px 0 0 0 var(--border-default-grey);\n }\n}\n.fr-sidemenu__link, .fr-sidemenu__btn {\n color: var(--text-action-high-blue-france);\n}\n.fr-sidemenu__link[aria-current]:not([aria-current=false]), .fr-sidemenu__btn[aria-current]:not([aria-current=false]) {\n color: var(--text-active-blue-france);\n}\n.fr-sidemenu__link[aria-current]:not([aria-current=false])::before, .fr-sidemenu__btn[aria-current]:not([aria-current=false])::before {\n background-color: var(--border-active-blue-france);\n --idle: transparent;\n --hover: var(--border-active-blue-france-hover);\n --active: var(--border-active-blue-france-active);\n}\n.fr-sidemenu__btn[aria-expanded=true] {\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}","////\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/// Sidemenu Module : title\n/// @group sidemenu\n////\n\n#{ns(sidemenu)} {\n /**\n * Titre facultatif\n */\n @include title {\n @include padding(4v 0);\n @include text-style(lg);\n font-weight: font-weight(bold);\n\n @include margin(0 0 6v, md);\n @include padding(0, md);\n }\n}\n","////\n/// Sidemenu Module : list\n/// @group sidemenu\n////\n\n#{ns(sidemenu)} {\n @include list {\n font-weight: font-weight('bold');\n\n #{ns(sidemenu__list)} {\n @include margin(0 4v 4v);\n @include margin(0 4v 4v, md);\n font-weight: font-weight();\n\n #{ns(sidemenu__link)},\n #{ns(sidemenu__btn)} {\n @include text-style(md);\n font-weight: font-weight();\n }\n\n #{ns(sidemenu__list)} {\n #{ns(sidemenu__link)},\n #{ns(sidemenu__btn)} {\n @include text-style(sm);\n }\n }\n }\n\n @include margin(0, md);\n }\n\n @include list-item {\n @include relative;\n @include before('', block) {\n @include absolute(0, 0, 0, 0, 100%, 100%);\n pointer-events: none;\n\n @include respond-from(md) {\n content: none;\n }\n }\n\n & & & {\n @include before(none);\n }\n }\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","////\n/// Sidemenu Module : inner\n/// @group sidemenu\n////\n\n#{ns(sidemenu)} {\n &__inner {\n @include padding(0 6v 0 0, md);\n\n /**\n * Ce wrapper ne sert que pour la version mobile\n * On l'utilise pour l'ouverture/fermeture du sidemenu entier\n */\n > #{ns(collapse)} {\n @include margin(-1v 3v 0);\n @include padding(1v 3v 0);\n @include padding(0, md);\n @include margin(0, md);\n\n @include respond-from(md) {\n overflow: initial;\n max-height: none;\n\n @include before {\n display: none;\n }\n\n &:not(#{ns(collapse)}--expanded) {\n visibility: inherit;\n }\n }\n }\n }\n}\n","////\n/// Sidemenu Module : action\n/// @group sidemenu\n////\n\n@use 'module/selector';\n\n/**\n * Styles du bouton et du lien d'accès direct du sidemnu\n */\n#{ns(sidemenu__link)},\n#{ns(sidemenu__btn)} {\n @include relative;\n @include display-flex(row, center);\n @include size(100%);\n @include padding(3v 4v);\n @include margin(0, md);\n @include text-style(md);\n text-align: left;\n @include font-weight(bold);\n\n @include enable-tint;\n\n @include selector.current {\n @include before('') {\n @include absolute(3v, null, 3v, 0, 2px);\n }\n }\n\n @include size(100%, null, md);\n}\n\n#{ns(sidemenu__link)} {\n &:not([href]) {\n @include selector.current {\n pointer-events: none;\n cursor: default;\n }\n }\n}\n\n/**\n * Style du bouton du sidemnenu pour ouvrir/refermer les listes de niveaux 1 et 2\n * Bouton pour la version mobile pour ouvrir/refermer le sidemenu\n */\n#{ns(sidemenu__btn)} {\n &[aria-expanded] {\n @include display-flex(row, center);\n @include padding(3v 10v 3v 4v, md);\n\n @include icon(arrow-down-s-line, sm, after) {\n @include margin-left(auto);\n @include margin-right(0);\n transition: transform 0.3s;\n\n @include margin-right(-6v, md);\n }\n }\n\n &[aria-expanded=\"true\"] {\n @include after {\n transform: rotate(-180deg);\n }\n }\n}\n\n/**\n * Modificateur pour le bouton en version mobile permettant d'ouvrir/refermer le sidemenu\n * L'icône de gauche est défini dans _sidemenu.scss (provisoire)\n */\n// @TODO transformer en modifier\n#{ns(sidemenu__inner)} > #{ns(sidemenu__btn)} {\n @include size(100%);\n @include font-weight(medium);\n @include after {\n @include margin-right(4v);\n }\n\n /**\n * Ajout de l'icône de menu en mode mobile (provisoire)\n */\n @include icon(menu-2-fill, sm, before) {\n @include margin-x(2v);\n }\n\n @include respond-from(md) {\n display: none;\n }\n}\n","////\n/// Core Tool : Action Hover\n/// @group core\n////\n\n@mixin hover-media-query () {\n @media (hover: hover) and (pointer: fine) {\n @content;\n }\n}\n\n@mixin hover-type-selector($elements, $type: all, $check-disabled: false) {\n $selectors: ();\n\n @each $element, $setting in $elements {\n $hover: map-get($setting, hover);\n $selector: map-get($setting, selector);\n @if $hover {\n @if $type == map-get($hover, type) or $type == all {\n $nested: $selector;\n @if $check-disabled {\n $nested: nest($selector, map-get($hover, selector));\n }\n $associated: $nested;\n @if & != null and '#{&}' != ':root' {\n $associated: selector-associate('#{&}', $nested);\n }\n $selectors: append($selectors, $associated, 'comma');\n }\n }\n }\n\n @at-root #{$selectors} {\n @content;\n }\n}\n\n@mixin hover-tint () {\n &:hover {\n background-color: var(--hover-tint);\n }\n\n &:active {\n background-color: var(--active-tint);\n }\n}\n\n@mixin enable-tint () {\n @include tint-enabled(true, true);\n}\n\n@mixin disable-tint() {\n @include tint-enabled(false, false);\n}\n\n@mixin tint-enabled ($hover: null, $active: null) {\n @if $hover {\n --hover-tint: var(--hover);\n }\n @else if $hover == false {\n --hover-tint: var(--idle);\n }\n\n @if $active {\n --active-tint: var(--active);\n }\n @else if $active == false {\n --active-tint: var(--idle);\n }\n}\n\n@mixin hover-brighten ($element, $img) {\n @at-root #{$element} {\n &:hover {\n #{$img} {\n --brightness: calc(100% + var(--brighten) * #{$hover-brighten});\n }\n }\n\n &:active {\n #{$img} {\n --brightness: calc(100% + var(--brighten) * #{$hover-brighten * 2});\n }\n }\n }\n}\n\n@mixin hover-brighten-filter () {\n filter: brightness(var(--brightness));\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 : Typography font-weight\n/// @group core\n////\n\n/// Return font-weight value from font-weight map.\n///\n/// @param {String} $scale ['regular'] - Type scale value from `$weight-scale` (Default to 'regular' = 400)\n///\n/// @example scss - Set font-weight to bold (700)\n/// .foo {\n/// font-weight: font-weight('bold');\n/// }\n\n@function font-weight($scale: regular) {\n @return map-get($font-weight-scale, $scale);\n}\n\n@mixin font-weight($scale) {\n font-weight: font-weight($scale);\n}\n\n@mixin build-utillity-font-weight() {\n $fontWeightValues: map-get($font-weight-vars, values);\n @if $fontWeightValues == 'all' {\n $fontWeightValues: map-keys($font-weight-names);\n }\n @each $weight in $fontWeightValues {\n $name: map-get($font-weight-names, $weight);\n #{ns('text--' + $name)} {\n font-weight: #{$weight} !important;\n }\n }\n}\n","/// Ajout d'un sélecteur pour l'élément courant\n/// @access public\n\n@mixin current {\n &[aria-current]:not([aria-current=\"false\"]) {\n @content;\n }\n}\n\n@mixin not-current {\n &:not([aria-current]),\n &[aria-current=\"false\"] {\n @content;\n }\n}\n","////\n/// Core Tool : Icon default\n/// @group core\n////\n\n@use 'module/path';\n@use 'module/spacing';\n@use 'module/specificity';\n\n/// Return icon size from map\n/// @param {String} $size ['md'] - Icon size from `$icon-size-map` (Default to 'md' = 16px)\n///\n/// @example scss - Set icon size to `SM` (12px)\n/// .foo {\n/// width: icon-size(sm);\n/// height: icon-size(sm);\n/// }\n@function icon-size($size: md) {\n @return spacing.space(map-get($icon-size-map, $size));\n}\n\n@function get-icon-url($icon, $important: false) {\n $config: map-get($icons-config, $icon);\n $url: url('#{path.dist()}#{map-get($config, path)}');\n @return specificity.important($url, $important);\n}\n\n@function get-icon-pseudo($restrain) {\n @if $restrain == before or $restrain == after {\n @return $restrain;\n }\n @return before after;\n}\n\n@mixin _icon-pseudo ($restrain: null) {\n @include _pseudo(get-icon-pseudo($restrain)) {\n @content;\n }\n}\n\n@mixin icon-size ($size:md, $restrain: null) {\n @include _icon-pseudo($restrain) {\n --icon-size: #{icon-size($size)};\n @content;\n }\n}\n\n@mixin icon-image ($icon, $restrain: null, $important: false) {\n $url: get-icon-url($icon, $important);\n\n @include _icon-pseudo($restrain) {\n @include mask-image($url);\n }\n}\n\n@mixin icon-style($restrain: null) {\n @include _icon-pseudo($restrain) {\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 @include size(var(--icon-size), var(--icon-size));\n @include mask-image-size(100% 100%);\n @content;\n }\n}\n\n@mixin icon-content($is-before: true, $override: false) {\n $pseudos: before after;\n @if not $is-before {\n $pseudos: after before;\n }\n @include _pseudo(nth($pseudos, 1), '') {\n @content;\n }\n @if $override {\n @include _pseudo(nth($pseudos, 2), none);\n }\n}\n\n@mixin icon($icon: null, $size: md, $restrain: null, $styling: true, $is-before: $restrain != after, $override: false) {\n @if $styling {\n @include icon-style($restrain);\n }\n\n @if $icon != null {\n @include icon-image($icon, $restrain);\n }\n\n @if $size != null {\n @include icon-size($size, $restrain);\n }\n\n @if $is-before != null {\n @include icon-content($is-before, $override) {\n @content;\n }\n }\n}\n\n@function filter-icons($category, $config: $icons-config) {\n $filtered: ();\n @each $icon, $setting in $config {\n @if map-get($setting, category) == $category {\n $filtered: map-merge($filtered, (#{$icon}: $setting));\n }\n }\n @return $filtered;\n}\n\n@mixin generate-icons($config: $icons-config) {\n @each $icon, $setting in $config {\n #{ns(icon-#{$icon})} {\n @include icon-image($icon);\n }\n }\n}\n","////\n/// Core Tool : mask-image\n/// @group core\n////\n\n@mixin mask-image($value) {\n -webkit-mask-image: $value;\n mask-image: $value;\n}\n\n@mixin mask-image-size($value) {\n -webkit-mask-size: $value;\n mask-size: $value;\n}\n\n@mixin mask-image-position($value) {\n -webkit-mask-position: $value;\n mask-position: $value;\n}\n\n@mixin mask-image-repeat($value) {\n -webkit-mask-repeat: $value;\n mask-repeat: $value;\n}\n","////\n/// Sidemenu Scheme\n/// @group sidemenu\n////\n\n@use 'module/color';\n@use 'module/elevation';\n@use 'module/media-query';\n@use 'module/selector';\n\n@mixin _sidemenu-scheme($legacy: false) {\n #{ns(sidemenu)} {\n @include color.box-shadow(default grey, (legacy:$legacy), bottom-1-in top-1-in);\n @include media-query.respond-from(md) {\n @include color.no-box-shadow((legacy: $legacy));\n }\n\n /*\n @include elevation.elevate(raised, (legacy:$legacy));\n @include respond-from(md) {\n @include elevation.drop((legacy:$legacy));\n }\n */\n\n @include title {\n @include color.text(title grey, (legacy:$legacy));\n @include color.box-shadow(default grey, (legacy:$legacy), bottom-1-in);\n @include color.no-box-shadow((breakpoint: md, legacy: $legacy));\n }\n\n @include list-item {\n #{ns(sidemenu__link)},\n #{ns(sidemenu__btn)} {\n @include color.text(action-high grey, (legacy: $legacy));\n }\n\n @include before {\n @include color.box-shadow(default grey, (legacy:$legacy), top-1-out bottom-1-in);\n }\n\n &:first-child {\n @include before {\n @include color.box-shadow(default grey, (legacy:$legacy), bottom-1-in);\n }\n }\n\n &:last-child {\n @include before {\n @include color.box-shadow(default grey, (legacy:$legacy), top-1-out);\n }\n }\n }\n\n &__inner {\n @include media-query.respond-from(md) {\n @include color.box-shadow(default grey, (legacy:$legacy), right-1-in);\n }\n }\n\n @include media-query.respond-from(md) {\n &--right {\n #{ns(sidemenu__inner)} {\n @include color.box-shadow(default grey, (legacy:$legacy), left-1-in);\n }\n }\n }\n\n &__link,\n &__btn {\n @include color.text(action-high blue-france, (legacy:$legacy));\n\n @include selector.current {\n @include color.text(active blue-france, (legacy:$legacy));\n @include before {\n @include color.background(border active blue-france, (legacy:$legacy));\n }\n }\n }\n\n &__btn {\n &[aria-expanded='true'] {\n @include color.background(open blue-france, (legacy: $legacy));\n }\n }\n }\n}\n","@use '../variable/breakpoints';\n\n/// Set media query styles\n///\n/// @param {String} $media [md] - Layout size `['xs', 'sm', 'md', 'lg', 'xl']`\n///\n/// @example scss -\n/// .foo {\n/// @include respond-from(md) {\n/// }\n/// }\n@mixin respond-from($media) {\n $limits: map_get(breakpoints.$values, $media);\n\n @if $limits != null {\n @media (min-width: nth($limits, 1)) {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n","@use 'module/media-query/variable/breakpoints';\n@use 'module/media-query';\n\n@mixin order () {\n @each $bp, $limits in breakpoints.$values {\n @if $bp != xs {\n @include media-query.respond-from($bp) {\n /*! media #{$bp} */\n }\n }\n }\n}\n","////\n/// Sidemenu Module : variants\n/// @group sidemenu\n////\n\n#{ns(sidemenu)} {\n /**\n * Variantes du sidemenu proposées juste à partir du breakpoint md\n */\n @include respond-from(md) {\n /**\n * Modificateur pour que le sidemenu s'adapte à un affichage à droite du contenu\n * La bordure se met sur la gauche\n */\n &--right {\n @include padding-left(8v);\n @include padding-right(0);\n\n #{ns(sidemenu__inner)} {\n @include padding(0 4v 0 8v);\n border-right: 0;\n }\n }\n\n /**\n * Modificateur pour que le sidemenu soit sticky\n */\n &--sticky {\n @include sticky(0);\n\n #{ns(sidemenu__inner)} {\n @include padding-top(2v);\n overflow: auto;\n max-height: 100vh;\n }\n }\n\n /**\n * Modificateur pour que le sidemenu soit à la fois sticky et prenne toute la hauteur de la page\n */\n &--sticky-full-height {\n @include sticky(0, null, null, null, null, 100vh);\n\n #{ns(sidemenu__inner)} {\n @include padding-top(2v);\n overflow: auto;\n @include size(null, 100%);\n }\n }\n }\n}\n"]} |