1 line
No EOL
9 KiB
Text
1 line
No EOL
9 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%20ihSKjG%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"],"names":[],"mappings":"AAAA;;GAAA,ACgBE,mDCVA,2DC0CM,CDzCN,mDEYF,CHHE,mDCVA,2DC0CM,CDzCN,mDEiBF,CHRE,6DCVA,gEC0CM,CDzCN,wDEsBF,CHbE,6DCVA,gEC0CM,CDzCN,wDE2BF,CHlBE,qDCVA,4DC0CM,CDzCN,oDEgCF,CHvBE,qDCVA,4DC0CM,CDzCN,oDEqCF,CH5BE,yDCVA,8DC0CM,CDzCN,sDE0CF,CHjCE,yDCVA,8DC0CM,CDzCN,sDE+CF,CHtCE,2DCVA,+DC0CM,CDzCN,uDEoDF,CH3CE,2DCVA,+DC0CM,CDzCN,uDEyDF,CHhDE,2DCVA,+DC0CM,CDzCN,uDE8DF,CHrDE,2DCVA,+DC0CM,CDzCN,uDEmEF,CH1DE,2DCVA,+DC0CM,CDzCN,uDEwEF,CH/DE,2DCVA,+DC0CM,CDzCN,uDE6EF,CCrEI;ECRI,cAAA,CFDR,CCSI;ECRI,cAAA,CFER,CCMI;ECRI,cAAA,CFKR,CCGI;ECRI,cAAA,CFQR","file":"icons-others.main.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-leaf-fill::before, .fr-icon-leaf-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/leaf-fill.svg\");\n mask-image: url(\"../../../icons/others/leaf-fill.svg\");\n}\n\n.fr-icon-leaf-line::before, .fr-icon-leaf-line::after {\n -webkit-mask-image: url(\"../../../icons/others/leaf-line.svg\");\n mask-image: url(\"../../../icons/others/leaf-line.svg\");\n}\n\n.fr-icon-lightbulb-fill::before, .fr-icon-lightbulb-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/lightbulb-fill.svg\");\n mask-image: url(\"../../../icons/others/lightbulb-fill.svg\");\n}\n\n.fr-icon-lightbulb-line::before, .fr-icon-lightbulb-line::after {\n -webkit-mask-image: url(\"../../../icons/others/lightbulb-line.svg\");\n mask-image: url(\"../../../icons/others/lightbulb-line.svg\");\n}\n\n.fr-icon-plant-fill::before, .fr-icon-plant-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/plant-fill.svg\");\n mask-image: url(\"../../../icons/others/plant-fill.svg\");\n}\n\n.fr-icon-plant-line::before, .fr-icon-plant-line::after {\n -webkit-mask-image: url(\"../../../icons/others/plant-line.svg\");\n mask-image: url(\"../../../icons/others/plant-line.svg\");\n}\n\n.fr-icon-recycle-fill::before, .fr-icon-recycle-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/recycle-fill.svg\");\n mask-image: url(\"../../../icons/others/recycle-fill.svg\");\n}\n\n.fr-icon-recycle-line::before, .fr-icon-recycle-line::after {\n -webkit-mask-image: url(\"../../../icons/others/recycle-line.svg\");\n mask-image: url(\"../../../icons/others/recycle-line.svg\");\n}\n\n.fr-icon-scales-3-fill::before, .fr-icon-scales-3-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/scales-3-fill.svg\");\n mask-image: url(\"../../../icons/others/scales-3-fill.svg\");\n}\n\n.fr-icon-scales-3-line::before, .fr-icon-scales-3-line::after {\n -webkit-mask-image: url(\"../../../icons/others/scales-3-line.svg\");\n mask-image: url(\"../../../icons/others/scales-3-line.svg\");\n}\n\n.fr-icon-seedling-fill::before, .fr-icon-seedling-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/seedling-fill.svg\");\n mask-image: url(\"../../../icons/others/seedling-fill.svg\");\n}\n\n.fr-icon-seedling-line::before, .fr-icon-seedling-line::after {\n -webkit-mask-image: url(\"../../../icons/others/seedling-line.svg\");\n mask-image: url(\"../../../icons/others/seedling-line.svg\");\n}\n\n.fr-icon-umbrella-fill::before, .fr-icon-umbrella-fill::after {\n -webkit-mask-image: url(\"../../../icons/others/umbrella-fill.svg\");\n mask-image: url(\"../../../icons/others/umbrella-fill.svg\");\n}\n\n.fr-icon-umbrella-line::before, .fr-icon-umbrella-line::after {\n -webkit-mask-image: url(\"../../../icons/others/umbrella-line.svg\");\n mask-image: url(\"../../../icons/others/umbrella-line.svg\");\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"]} |