1 line
No EOL
15 KiB
Text
1 line
No EOL
15 KiB
Text
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/display/tool/_mask-image.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_default.scss","%3Cinput%20css%201T5f5k%3E","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/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_legacy.scss"],"names":[],"mappings":"AAAA;;GAAA,ACgBE,6DCVA,iEC0CM,CDzCN,yDEYF,CHHE,6DCVA,iEC0CM,CDzCN,yDEiBF,CHRE,mDCVA,4DC0CM,CDzCN,oDEsBF,CHbE,mDCVA,4DC0CM,CDzCN,oDE2BF,CHlBE,mDCVA,4DC0CM,CDzCN,oDEgCF,CHvBE,uECVA,sEC0CM,CDzCN,8DEqCF,CH5BE,uECVA,sEC0CM,CDzCN,8DE0CF,CHjCE,6ECVA,yEC0CM,CDzCN,iEE+CF,CHtCE,6ECVA,yEC0CM,CDzCN,iEEoDF,CH3CE,uECVA,sEC0CM,CDzCN,8DEyDF,CHhDE,uECVA,sEC0CM,CDzCN,8DE8DF,CHrDE,mECVA,oEC0CM,CDzCN,4DEmEF,CH1DE,mECVA,oEC0CM,CDzCN,4DEwEF,CH/DE,yECVA,uEC0CM,CDzCN,+DE6EF,CHpEE,yECVA,uEC0CM,CDzCN,+DEkFF,CHzEE,uDCVA,8DC0CM,CDzCN,sDEuFF,CH9EE,uDCVA,8DC0CM,CDzCN,sDE4FF,CCpFI;ECRI,cAAA;EAAA,cAAA,CFDR,CCSI;ECRI,cAAA;EAAA,cAAA,CFER,CCMI;ECRI,cAAA;EAAA,cAAA,CFKR,CCGI;ECRI,cAAA;EAAA,cAAA,CFQR,CGNI,2DNOF,6DOAE,+DJoGF,CHpGA,6DOAE,+DJuGF,CHvGA,mDOAE,0DJ0GF,CH1GA,mDOAE,0DJ6GF,CH7GA,mDOAE,0DJgHF,CHhHA,uEOAE,oEJmHF,CHnHA,uEOAE,oEJsHF,CHtHA,6EOAE,uEJyHF,CHzHA,6EOAE,uEJ4HF,CH5HA,uEOAE,oEJ+HF,CH/HA,uEOAE,oEJkIF,CHlIA,mEOAE,kEJqIF,CHrIA,mEOAE,kEJwIF,CHxIA,yEOAE,qEJ2IF,CH3IA,yEOAE,qEJ8IF,CH9IA,uDOAE,4DJiJF,CHjJA,uDOAE,4DJoJF,CACF","file":"icons-finance.min.css","sourcesContent":[null,"////\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 : 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/// 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","@charset \"UTF-8\";\n/* ¯¯¯¯¯¯¯¯¯ *\\\n ICON COMMUNICATION\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-icon-bank-card-fill::before, .fr-icon-bank-card-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/bank-card-fill.svg\");\n mask-image: url(\"../../../icons/finance/bank-card-fill.svg\");\n}\n\n.fr-icon-bank-card-line::before, .fr-icon-bank-card-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/bank-card-line.svg\");\n mask-image: url(\"../../../icons/finance/bank-card-line.svg\");\n}\n\n.fr-icon-coin-fill::before, .fr-icon-coin-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/coin-fill.svg\");\n mask-image: url(\"../../../icons/finance/coin-fill.svg\");\n}\n\n.fr-icon-gift-fill::before, .fr-icon-gift-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/gift-fill.svg\");\n mask-image: url(\"../../../icons/finance/gift-fill.svg\");\n}\n\n.fr-icon-gift-line::before, .fr-icon-gift-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/gift-line.svg\");\n mask-image: url(\"../../../icons/finance/gift-line.svg\");\n}\n\n.fr-icon-money-euro-box-fill::before, .fr-icon-money-euro-box-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/money-euro-box-fill.svg\");\n mask-image: url(\"../../../icons/finance/money-euro-box-fill.svg\");\n}\n\n.fr-icon-money-euro-box-line::before, .fr-icon-money-euro-box-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/money-euro-box-line.svg\");\n mask-image: url(\"../../../icons/finance/money-euro-box-line.svg\");\n}\n\n.fr-icon-money-euro-circle-fill::before, .fr-icon-money-euro-circle-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/money-euro-circle-fill.svg\");\n mask-image: url(\"../../../icons/finance/money-euro-circle-fill.svg\");\n}\n\n.fr-icon-money-euro-circle-line::before, .fr-icon-money-euro-circle-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/money-euro-circle-line.svg\");\n mask-image: url(\"../../../icons/finance/money-euro-circle-line.svg\");\n}\n\n.fr-icon-secure-payment-fill::before, .fr-icon-secure-payment-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/secure-payment-fill.svg\");\n mask-image: url(\"../../../icons/finance/secure-payment-fill.svg\");\n}\n\n.fr-icon-secure-payment-line::before, .fr-icon-secure-payment-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/secure-payment-line.svg\");\n mask-image: url(\"../../../icons/finance/secure-payment-line.svg\");\n}\n\n.fr-icon-shopping-bag-fill::before, .fr-icon-shopping-bag-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/shopping-bag-fill.svg\");\n mask-image: url(\"../../../icons/finance/shopping-bag-fill.svg\");\n}\n\n.fr-icon-shopping-bag-line::before, .fr-icon-shopping-bag-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/shopping-bag-line.svg\");\n mask-image: url(\"../../../icons/finance/shopping-bag-line.svg\");\n}\n\n.fr-icon-shopping-cart-2-fill::before, .fr-icon-shopping-cart-2-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/shopping-cart-2-fill.svg\");\n mask-image: url(\"../../../icons/finance/shopping-cart-2-fill.svg\");\n}\n\n.fr-icon-shopping-cart-2-line::before, .fr-icon-shopping-cart-2-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/shopping-cart-2-line.svg\");\n mask-image: url(\"../../../icons/finance/shopping-cart-2-line.svg\");\n}\n\n.fr-icon-trophy-fill::before, .fr-icon-trophy-fill::after {\n -webkit-mask-image: url(\"../../../icons/finance/trophy-fill.svg\");\n mask-image: url(\"../../../icons/finance/trophy-fill.svg\");\n}\n\n.fr-icon-trophy-line::before, .fr-icon-trophy-line::after {\n -webkit-mask-image: url(\"../../../icons/finance/trophy-line.svg\");\n mask-image: url(\"../../../icons/finance/trophy-line.svg\");\n}\n\n@media (min-width: 36em) {\n /*! media sm */\n}\n@media (min-width: 48em) {\n /*! media md */\n}\n@media (min-width: 62em) {\n /*! media lg */\n}\n@media (min-width: 78em) {\n /*! media xl */\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-icon-bank-card-fill::before, .fr-icon-bank-card-fill::after {\n background-image: url(\"../../../icons/finance/bank-card-fill.svg\");\n }\n .fr-icon-bank-card-line::before, .fr-icon-bank-card-line::after {\n background-image: url(\"../../../icons/finance/bank-card-line.svg\");\n }\n .fr-icon-coin-fill::before, .fr-icon-coin-fill::after {\n background-image: url(\"../../../icons/finance/coin-fill.svg\");\n }\n .fr-icon-gift-fill::before, .fr-icon-gift-fill::after {\n background-image: url(\"../../../icons/finance/gift-fill.svg\");\n }\n .fr-icon-gift-line::before, .fr-icon-gift-line::after {\n background-image: url(\"../../../icons/finance/gift-line.svg\");\n }\n .fr-icon-money-euro-box-fill::before, .fr-icon-money-euro-box-fill::after {\n background-image: url(\"../../../icons/finance/money-euro-box-fill.svg\");\n }\n .fr-icon-money-euro-box-line::before, .fr-icon-money-euro-box-line::after {\n background-image: url(\"../../../icons/finance/money-euro-box-line.svg\");\n }\n .fr-icon-money-euro-circle-fill::before, .fr-icon-money-euro-circle-fill::after {\n background-image: url(\"../../../icons/finance/money-euro-circle-fill.svg\");\n }\n .fr-icon-money-euro-circle-line::before, .fr-icon-money-euro-circle-line::after {\n background-image: url(\"../../../icons/finance/money-euro-circle-line.svg\");\n }\n .fr-icon-secure-payment-fill::before, .fr-icon-secure-payment-fill::after {\n background-image: url(\"../../../icons/finance/secure-payment-fill.svg\");\n }\n .fr-icon-secure-payment-line::before, .fr-icon-secure-payment-line::after {\n background-image: url(\"../../../icons/finance/secure-payment-line.svg\");\n }\n .fr-icon-shopping-bag-fill::before, .fr-icon-shopping-bag-fill::after {\n background-image: url(\"../../../icons/finance/shopping-bag-fill.svg\");\n }\n .fr-icon-shopping-bag-line::before, .fr-icon-shopping-bag-line::after {\n background-image: url(\"../../../icons/finance/shopping-bag-line.svg\");\n }\n .fr-icon-shopping-cart-2-fill::before, .fr-icon-shopping-cart-2-fill::after {\n background-image: url(\"../../../icons/finance/shopping-cart-2-fill.svg\");\n }\n .fr-icon-shopping-cart-2-line::before, .fr-icon-shopping-cart-2-line::after {\n background-image: url(\"../../../icons/finance/shopping-cart-2-line.svg\");\n }\n .fr-icon-trophy-fill::before, .fr-icon-trophy-fill::after {\n background-image: url(\"../../../icons/finance/trophy-fill.svg\");\n }\n .fr-icon-trophy-line::before, .fr-icon-trophy-line::after {\n background-image: url(\"../../../icons/finance/trophy-line.svg\");\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","/// Styles spécifiques pour les plateformes antérieures\n///\n/// @example scss -\n/// .foo {\n/// @include ie-hack() {\n/// }\n/// }\n@mixin is($target) {\n @if $target == ie10 or $target == ie11 {\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n\n/// Styles spécifiques pour les plateformes modernes, excluant les plateformes antérieures\n///\n/// @example scss -\n/// .foo {\n/// @include ie-hack() {\n/// }\n/// }\n@mixin is-not($target) {\n @if $target == ie10 or $target == ie11 {\n @supports not (-ms-high-contrast: none) {\n @content;\n }\n }\n}\n","////\n/// Core Tool : Icon legacy\n/// @group core\n////\n\n@mixin icon-size-legacy($size:md, $restrain: null) {\n @include _icon-pseudo($restrain) {\n $size: icon-size($size);\n @include size($size, $size);\n @content;\n }\n}\n\n@mixin icon-image-legacy($icon, $restrain: null, $important: false) {\n $url: get-icon-url($icon, $important);\n @include _icon-pseudo($restrain) {\n background-image: $url;\n }\n}\n\n@mixin icon-style-legacy($restrain: null) {\n @include _icon-pseudo($restrain) {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n @content;\n }\n}\n\n@mixin icon-legacy($icon: null, $size: md, $restrain: null, $styling: true) {\n @if $styling {\n @include icon-style-legacy($restrain);\n }\n\n @if $icon != null {\n @include icon-image-legacy($icon, $restrain);\n }\n\n @if $size != null {\n @include icon-size-legacy($size, $restrain);\n }\n\n @include _icon-pseudo($restrain) {\n @content;\n }\n}\n\n@mixin generate-icons-legacy($config: $icons-config) {\n @each $icon, $setting in $config {\n #{ns(icon-#{$icon})} {\n @include icon-image-legacy($icon);\n }\n }\n}\n"]} |