1 line
No EOL
16 KiB
Text
1 line
No EOL
16 KiB
Text
{"version":3,"sources":["<no source>","%3Cinput%20css%20vwBuZH%3E","file:///Users/ket/Documents/work/dsfr/src/utility/icons/icons-device/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,mEC0CM;EDzCN,2DCyCM;AJ7BR;;AEHE;;ECVA,mEC0CM;EDzCN,2DCyCM;AJxBR;;AERE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJnBR;;AEbE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJdR;;AElBE;;ECVA,qEC0CM;EDzCN,6DCyCM;AJTR;;AEvBE;;ECVA,qEC0CM;EDzCN,6DCyCM;AJJR;;AE5BE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJCR;;AEjCE;;ECVA,kEC0CM;EDzCN,0DCyCM;AJMR;;AEtCE;;ECVA,gEC0CM;EDzCN,wDCyCM;AJWR;;AE3CE;;ECVA,gEC0CM;EDzCN,wDCyCM;AJgBR;;AEhDE;;ECVA,sEC0CM;EDzCN,8DCyCM;AJqBR;;AErDE;;ECVA,sEC0CM;EDzCN,8DCyCM;AJ0BR;;AE1DE;;ECVA,6DC0CM;EDzCN,qDCyCM;AJ+BR;;AE/DE;;ECVA,6DC0CM;EDzCN,qDCyCM;AJoCR;;AEpEE;;ECVA,+DC0CM;EDzCN,uDCyCM;AJyCR;;AEzEE;;ECVA,+DC0CM;EDzCN,uDCyCM;AJ8CR;;AE9EE;;ECVA,iEC0CM;EDzCN,yDCyCM;AJmDR;;AEnFE;;ECVA,iE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 *\\\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-bluetooth-fill::before, .fr-icon-bluetooth-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/bluetooth-fill.svg\");\n mask-image: url(\"../../../icons/device/bluetooth-fill.svg\");\n}\n\n.fr-icon-bluetooth-line::before, .fr-icon-bluetooth-line::after {\n -webkit-mask-image: url(\"../../../icons/device/bluetooth-line.svg\");\n mask-image: url(\"../../../icons/device/bluetooth-line.svg\");\n}\n\n.fr-icon-computer-fill::before, .fr-icon-computer-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/computer-fill.svg\");\n mask-image: url(\"../../../icons/device/computer-fill.svg\");\n}\n\n.fr-icon-computer-line::before, .fr-icon-computer-line::after {\n -webkit-mask-image: url(\"../../../icons/device/computer-line.svg\");\n mask-image: url(\"../../../icons/device/computer-line.svg\");\n}\n\n.fr-icon-dashboard-3-fill::before, .fr-icon-dashboard-3-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/dashboard-3-fill.svg\");\n mask-image: url(\"../../../icons/device/dashboard-3-fill.svg\");\n}\n\n.fr-icon-dashboard-3-line::before, .fr-icon-dashboard-3-line::after {\n -webkit-mask-image: url(\"../../../icons/device/dashboard-3-line.svg\");\n mask-image: url(\"../../../icons/device/dashboard-3-line.svg\");\n}\n\n.fr-icon-database-fill::before, .fr-icon-database-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/database-fill.svg\");\n mask-image: url(\"../../../icons/device/database-fill.svg\");\n}\n\n.fr-icon-database-line::before, .fr-icon-database-line::after {\n -webkit-mask-image: url(\"../../../icons/device/database-line.svg\");\n mask-image: url(\"../../../icons/device/database-line.svg\");\n}\n\n.fr-icon-device-fill::before, .fr-icon-device-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/device-fill.svg\");\n mask-image: url(\"../../../icons/device/device-fill.svg\");\n}\n\n.fr-icon-device-line::before, .fr-icon-device-line::after {\n -webkit-mask-image: url(\"../../../icons/device/device-line.svg\");\n mask-image: url(\"../../../icons/device/device-line.svg\");\n}\n\n.fr-icon-hard-drive-2-fill::before, .fr-icon-hard-drive-2-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/hard-drive-2-fill.svg\");\n mask-image: url(\"../../../icons/device/hard-drive-2-fill.svg\");\n}\n\n.fr-icon-hard-drive-2-line::before, .fr-icon-hard-drive-2-line::after {\n -webkit-mask-image: url(\"../../../icons/device/hard-drive-2-line.svg\");\n mask-image: url(\"../../../icons/device/hard-drive-2-line.svg\");\n}\n\n.fr-icon-mac-fill::before, .fr-icon-mac-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/mac-fill.svg\");\n mask-image: url(\"../../../icons/device/mac-fill.svg\");\n}\n\n.fr-icon-mac-line::before, .fr-icon-mac-line::after {\n -webkit-mask-image: url(\"../../../icons/device/mac-line.svg\");\n mask-image: url(\"../../../icons/device/mac-line.svg\");\n}\n\n.fr-icon-phone-fill::before, .fr-icon-phone-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/phone-fill.svg\");\n mask-image: url(\"../../../icons/device/phone-fill.svg\");\n}\n\n.fr-icon-phone-line::before, .fr-icon-phone-line::after {\n -webkit-mask-image: url(\"../../../icons/device/phone-line.svg\");\n mask-image: url(\"../../../icons/device/phone-line.svg\");\n}\n\n.fr-icon-qr-code-fill::before, .fr-icon-qr-code-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/qr-code-fill.svg\");\n mask-image: url(\"../../../icons/device/qr-code-fill.svg\");\n}\n\n.fr-icon-qr-code-line::before, .fr-icon-qr-code-line::after {\n -webkit-mask-image: url(\"../../../icons/device/qr-code-line.svg\");\n mask-image: url(\"../../../icons/device/qr-code-line.svg\");\n}\n\n.fr-icon-rss-fill::before, .fr-icon-rss-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/rss-fill.svg\");\n mask-image: url(\"../../../icons/device/rss-fill.svg\");\n}\n\n.fr-icon-rss-line::before, .fr-icon-rss-line::after {\n -webkit-mask-image: url(\"../../../icons/device/rss-line.svg\");\n mask-image: url(\"../../../icons/device/rss-line.svg\");\n}\n\n.fr-icon-save-3-fill::before, .fr-icon-save-3-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/save-3-fill.svg\");\n mask-image: url(\"../../../icons/device/save-3-fill.svg\");\n}\n\n.fr-icon-save-3-line::before, .fr-icon-save-3-line::after {\n -webkit-mask-image: url(\"../../../icons/device/save-3-line.svg\");\n mask-image: url(\"../../../icons/device/save-3-line.svg\");\n}\n\n.fr-icon-save-fill::before, .fr-icon-save-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/save-fill.svg\");\n mask-image: url(\"../../../icons/device/save-fill.svg\");\n}\n\n.fr-icon-save-line::before, .fr-icon-save-line::after {\n -webkit-mask-image: url(\"../../../icons/device/save-line.svg\");\n mask-image: url(\"../../../icons/device/save-line.svg\");\n}\n\n.fr-icon-server-fill::before, .fr-icon-server-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/server-fill.svg\");\n mask-image: url(\"../../../icons/device/server-fill.svg\");\n}\n\n.fr-icon-server-line::before, .fr-icon-server-line::after {\n -webkit-mask-image: url(\"../../../icons/device/server-line.svg\");\n mask-image: url(\"../../../icons/device/server-line.svg\");\n}\n\n.fr-icon-smartphone-fill::before, .fr-icon-smartphone-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/smartphone-fill.svg\");\n mask-image: url(\"../../../icons/device/smartphone-fill.svg\");\n}\n\n.fr-icon-smartphone-line::before, .fr-icon-smartphone-line::after {\n -webkit-mask-image: url(\"../../../icons/device/smartphone-line.svg\");\n mask-image: url(\"../../../icons/device/smartphone-line.svg\");\n}\n\n.fr-icon-tablet-fill::before, .fr-icon-tablet-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/tablet-fill.svg\");\n mask-image: url(\"../../../icons/device/tablet-fill.svg\");\n}\n\n.fr-icon-tablet-line::before, .fr-icon-tablet-line::after {\n -webkit-mask-image: url(\"../../../icons/device/tablet-line.svg\");\n mask-image: url(\"../../../icons/device/tablet-line.svg\");\n}\n\n.fr-icon-tv-fill::before, .fr-icon-tv-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/tv-fill.svg\");\n mask-image: url(\"../../../icons/device/tv-fill.svg\");\n}\n\n.fr-icon-tv-line::before, .fr-icon-tv-line::after {\n -webkit-mask-image: url(\"../../../icons/device/tv-line.svg\");\n mask-image: url(\"../../../icons/device/tv-line.svg\");\n}\n\n.fr-icon-wifi-fill::before, .fr-icon-wifi-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/wifi-fill.svg\");\n mask-image: url(\"../../../icons/device/wifi-fill.svg\");\n}\n\n.fr-icon-wifi-line::before, .fr-icon-wifi-line::after {\n -webkit-mask-image: url(\"../../../icons/device/wifi-line.svg\");\n mask-image: url(\"../../../icons/device/wifi-line.svg\");\n}\n\n.fr-fi-phone-fill::before, .fr-fi-phone-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/phone-fill.svg\");\n mask-image: url(\"../../../icons/device/phone-fill.svg\");\n}\n\n.fr-fi-phone-line::before, .fr-fi-phone-line::after {\n -webkit-mask-image: url(\"../../../icons/device/phone-line.svg\");\n mask-image: url(\"../../../icons/device/phone-line.svg\");\n}\n\n.fr-fi-rss-fill::before, .fr-fi-rss-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/rss-fill.svg\");\n mask-image: url(\"../../../icons/device/rss-fill.svg\");\n}\n\n.fr-fi-rss-line::before, .fr-fi-rss-line::after {\n -webkit-mask-image: url(\"../../../icons/device/rss-line.svg\");\n mask-image: url(\"../../../icons/device/rss-line.svg\");\n}\n\n.fr-fi-save-fill::before, .fr-fi-save-fill::after {\n -webkit-mask-image: url(\"../../../icons/device/save-fill.svg\");\n mask-image: url(\"../../../icons/device/save-fill.svg\");\n}\n\n.fr-fi-save-line::before, .fr-fi-save-line::after {\n -webkit-mask-image: url(\"../../../icons/device/save-line.svg\");\n mask-image: url(\"../../../icons/device/save-line.svg\");\n}","////\n/// Icon Device Main\n/// @group icons-device\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"]} |