1 line
No EOL
6 KiB
Text
1 line
No EOL
6 KiB
Text
{"version":3,"sources":["<no source>","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","%3Cinput%20css%20kBwsxj%3E","file:///Users/ket/Documents/work/dsfr/module/legacy/mixin/_legacy.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/_legacy.scss"],"names":[],"mappings":"AAAA;;GAAA;ACeI;ECRI,cAAA;ACLR;AFaI;ECRI,cAAA;ACFR;AFUI;ECRI,cAAA;ACCR;AFOI;ECRI,cAAA;ACIR;ACFI;ECOF;;ICAE,iEAFI;EHCN;;EECA;;ICAE,iEAFI;EHIN;;EEFA;;ICAE,mEAFI;EHON;;EELA;;ICAE,mEAFI;EHUN;;EERA;;ICAE,6DAFI;EHaN;;EEXA;;ICAE,6DAFI;EHgBN;;EEdA;;ICAE,4DAFI;EHmBN;;EEjBA;;ICAE,4DAFI;EHsBN;;EEpBA;ICAE,mEAFI;EH2BN;;EEzBA;ICAE,mEAFI;EH8BN;AAPF","file":"icons-weather.legacy.css","sourcesContent":[null,"@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","@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-cloudy-2-fill::before, .fr-icon-cloudy-2-fill::after {\n background-image: url(\"../../../icons/weather/cloudy-2-fill.svg\");\n }\n .fr-icon-cloudy-2-line::before, .fr-icon-cloudy-2-line::after {\n background-image: url(\"../../../icons/weather/cloudy-2-line.svg\");\n }\n .fr-icon-flashlight-fill::before, .fr-icon-flashlight-fill::after {\n background-image: url(\"../../../icons/weather/flashlight-fill.svg\");\n }\n .fr-icon-flashlight-line::before, .fr-icon-flashlight-line::after {\n background-image: url(\"../../../icons/weather/flashlight-line.svg\");\n }\n .fr-icon-moon-fill::before, .fr-icon-moon-fill::after {\n background-image: url(\"../../../icons/weather/moon-fill.svg\");\n }\n .fr-icon-moon-line::before, .fr-icon-moon-line::after {\n background-image: url(\"../../../icons/weather/moon-line.svg\");\n }\n .fr-icon-sun-fill::before, .fr-icon-sun-fill::after {\n background-image: url(\"../../../icons/weather/sun-fill.svg\");\n }\n .fr-icon-sun-line::before, .fr-icon-sun-line::after {\n background-image: url(\"../../../icons/weather/sun-line.svg\");\n }\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-fi-flashlight-fill::before {\n background-image: url(\"../../../icons/weather/flashlight-fill.svg\");\n }\n .fr-fi-flashlight-line::before {\n background-image: url(\"../../../icons/weather/flashlight-line.svg\");\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 : 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 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"]} |