1 line
No EOL
55 KiB
Text
1 line
No EOL
55 KiB
Text
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/tile/style/module/_default.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/display/tool/_display.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%20_UdhW6%3E","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_hover.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_default.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_block.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_z-index.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_mask-image.scss","file:///Users/ket/Documents/work/dsfr/src/component/tile/style/module/_sm.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_nest.scss","file:///Users/ket/Documents/work/dsfr/src/component/link/style/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/component/tile/style/module/_variations.scss","file:///Users/ket/Documents/work/dsfr/src/component/tile/style/_tool.scss","file:///Users/ket/Documents/work/dsfr/src/component/tile/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/elevation/mixin/_shadow.scss","file:///Users/ket/Documents/work/dsfr/module/elevation/mixin/_z-index.scss","file:///Users/ket/Documents/work/dsfr/module/disabled/mixin/_selector.scss","file:///Users/ket/Documents/work/dsfr/src/component/tile/deprecated/style/_module.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/_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ACA,iBZ8PA,CY3PA,wCd5BI,kBAXA,CAWA,wBE2RJ,CY1PA,2CXDI,WAAA,CAHA,UDkQJ,CY1PA,yCACE,kBZ4PF,CYzPA,wCdzCI,iBEqSJ,CYvPE,gFd9CE,qBEwSJ,CYtPE,+EdlDE,eAXA,CAWA,eE4SJ,CA7TF,CkBGI;ECRI,cAAA,CnBQR","file":"tile.main.min.css","sourcesContent":[null,"////\n/// Tile Module : default\n/// @group tile\n////\n\n@use 'module/spacing';\n\n#{ns(tile)} {\n @include relative;\n @include display-flex(column);\n @include set-text-margin(0);\n @include set-title-margin(0 0 1v);\n background-size: 100% 1px, 1px 100%, 1px 100%, 100% 1px;\n background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;\n background-position: 0 100%, 0 0, 100% 0, 100% 0;\n @include padding(8v 8v 9v);\n text-align: center;\n\n #{ns(grid-row)} & {\n @include size(null, 100%);\n }\n\n @include hover-brighten(#{&}#{ns(enlarge-link)}, #{&}__pictogram);\n\n &__header {\n order: 1;\n @include margin-bottom(4v);\n }\n\n &__pictogram {\n @include display-flex(null, center, center);\n flex-shrink: 0;\n @include size(20v, 20v);\n @include margin(0 auto);\n overflow: hidden;\n\n > svg {\n @include size(100%, 100%);\n }\n }\n\n &__content {\n @include display-flex(column, center);\n @include height(100%);\n }\n\n &__body {\n @include height(100%);\n order: 2;\n flex: 1 1 auto;\n }\n\n &#{ns(enlarge-link)} {\n #{ns(tile)}__title {\n a {\n @include icon-size(md) {\n @include absolute(null, 8v, 9v);\n }\n }\n }\n }\n\n &--no-icon,\n &:not(#{ns(enlarge-link)}):not(#{ns(tile--download)}) {\n #{ns(tile__title a)} {\n &:not([target=\"_blank\"]) {\n @include after(none);\n }\n }\n }\n\n @include title {\n @include title-style(h6);\n @include margin-bottom(2v);\n order: 2;\n\n @include before('', block) {\n @include absolute(0, 0, 0, 0, 100%, 100%);\n @include z-index(over);\n pointer-events: none;\n background-position: 0 100%;\n background-size: 100% spacing.space(1v);\n background-repeat: no-repeat;\n }\n\n a {\n @include before {\n background-position: 0 100%;\n background-size: 100% spacing.space(1v);\n background-repeat: no-repeat;\n }\n\n @include icon(arrow-right-line, sm, after) {\n @include margin-left(2v);\n }\n }\n\n @include target-blank {\n @include icon(external-link-line, sm, after);\n }\n }\n\n &__desc {\n @include text-style(md);\n flex: 1 1 auto;\n order: 3;\n }\n\n &__start {\n order: 1;\n @include margin-bottom(3v);\n\n #{ns(badges-group)},\n #{ns(tags-group)} {\n @include margin-bottom(-2v);\n }\n }\n\n &__detail {\n @include text-style(xs);\n @include display-flex(row, flex-start);\n @include margin-bottom(0);\n @include margin-top(3v);\n order: 4;\n\n @include has-icon {\n @include icon-size(sm, before) {\n @include margin-right(2v);\n }\n }\n }\n\n &#{ns(enlarge-link)}:not(&--no-icon) &__content {\n @include padding-bottom(10v);\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 : 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 '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 TILE\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-tile {\n position: relative;\n display: flex;\n flex-direction: column;\n --text-spacing: 0;\n --title-spacing: 0 0 0.25rem;\n background-size: 100% 1px, 1px 100%, 1px 100%, 100% 1px;\n background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;\n background-position: 0 100%, 0 0, 100% 0, 100% 0;\n padding: 2rem 2rem 2.25rem;\n text-align: center;\n}\n.fr-grid-row .fr-tile {\n height: 100%;\n}\n.fr-tile.fr-enlarge-link:hover .fr-tile__pictogram {\n --brightness: calc(100% + var(--brighten) * 10%);\n}\n.fr-tile.fr-enlarge-link:active .fr-tile__pictogram {\n --brightness: calc(100% + var(--brighten) * 20%);\n}\n\n.fr-tile__header {\n order: 1;\n margin-bottom: 1rem;\n}\n.fr-tile__pictogram {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 5rem;\n height: 5rem;\n margin: 0 auto;\n overflow: hidden;\n}\n.fr-tile__pictogram > svg {\n width: 100%;\n height: 100%;\n}\n.fr-tile__content {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n}\n.fr-tile__body {\n height: 100%;\n order: 2;\n flex: 1 1 auto;\n}\n.fr-tile.fr-enlarge-link .fr-tile__title a::before, .fr-tile.fr-enlarge-link .fr-tile__title a::after {\n --icon-size: 1.5rem;\n position: absolute;\n right: 2rem;\n bottom: 2.25rem;\n}\n.fr-tile--no-icon .fr-tile__title a:not([target=_blank])::after, .fr-tile:not(.fr-enlarge-link):not(.fr-tile--download) .fr-tile__title a:not([target=_blank])::after {\n content: none;\n}\n.fr-tile__title {\n font-weight: 700;\n font-size: 1.125rem;\n line-height: 1.5rem;\n margin-bottom: 0.5rem;\n order: 2;\n}\n@media (min-width: 48em) {\n .fr-tile__title {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n}\n.fr-tile__title::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 z-index: 1;\n pointer-events: none;\n background-position: 0 100%;\n background-size: 100% 0.25rem;\n background-repeat: no-repeat;\n}\n.fr-tile__title a::before {\n background-position: 0 100%;\n background-size: 100% 0.25rem;\n background-repeat: no-repeat;\n}\n.fr-tile__title a::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-tile__title a::after {\n -webkit-mask-image: url(\"../../icons/system/arrow-right-line.svg\");\n mask-image: url(\"../../icons/system/arrow-right-line.svg\");\n}\n.fr-tile__title a::after {\n --icon-size: 1rem;\n}\n.fr-tile__title a::after {\n content: \"\";\n margin-left: 0.5rem;\n}\n.fr-tile__title [target=_blank]::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-tile__title [target=_blank]::after {\n -webkit-mask-image: url(\"../../icons/system/external-link-line.svg\");\n mask-image: url(\"../../icons/system/external-link-line.svg\");\n}\n.fr-tile__title [target=_blank]::after {\n --icon-size: 1rem;\n}\n.fr-tile__title [target=_blank]::after {\n content: \"\";\n}\n.fr-tile__desc {\n font-size: 1rem;\n line-height: 1.5rem;\n flex: 1 1 auto;\n order: 3;\n}\n.fr-tile__start {\n order: 1;\n margin-bottom: 0.75rem;\n}\n.fr-tile__start .fr-badges-group,\n.fr-tile__start .fr-tags-group {\n margin-bottom: -0.5rem;\n}\n.fr-tile__detail {\n font-size: 0.75rem;\n line-height: 1.25rem;\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n margin-bottom: 0;\n margin-top: 0.75rem;\n order: 4;\n}\n.fr-tile__detail[class^=fr-icon-]::before, .fr-tile__detail[class*=\" fr-icon-\"]::before, .fr-tile__detail[class^=fr-fi-]::before, .fr-tile__detail[class*=\" fr-fi-\"]::before {\n --icon-size: 1rem;\n margin-right: 0.5rem;\n}\n\n.fr-tile.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__content {\n padding-bottom: 2.5rem;\n}\n\n.fr-tile--sm {\n padding: 1.5rem 1.5rem 1.75rem;\n}\n.fr-tile--sm .fr-badge {\n font-size: 0.75rem;\n line-height: 1.25rem;\n min-height: 1.125rem;\n padding: 0 0.375rem;\n}\n.fr-tile--sm .fr-badge::before, .fr-tile--sm .fr-badge::after {\n --icon-size: 0.75rem;\n}\n.fr-tile--sm .fr-tag {\n font-size: 0.75rem;\n line-height: 1.25rem;\n min-height: 1.5rem;\n padding: 0.125rem 0.5rem;\n border-radius: 0.75rem;\n}\n.fr-tile--sm .fr-tag::before, .fr-tile--sm .fr-tag::after {\n --icon-size: 0.75rem;\n}\n.fr-tile--sm .fr-tile__title {\n font-size: 1rem;\n line-height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.fr-tile--sm .fr-tile__title a::after {\n --icon-size: 1rem;\n}\n.fr-tile--sm .fr-tile__desc {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n.fr-tile--sm .fr-tile__start {\n margin-bottom: 0.5rem;\n}\n.fr-tile--sm .fr-tile__pictogram {\n width: 3.5rem;\n height: 3.5rem;\n}\n.fr-tile--sm.fr-tile--horizontal .fr-tile__header {\n margin-right: 1.5rem;\n}\n.fr-tile--sm.fr-tile--horizontal .fr-tile__pictogram {\n width: 2.5rem;\n height: 2.5rem;\n}\n.fr-tile--sm.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__title a::after {\n --icon-size: 1rem;\n position: absolute;\n right: 1.5rem;\n bottom: 1.75rem;\n}\n.fr-tile--sm.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__content {\n padding-bottom: 2rem;\n}\n\n.fr-tile--horizontal, .fr-tile--download {\n flex-direction: row;\n align-items: flex-start;\n justify-content: center;\n text-align: left;\n}\n.fr-tile--horizontal .fr-tile__header, .fr-tile--download .fr-tile__header {\n margin-right: 2rem;\n margin-bottom: 0;\n}\n.fr-tile--horizontal .fr-tile__pictogram, .fr-tile--download .fr-tile__pictogram {\n width: 4rem;\n height: 4rem;\n}\n.fr-tile--horizontal .fr-tile__content, .fr-tile--download .fr-tile__content {\n align-items: flex-start;\n}\n.fr-tile--horizontal:not(.fr-tile--no-icon) .fr-tile__detail, .fr-tile--download:not(.fr-tile--no-icon) .fr-tile__detail {\n padding-right: 2rem;\n margin-bottom: -2.5rem;\n margin-top: 1.25rem;\n}\n.fr-tile--horizontal:not(.fr-tile--no-icon) .fr-tile__content, .fr-tile--download:not(.fr-tile--no-icon) .fr-tile__content {\n padding-bottom: 2.5rem;\n}\n.fr-tile--horizontal:not(.fr-tile--no-icon).fr-tile--sm .fr-tile__detail, .fr-tile--download:not(.fr-tile--no-icon).fr-tile--sm .fr-tile__detail {\n padding-right: 2rem;\n margin-bottom: -2rem;\n margin-top: 0.75rem;\n}\n.fr-tile--horizontal:not(.fr-tile--no-icon).fr-tile--sm .fr-tile__content, .fr-tile--download:not(.fr-tile--no-icon).fr-tile--sm .fr-tile__content {\n padding-bottom: 2rem;\n}\n@media (min-width: 48em) {\n .fr-tile--vertical\\@md {\n flex-direction: column;\n text-align: center;\n align-items: center;\n }\n .fr-tile--vertical\\@md .fr-tile__header {\n margin-bottom: 1rem;\n margin-right: 0 !important;\n }\n .fr-tile--vertical\\@md .fr-tile__pictogram {\n width: 5rem;\n height: 5rem;\n }\n .fr-tile--vertical\\@md .fr-tile__content {\n align-items: center;\n }\n .fr-tile--vertical\\@md .fr-tile__detail {\n margin-top: 0.75rem;\n }\n .fr-tile--vertical\\@md.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__content {\n padding-bottom: 2.5rem;\n }\n .fr-tile--vertical\\@md.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__detail {\n margin-bottom: 0;\n padding-right: 0;\n }\n}\n@media (min-width: 62em) {\n .fr-tile--vertical\\@lg {\n flex-direction: column;\n text-align: center;\n align-items: center;\n }\n .fr-tile--vertical\\@lg .fr-tile__header {\n margin-bottom: 1rem;\n margin-right: 0 !important;\n }\n .fr-tile--vertical\\@lg .fr-tile__pictogram {\n width: 5rem;\n height: 5rem;\n }\n .fr-tile--vertical\\@lg .fr-tile__content {\n align-items: center;\n }\n .fr-tile--vertical\\@lg .fr-tile__detail {\n margin-top: 0.75rem;\n }\n .fr-tile--vertical\\@lg.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__content {\n padding-bottom: 2.5rem;\n }\n .fr-tile--vertical\\@lg.fr-enlarge-link:not(.fr-tile--no-icon) .fr-tile__detail {\n margin-bottom: 0;\n padding-right: 0;\n }\n}\n\n.fr-tile.fr-tile--download .fr-tile__title a::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-tile.fr-tile--download .fr-tile__title a::after {\n -webkit-mask-image: url(\"../../icons/system/download-line.svg\");\n mask-image: url(\"../../icons/system/download-line.svg\");\n}\n.fr-tile.fr-tile--download .fr-tile__title a::after {\n content: \"\";\n}\n\n.fr-tile {\n background-color: var(--background-default-grey);\n --idle: transparent;\n --hover: var(--background-default-grey-hover);\n --active: var(--background-default-grey-active);\n}\n.fr-tile:not(.fr-tile--no-border):not(.fr-tile--shadow) {\n background-image: linear-gradient(0deg, var(--border-default-grey), var(--border-default-grey)), linear-gradient(0deg, var(--border-default-grey), var(--border-default-grey)), linear-gradient(0deg, var(--border-default-grey), var(--border-default-grey)), linear-gradient(0deg, var(--border-default-grey), var(--border-default-grey));\n}\n.fr-tile--grey {\n background-color: var(--background-contrast-grey);\n --idle: transparent;\n --hover: var(--background-contrast-grey-hover);\n --active: var(--background-contrast-grey-active);\n}\n.fr-tile--shadow {\n z-index: calc(var(--ground) + 500);\n background-color: var(--background-raised-grey);\n --idle: transparent;\n --hover: var(--background-raised-grey-hover);\n --active: var(--background-raised-grey-active);\n filter: drop-shadow(var(--raised-shadow));\n}\n.fr-tile--shadow.fr-tile--grey {\n background-color: var(--background-contrast-raised-grey);\n --idle: transparent;\n --hover: var(--background-contrast-raised-grey-hover);\n --active: var(--background-contrast-raised-grey-active);\n}\n.fr-tile--no-background {\n background-color: transparent;\n --hover: inherit;\n --active: inherit;\n}\n.fr-tile__title {\n color: var(--text-title-grey);\n}\n.fr-tile__title:disabled, a.fr-tile__title:not([href]) {\n color: var(--text-disabled-grey);\n background-color: var(--background-disabled-grey);\n --idle: transparent;\n --hover: var(--background-disabled-grey-hover);\n --active: var(--background-disabled-grey-active);\n}\n\n.fr-tile__title::before {\n background-image: linear-gradient(0deg, var(--border-plain-grey), var(--border-plain-grey));\n}\n.fr-tile__title a {\n color: var(--text-action-high-blue-france);\n}\n.fr-tile__title a::before {\n background-image: linear-gradient(0deg, var(--border-active-blue-france), var(--border-active-blue-france));\n}\n.fr-tile__title a:not([href]) {\n color: var(--text-disabled-grey);\n}\n.fr-tile__title a:not([href])::before {\n background-image: linear-gradient(0deg, var(--border-disabled-grey), var(--border-disabled-grey));\n}\n\n.fr-tile__img {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 5rem;\n height: 5rem;\n margin: 0 auto 1.5rem;\n overflow: hidden;\n filter: brightness(var(--brightness));\n}\n.fr-tile__img > svg {\n width: 100%;\n height: 100%;\n}\n.fr-tile__body > .fr-tile__desc {\n padding-bottom: 2.5rem;\n}\n.fr-tile--horizontal .fr-tile__img {\n width: 3rem;\n height: 3rem;\n margin: 0 1.5rem 0 0;\n}\n@media (min-width: 48em) {\n .fr-tile--horizontal .fr-tile__img {\n width: 5rem;\n height: 5rem;\n }\n}\n@media (min-width: 48em) {\n .fr-tile--horizontal .fr-tile__img {\n margin: 0 2rem 0 0;\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/// 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 : 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 : 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 : 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 : Spacing z-index\n/// @group core\n////\n\n/// Fonction de gestion des z-index\n/// @access public\n/// @param {String} $index-name - nom du calque de z-index\n@function z-index($index-name) {\n @return map-get($z-indexes, $index-name);\n}\n\n/// Mixin de gestion des z-index\n/// @access public\n/// @param {String} $index-name - nom du calque de z-index\n@mixin z-index($index-name) {\n z-index: z-index($index-name);\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/// Tile Module : sm\n/// @group tile\n////\n\n#{ns(tile--sm)} {\n @include padding(6v 6v 7v);\n @include nest-badge(sm);\n @include nest-tag(sm);\n\n #{ns(tile)} {\n &__title {\n @include text-style(md);\n @include margin-bottom(1v);\n\n a {\n @include icon-size(sm, after);\n }\n }\n\n &__desc {\n @include text-style(sm);\n }\n\n &__start {\n @include margin-bottom(2v);\n }\n\n &__pictogram {\n @include size(14v, 14v);\n }\n }\n\n &#{ns(tile--horizontal)} {\n #{ns(tile)} {\n &__header {\n @include margin-right(6v);\n }\n\n &__pictogram {\n @include size(10v, 10v);\n }\n }\n }\n\n &#{ns(enlarge-link)}:not(#{ns(tile--no-icon)}) {\n #{ns(tile__title)} a {\n @include icon-size(sm, after) {\n @include absolute(null, 6v, 7v);\n }\n }\n\n #{ns(tile__content)} {\n @include padding-bottom(8v);\n }\n }\n}\n","////\n/// Core Tool : Selector nest\n/// @group core\n////\n\n@mixin nest($selector: null) {\n @if $selector {\n #{$selector} {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n","////\n/// Link Tool : sizes\n/// @group link\n////\n\n@use \"sass:math\";\n@use 'module/spacing';\n\n@mixin _build-link-size($size-settings, $border-radius: false) {\n $font-size: map_get($size-settings, font-size);\n $style: get-text-style($font-size);\n $line-height: spacing.space(map_get($style, line-height));\n font-size: spacing.space($font-size);\n line-height: $line-height;\n\n $min-height: spacing.space(map_get($size-settings, min-height));\n @if $min-height > 0 {\n min-height: $min-height;\n }\n\n $max-icon-height: icon-size(md);\n\n @if map_has_key($size-settings, icon-only) {\n $max-icon-height: icon-size(map_get($size-settings, icon-only));\n }\n @else if map_has_key($size-settings, icon) {\n $max-icon-height: icon-size(map_get($size-settings, icon));\n }\n\n $space-y: math.max($line-height, $max-icon-height);\n $padding-x: spacing.space(map_get($size-settings, padding-x));\n $padding-y: math.max(($min-height - $space-y) * 0.5, 0);\n\n padding: #{$padding-y} #{$padding-x};\n\n @if $border-radius {\n border-radius: #{$min-height * 0.5};\n }\n}\n\n@function _link-icon-margin($size) {\n @return math.div(icon-size($size), 8);\n}\n\n@mixin _link-align-on-content($size, $place, $size-settings) {\n $padding-x: spacing.space(map_get($size-settings, padding-x));\n $icon-margin: _link-icon-margin(map_get($size-settings, icon));\n\n @if $place == null {\n margin-left: -($padding-x);\n margin-right: -($padding-x);\n }\n @else if $place == left {\n margin-left: -($padding-x - $icon-margin);\n margin-right: -($padding-x);\n }\n @else if $place == right {\n margin-left: -($padding-x);\n margin-right: -($padding-x - $icon-margin);\n }\n @else if $place == only {\n $icon-size: icon-size(map_get($size-settings, icon-only));\n $min-height: spacing.space(map_get($size-settings, min-height));\n $padding-x: ($min-height - $icon-size) * 0.5;\n\n margin-left: -($padding-x);\n margin-right: -($padding-x);\n }\n}\n","////\n/// Tile module : Variations\n/// @group Tile\n////\n\n@use 'module/spacing';\n@use 'module/media-query';\n\n#{ns(tile)} {\n &--horizontal,\n &--download {\n @include build-tile-horizontal();\n }\n\n &--vertical\\@md {\n @include media-query.respond-from(md) {\n @include build-tile-vertical();\n }\n }\n\n &--vertical\\@lg {\n @include media-query.respond-from(lg) {\n @include build-tile-vertical();\n }\n }\n}\n","////\n/// Tag Tool\n/// @group tag\n////\n\n@use 'module/color';\n@use 'module/spacing';\n\n@mixin build-tile-horizontal() {\n flex-direction: row;\n align-items: flex-start;\n justify-content: center;\n text-align: left;\n\n #{ns(tile__header)} {\n @include margin-right(8v);\n @include margin-bottom(0);\n }\n\n #{ns(tile__pictogram)} {\n @include size(16v, 16v);\n }\n\n #{ns(tile__content)} {\n align-items: flex-start;\n }\n\n &:not(#{ns(tile--no-icon)}) {\n #{ns(tile__detail)} {\n @include padding-right(8v);\n @include margin-bottom(-10v);\n @include margin-top(5v);\n }\n\n #{ns(tile__content)} {\n @include padding-bottom(10v);\n }\n\n &#{ns(tile--sm)} {\n #{ns(tile__detail)} {\n @include padding-right(8v);\n @include margin-bottom(-8v);\n @include margin-top(3v);\n }\n\n #{ns(tile__content)} {\n @include padding-bottom(8v);\n }\n }\n }\n}\n\n@mixin build-tile-vertical() {\n flex-direction: column;\n text-align: center;\n align-items: center;\n\n #{ns(tile__header)} {\n @include margin-bottom(4v);\n @include margin-right(0 !important);\n }\n\n #{ns(tile__pictogram)} {\n @include size(20v, 20v);\n }\n\n #{ns(tile__content)} {\n align-items: center;\n }\n\n #{ns(tile__detail)} {\n @include margin-top(3v);\n }\n\n &#{ns(enlarge-link)}:not(#{ns(tile--no-icon)}) {\n #{ns(tile__content)} {\n @include padding-bottom(10v);\n }\n\n #{ns(tile__detail)} {\n @include margin-bottom(0);\n @include padding-right(0);\n }\n }\n}\n","////\n/// Tile Module\n/// @group tile\n////\n\n@use 'module/color';\n@use 'module/elevation';\n@use 'module/disabled';\n\n@mixin _tile-scheme($legacy: false) {\n #{ns(tile)} {\n @include color.background(default grey, (legacy: $legacy));\n\n &:not(&--no-border):not(&--shadow) {\n @include color.background-image((border default grey) (border default grey) (border default grey) (border default grey), (legacy: $legacy));\n }\n\n &--grey {\n @include color.background(contrast grey, (legacy:$legacy));\n }\n\n &--shadow {\n @include elevation.elevate(raised, (legacy: $legacy));\n }\n\n &--shadow#{&}--grey {\n @include color.background(contrast-raised grey, (legacy:$legacy));\n }\n\n &--no-background {\n @include color.transparent-background((legacy:$legacy, hover: true));\n }\n\n &__title {\n @include color.text(title grey, (legacy: $legacy));\n @include disabled.selector((can-be-link: true), (legacy: $legacy, text: true, background: true));\n\n @include before {\n @include color.background-image((border plain grey), (legacy: $legacy));\n }\n\n a {\n @include color.text(action-high blue-france, (legacy: $legacy));\n\n @include before {\n @include color.background-image((border active blue-france), (legacy: $legacy));\n }\n\n &:not([href]) {\n @include disabled.colors((legacy: $legacy, text: true));\n\n @include before {\n @include color.background-image((border disabled grey), (legacy: $legacy));\n }\n }\n }\n }\n }\n}\n","@use 'sass:map';\n@use 'module/elevation/variable/shadows';\n\n@mixin shadow($layer) {\n @if map.has-key(shadows.$values, $layer) {\n filter: drop-shadow(var(--#{$layer}-shadow));\n }\n}\n","@use 'sass:map';\n@use 'module/elevation/variable/z-indexes';\n@use 'module/legacy';\n\n@mixin z-index($level, $legacy: false) {\n @if map.has-key(z-indexes.$values, $level) {\n $z-index: map.get(z-indexes.$values, $level);\n @if $legacy {\n @include legacy.is(ie11) {\n z-index: #{$z-index};\n }\n }\n @else {\n z-index: calc(var(--ground) + #{$z-index});\n }\n }\n}\n","@use 'sass:list';\n@use 'sass:map';\n@use 'colors';\n@use 'module/selector';\n\n/// Applique les couleurs disabled sur l'élément avec les sélecteurs appropriés\n/// @access public\n/// @param {map} map des options :\n/// - can-be-link {boolean}: ajoute le sélecteur de lien sans href.\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - background {boolean}: true, applique le token background disabled sur la couleur de fond\n/// - text {boolean}: true, applique le token text disabled sur la couleur de texte\n/// - box-shadow {}: si true, applique le token border disabled sur l'élément avec la box-shadow par défaut (encadré de 1 px). si une valeur de box-shadow est fournie, applique cette valeur (voir get-box-shadow)\n@mixin selector($options: (), $colors: null) {\n $selectors: '&:disabled';\n @if map.get($options, can-be-link) {\n $selectors: list.append($selectors, selector.associate(&, 'a:not([href])'), comma);\n }\n\n @at-root #{$selectors} {\n @if $colors != null {\n @include colors.colors($colors);\n }\n @content;\n }\n}\n","@use 'module/spacing';\n\n#{ns(tile)} {\n &__img {\n @include display-flex(null, center, center);\n flex-shrink: 0;\n @include size(20v, 20v);\n @include margin(0 auto 6v);\n overflow: hidden;\n @include hover-brighten-filter;\n\n > svg {\n @include size(100%, 100%);\n }\n }\n\n &__body > &__desc {\n @include padding-bottom(10v);\n }\n\n &--horizontal {\n #{ns(tile__img)} {\n @include size(12v, 12v);\n @include margin(0 6v 0 0);\n\n @include size(20v, 20v, md);\n @include margin(0 8v 0 0, md);\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"]} |