1 line
No EOL
13 KiB
Text
1 line
No EOL
13 KiB
Text
{"version":3,"sources":["<no source>","%3Cinput%20css%20rHWVBW%3E","file:///Users/ket/Documents/work/dsfr/src/utility/icons/icons-editor/main.scss","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","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;ACAA,gBAAgB;;ACKhB;;cAAA;ACWE;;ECVA,8DC0CM;EDzCN,sDCyCM;AJ7BR;;AEHE;;ECVA,8DC0CM;EDzCN,sDCyCM;AJxBR;;AERE;;ECVA,6DC0CM;EDzCN,qDCyCM;AJnBR;;AEbE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJdR;;AElBE;;ECVA,mEC0CM;EDzCN,2DCyCM;AJTR;;AEvBE;;ECVA,mEC0CM;EDzCN,2DCyCM;AJJR;;AE5BE;;ECVA,wDC0CM;EDzCN,gDCyCM;AJCR;;AEjCE;;ECVA,wDC0CM;EDzCN,gDCyCM;AJMR;;AEtCE;;ECVA,wDC0CM;EDzCN,gDCyCM;AJWR;;AE3CE;;ECVA,wDC0CM;EDzCN,gDCyCM;AJgBR;;AEhDE;;ECVA,wDC0CM;EDzCN,gDCyCM;AJqBR;;AErDE;;ECVA,wDC0CM;EDzCN,gDCyCM;AJ0BR;;AE1DE;;ECVA,4DC0CM;EDzCN,oDCyCM;AJ+BR;;AE/DE;;ECVA,2DC0CM;EDzCN,mDCyCM;AJoCR;;AEpEE;;ECVA,gEC0CM;EDzCN,wDCyCM;AJyCR;;AEzEE;;ECVA,yDC0CM;EDzCN,iDCyCM;AJ8CR;;AE9EE;;ECVA,iEC0CM;EDzCN,yDCyCM;AJmDR;;AEnFE;;ECVA,mEC0CM;EDzCN,2DCyCM;AJwDR;;AExFE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJ6DR;;AE7FE;;ECVA,8DC0CM;EDzCN,sDCyCM;AJkER;;AElGE;;ECVA,0DC0CM;EDzCN,kDCyCM;AJuER;;AEvGE;;ECVA,8DC0CM;EDzCN,sDCyCM;AJ4ER;;AE5GE;;ECVA,gEC0CM;EDzCN,wDCyCM;AJiFR;;AEjHE;;ECVA,4DC0CM;EDzCN,oDCyCM;AJsFR;;AEtHE;;ECVA,gEC0CM;EDzCN,wDCyCM;AJ2FR;;AE3HE;;ECVA,8DC0CM;EDzCN,sDCyCM;AJgGR;;AEhIE;;ECVA,6DC0CM;EDzCN,qDCyCM;AJqGR;;AErIE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJ0GR;;AE1IE;;ECVA,2DC0CM;EDzCN,mDCyCM;AJ+GR;;AE/IE;;ECVA,gEC0CM;EDzCN,wDCyCM;AJoHR;;AEpJE;;ECVA,iEC0CM;EDzCN,yDCyCM;AJyHR;;AEzJE;;ECVA,mEC0CM;EDzCN,2DCyCM;AJ8HR;;AK/JI;ECRI,cAAA;ANDR;;AKSI;ECRI,cAAA;ANER;;AKMI;ECRI,cAAA;ANKR;;AKGI;ECRI,cAAA;ANQR","file":"icons-editor.main.css","sourcesContent":[null,"@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-code-view::before, .fr-icon-code-view::after {\n -webkit-mask-image: url(\"../../../icons/editor/code-view.svg\");\n mask-image: url(\"../../../icons/editor/code-view.svg\");\n}\n\n.fr-icon-font-size::before, .fr-icon-font-size::after {\n -webkit-mask-image: url(\"../../../icons/editor/font-size.svg\");\n mask-image: url(\"../../../icons/editor/font-size.svg\");\n}\n\n.fr-icon-bold::before, .fr-icon-bold::after {\n -webkit-mask-image: url(\"../../../icons/editor/fr--bold.svg\");\n mask-image: url(\"../../../icons/editor/fr--bold.svg\");\n}\n\n.fr-icon-highlight::before, .fr-icon-highlight::after {\n -webkit-mask-image: url(\"../../../icons/editor/fr--highlight.svg\");\n mask-image: url(\"../../../icons/editor/fr--highlight.svg\");\n}\n\n.fr-icon-quote-fill::before, .fr-icon-quote-fill::after {\n -webkit-mask-image: url(\"../../../icons/editor/fr--quote-fill.svg\");\n mask-image: url(\"../../../icons/editor/fr--quote-fill.svg\");\n}\n\n.fr-icon-quote-line::before, .fr-icon-quote-line::after {\n -webkit-mask-image: url(\"../../../icons/editor/fr--quote-line.svg\");\n mask-image: url(\"../../../icons/editor/fr--quote-line.svg\");\n}\n\n.fr-icon-h-1::before, .fr-icon-h-1::after {\n -webkit-mask-image: url(\"../../../icons/editor/h-1.svg\");\n mask-image: url(\"../../../icons/editor/h-1.svg\");\n}\n\n.fr-icon-h-2::before, .fr-icon-h-2::after {\n -webkit-mask-image: url(\"../../../icons/editor/h-2.svg\");\n mask-image: url(\"../../../icons/editor/h-2.svg\");\n}\n\n.fr-icon-h-3::before, .fr-icon-h-3::after {\n -webkit-mask-image: url(\"../../../icons/editor/h-3.svg\");\n mask-image: url(\"../../../icons/editor/h-3.svg\");\n}\n\n.fr-icon-h-4::before, .fr-icon-h-4::after {\n -webkit-mask-image: url(\"../../../icons/editor/h-4.svg\");\n mask-image: url(\"../../../icons/editor/h-4.svg\");\n}\n\n.fr-icon-h-5::before, .fr-icon-h-5::after {\n -webkit-mask-image: url(\"../../../icons/editor/h-5.svg\");\n mask-image: url(\"../../../icons/editor/h-5.svg\");\n}\n\n.fr-icon-h-6::before, .fr-icon-h-6::after {\n -webkit-mask-image: url(\"../../../icons/editor/h-6.svg\");\n mask-image: url(\"../../../icons/editor/h-6.svg\");\n}\n\n.fr-icon-hashtag::before, .fr-icon-hashtag::after {\n -webkit-mask-image: url(\"../../../icons/editor/hashtag.svg\");\n mask-image: url(\"../../../icons/editor/hashtag.svg\");\n}\n\n.fr-icon-italic::before, .fr-icon-italic::after {\n -webkit-mask-image: url(\"../../../icons/editor/italic.svg\");\n mask-image: url(\"../../../icons/editor/italic.svg\");\n}\n\n.fr-icon-link-unlink::before, .fr-icon-link-unlink::after {\n -webkit-mask-image: url(\"../../../icons/editor/link-unlink.svg\");\n mask-image: url(\"../../../icons/editor/link-unlink.svg\");\n}\n\n.fr-icon-link::before, .fr-icon-link::after {\n -webkit-mask-image: url(\"../../../icons/editor/link.svg\");\n mask-image: url(\"../../../icons/editor/link.svg\");\n}\n\n.fr-icon-list-ordered::before, .fr-icon-list-ordered::after {\n -webkit-mask-image: url(\"../../../icons/editor/list-ordered.svg\");\n mask-image: url(\"../../../icons/editor/list-ordered.svg\");\n}\n\n.fr-icon-list-unordered::before, .fr-icon-list-unordered::after {\n -webkit-mask-image: url(\"../../../icons/editor/list-unordered.svg\");\n mask-image: url(\"../../../icons/editor/list-unordered.svg\");\n}\n\n.fr-icon-question-mark::before, .fr-icon-question-mark::after {\n -webkit-mask-image: url(\"../../../icons/editor/question-mark.svg\");\n mask-image: url(\"../../../icons/editor/question-mark.svg\");\n}\n\n.fr-icon-separator::before, .fr-icon-separator::after {\n -webkit-mask-image: url(\"../../../icons/editor/separator.svg\");\n mask-image: url(\"../../../icons/editor/separator.svg\");\n}\n\n.fr-icon-space::before, .fr-icon-space::after {\n -webkit-mask-image: url(\"../../../icons/editor/space.svg\");\n mask-image: url(\"../../../icons/editor/space.svg\");\n}\n\n.fr-icon-subscript::before, .fr-icon-subscript::after {\n -webkit-mask-image: url(\"../../../icons/editor/subscript.svg\");\n mask-image: url(\"../../../icons/editor/subscript.svg\");\n}\n\n.fr-icon-superscript::before, .fr-icon-superscript::after {\n -webkit-mask-image: url(\"../../../icons/editor/superscript.svg\");\n mask-image: url(\"../../../icons/editor/superscript.svg\");\n}\n\n.fr-icon-table-2::before, .fr-icon-table-2::after {\n -webkit-mask-image: url(\"../../../icons/editor/table-2.svg\");\n mask-image: url(\"../../../icons/editor/table-2.svg\");\n}\n\n.fr-icon-translate-2::before, .fr-icon-translate-2::after {\n -webkit-mask-image: url(\"../../../icons/editor/translate-2.svg\");\n mask-image: url(\"../../../icons/editor/translate-2.svg\");\n}\n\n.fr-fi-font-size::before, .fr-fi-font-size::after {\n -webkit-mask-image: url(\"../../../icons/editor/font-size.svg\");\n mask-image: url(\"../../../icons/editor/font-size.svg\");\n}\n\n.fr-fi-bold::before, .fr-fi-bold::after {\n -webkit-mask-image: url(\"../../../icons/editor/fr--bold.svg\");\n mask-image: url(\"../../../icons/editor/fr--bold.svg\");\n}\n\n.fr-fi-highlight::before, .fr-fi-highlight::after {\n -webkit-mask-image: url(\"../../../icons/editor/fr--highlight.svg\");\n mask-image: url(\"../../../icons/editor/fr--highlight.svg\");\n}\n\n.fr-fi-italic::before, .fr-fi-italic::after {\n -webkit-mask-image: url(\"../../../icons/editor/italic.svg\");\n mask-image: url(\"../../../icons/editor/italic.svg\");\n}\n\n.fr-fi-link-unlink::before, .fr-fi-link-unlink::after {\n -webkit-mask-image: url(\"../../../icons/editor/link-unlink.svg\");\n mask-image: url(\"../../../icons/editor/link-unlink.svg\");\n}\n\n.fr-fi-list-ordered::before, .fr-fi-list-ordered::after {\n -webkit-mask-image: url(\"../../../icons/editor/list-ordered.svg\");\n mask-image: url(\"../../../icons/editor/list-ordered.svg\");\n}\n\n.fr-fi-list-unordered::before, .fr-fi-list-unordered::after {\n -webkit-mask-image: url(\"../../../icons/editor/list-unordered.svg\");\n mask-image: url(\"../../../icons/editor/list-unordered.svg\");\n}","////\n/// Icon Editor Main\n/// @group icons-editor\n////\n\n/* ¯¯¯¯¯¯¯¯¯ *\\\n ICON COMMUNICATION\n\\* ˍˍˍˍˍˍˍˍˍ */\n\n@use 'module/path';\n@use 'module/shame/media-query';\n\n@include path.to-dist(3);\n@include media-query.order;\n\n@import 'index';\n@import 'style/module';\n\n// deprecated\n@import 'deprecated/style/setting';\n@import 'deprecated/style/module';\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 : 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","@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"]} |