1 line
No EOL
17 KiB
Text
1 line
No EOL
17 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%20RhVFFi%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,uDCVA,oEC0CM,CDzCN,4DEYF,CHHE,uDCVA,oEC0CM,CDzCN,4DEiBF,CHRE,uDCVA,oEC0CM,CDzCN,4DEsBF,CHbE,uDCVA,oEC0CM,CDzCN,4DE2BF,CHlBE,+DCVA,wEC0CM,CDzCN,gEEgCF,CHvBE,+DCVA,wEC0CM,CDzCN,gEEqCF,CH5BE,iECVA,yEC0CM,CDzCN,iEE0CF,CHjCE,iECVA,yEC0CM,CDzCN,iEE+CF,CHtCE,6DCVA,uEC0CM,CDzCN,+DEoDF,CH3CE,6DCVA,uEC0CM,CDzCN,+DEyDF,CHhDE,yDCVA,qEC0CM,CDzCN,6DE8DF,CHrDE,yDCVA,qEC0CM,CDzCN,6DEmEF,CH1DE,2DCVA,sEC0CM,CDzCN,8DEwEF,CH/DE,2DCVA,sEC0CM,CDzCN,8DE6EF,CHpEE,6DCVA,uEC0CM,CDzCN,+DEkFF,CHzEE,6DCVA,uEC0CM,CDzCN,+DEuFF,CH9EE,yECVA,6EC0CM,CDzCN,qEE4FF,CHnFE,yECVA,6EC0CM,CDzCN,qEEiGF,CHxFE,qECVA,2EC0CM,CDzCN,mEEsGF,CH7FE,qECVA,2EC0CM,CDzCN,mEE2GF,CHlGE,+DCVA,wEC0CM,CDzCN,gEEgHF,CHvGE,+DCVA,wEC0CM,CDzCN,gEEqHF,CC7GI;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,uDOAE,kEJ6HF,CH7HA,uDOAE,kEJgIF,CHhIA,uDOAE,kEJmIF,CHnIA,uDOAE,kEJsIF,CHtIA,+DOAE,sEJyIF,CHzIA,+DOAE,sEJ4IF,CH5IA,iEOAE,uEJ+IF,CH/IA,iEOAE,uEJkJF,CHlJA,6DOAE,qEJqJF,CHrJA,6DOAE,qEJwJF,CHxJA,yDOAE,mEJ2JF,CH3JA,yDOAE,mEJ8JF,CH9JA,2DOAE,oEJiKF,CHjKA,2DOAE,oEJoKF,CHpKA,6DOAE,qEJuKF,CHvKA,6DOAE,qEJ0KF,CH1KA,yEOAE,2EJ6KF,CH7KA,yEOAE,2EJgLF,CHhLA,qEOAE,yEJmLF,CHnLA,qEOAE,yEJsLF,CHtLA,+DOAE,sEJyLF,CHzLA,+DOAE,sEJ4LF,CACF","file":"icons-communication.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-chat-2-fill::before, .fr-icon-chat-2-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-2-fill.svg\");\n mask-image: url(\"../../../icons/communication/chat-2-fill.svg\");\n}\n\n.fr-icon-chat-2-line::before, .fr-icon-chat-2-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-2-line.svg\");\n mask-image: url(\"../../../icons/communication/chat-2-line.svg\");\n}\n\n.fr-icon-chat-3-fill::before, .fr-icon-chat-3-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-3-fill.svg\");\n mask-image: url(\"../../../icons/communication/chat-3-fill.svg\");\n}\n\n.fr-icon-chat-3-line::before, .fr-icon-chat-3-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-3-line.svg\");\n mask-image: url(\"../../../icons/communication/chat-3-line.svg\");\n}\n\n.fr-icon-chat-check-fill::before, .fr-icon-chat-check-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-check-fill.svg\");\n mask-image: url(\"../../../icons/communication/chat-check-fill.svg\");\n}\n\n.fr-icon-chat-check-line::before, .fr-icon-chat-check-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-check-line.svg\");\n mask-image: url(\"../../../icons/communication/chat-check-line.svg\");\n}\n\n.fr-icon-chat-delete-fill::before, .fr-icon-chat-delete-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-delete-fill.svg\");\n mask-image: url(\"../../../icons/communication/chat-delete-fill.svg\");\n}\n\n.fr-icon-chat-delete-line::before, .fr-icon-chat-delete-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-delete-line.svg\");\n mask-image: url(\"../../../icons/communication/chat-delete-line.svg\");\n}\n\n.fr-icon-chat-poll-fill::before, .fr-icon-chat-poll-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-poll-fill.svg\");\n mask-image: url(\"../../../icons/communication/chat-poll-fill.svg\");\n}\n\n.fr-icon-chat-poll-line::before, .fr-icon-chat-poll-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/chat-poll-line.svg\");\n mask-image: url(\"../../../icons/communication/chat-poll-line.svg\");\n}\n\n.fr-icon-discuss-fill::before, .fr-icon-discuss-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/discuss-fill.svg\");\n mask-image: url(\"../../../icons/communication/discuss-fill.svg\");\n}\n\n.fr-icon-discuss-line::before, .fr-icon-discuss-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/discuss-line.svg\");\n mask-image: url(\"../../../icons/communication/discuss-line.svg\");\n}\n\n.fr-icon-feedback-fill::before, .fr-icon-feedback-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/feedback-fill.svg\");\n mask-image: url(\"../../../icons/communication/feedback-fill.svg\");\n}\n\n.fr-icon-feedback-line::before, .fr-icon-feedback-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/feedback-line.svg\");\n mask-image: url(\"../../../icons/communication/feedback-line.svg\");\n}\n\n.fr-icon-message-2-fill::before, .fr-icon-message-2-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/message-2-fill.svg\");\n mask-image: url(\"../../../icons/communication/message-2-fill.svg\");\n}\n\n.fr-icon-message-2-line::before, .fr-icon-message-2-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/message-2-line.svg\");\n mask-image: url(\"../../../icons/communication/message-2-line.svg\");\n}\n\n.fr-icon-question-answer-fill::before, .fr-icon-question-answer-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/question-answer-fill.svg\");\n mask-image: url(\"../../../icons/communication/question-answer-fill.svg\");\n}\n\n.fr-icon-question-answer-line::before, .fr-icon-question-answer-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/question-answer-line.svg\");\n mask-image: url(\"../../../icons/communication/question-answer-line.svg\");\n}\n\n.fr-icon-questionnaire-fill::before, .fr-icon-questionnaire-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/questionnaire-fill.svg\");\n mask-image: url(\"../../../icons/communication/questionnaire-fill.svg\");\n}\n\n.fr-icon-questionnaire-line::before, .fr-icon-questionnaire-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/questionnaire-line.svg\");\n mask-image: url(\"../../../icons/communication/questionnaire-line.svg\");\n}\n\n.fr-icon-video-chat-fill::before, .fr-icon-video-chat-fill::after {\n -webkit-mask-image: url(\"../../../icons/communication/video-chat-fill.svg\");\n mask-image: url(\"../../../icons/communication/video-chat-fill.svg\");\n}\n\n.fr-icon-video-chat-line::before, .fr-icon-video-chat-line::after {\n -webkit-mask-image: url(\"../../../icons/communication/video-chat-line.svg\");\n mask-image: url(\"../../../icons/communication/video-chat-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-chat-2-fill::before, .fr-icon-chat-2-fill::after {\n background-image: url(\"../../../icons/communication/chat-2-fill.svg\");\n }\n .fr-icon-chat-2-line::before, .fr-icon-chat-2-line::after {\n background-image: url(\"../../../icons/communication/chat-2-line.svg\");\n }\n .fr-icon-chat-3-fill::before, .fr-icon-chat-3-fill::after {\n background-image: url(\"../../../icons/communication/chat-3-fill.svg\");\n }\n .fr-icon-chat-3-line::before, .fr-icon-chat-3-line::after {\n background-image: url(\"../../../icons/communication/chat-3-line.svg\");\n }\n .fr-icon-chat-check-fill::before, .fr-icon-chat-check-fill::after {\n background-image: url(\"../../../icons/communication/chat-check-fill.svg\");\n }\n .fr-icon-chat-check-line::before, .fr-icon-chat-check-line::after {\n background-image: url(\"../../../icons/communication/chat-check-line.svg\");\n }\n .fr-icon-chat-delete-fill::before, .fr-icon-chat-delete-fill::after {\n background-image: url(\"../../../icons/communication/chat-delete-fill.svg\");\n }\n .fr-icon-chat-delete-line::before, .fr-icon-chat-delete-line::after {\n background-image: url(\"../../../icons/communication/chat-delete-line.svg\");\n }\n .fr-icon-chat-poll-fill::before, .fr-icon-chat-poll-fill::after {\n background-image: url(\"../../../icons/communication/chat-poll-fill.svg\");\n }\n .fr-icon-chat-poll-line::before, .fr-icon-chat-poll-line::after {\n background-image: url(\"../../../icons/communication/chat-poll-line.svg\");\n }\n .fr-icon-discuss-fill::before, .fr-icon-discuss-fill::after {\n background-image: url(\"../../../icons/communication/discuss-fill.svg\");\n }\n .fr-icon-discuss-line::before, .fr-icon-discuss-line::after {\n background-image: url(\"../../../icons/communication/discuss-line.svg\");\n }\n .fr-icon-feedback-fill::before, .fr-icon-feedback-fill::after {\n background-image: url(\"../../../icons/communication/feedback-fill.svg\");\n }\n .fr-icon-feedback-line::before, .fr-icon-feedback-line::after {\n background-image: url(\"../../../icons/communication/feedback-line.svg\");\n }\n .fr-icon-message-2-fill::before, .fr-icon-message-2-fill::after {\n background-image: url(\"../../../icons/communication/message-2-fill.svg\");\n }\n .fr-icon-message-2-line::before, .fr-icon-message-2-line::after {\n background-image: url(\"../../../icons/communication/message-2-line.svg\");\n }\n .fr-icon-question-answer-fill::before, .fr-icon-question-answer-fill::after {\n background-image: url(\"../../../icons/communication/question-answer-fill.svg\");\n }\n .fr-icon-question-answer-line::before, .fr-icon-question-answer-line::after {\n background-image: url(\"../../../icons/communication/question-answer-line.svg\");\n }\n .fr-icon-questionnaire-fill::before, .fr-icon-questionnaire-fill::after {\n background-image: url(\"../../../icons/communication/questionnaire-fill.svg\");\n }\n .fr-icon-questionnaire-line::before, .fr-icon-questionnaire-line::after {\n background-image: url(\"../../../icons/communication/questionnaire-line.svg\");\n }\n .fr-icon-video-chat-fill::before, .fr-icon-video-chat-fill::after {\n background-image: url(\"../../../icons/communication/video-chat-fill.svg\");\n }\n .fr-icon-video-chat-line::before, .fr-icon-video-chat-line::after {\n background-image: url(\"../../../icons/communication/video-chat-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"]} |