1 line
21 KiB
Text
1 line
21 KiB
Text
|
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/module/disabled/mixin/_selector.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","%3Cinput%20css%20m-G1V4%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/component/input/input-base/style/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/component/input/input-base/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/src/component/input/input-base/style/_tool.scss","file:///Users/ket/Documents/work/dsfr/module/utilities/mixin/_nest.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_autofill.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss"],"names":[],"mappings":"AAAA;;GAAA,ACmBW,mBCsBP,uDAAA,CAAA,+BCwBJ,CClDI;ECRI,cAAA;EAAA,cAAA,CFLR,CCaI;ECRI,cAAA;EAAA,cAAA,CFFR,CCUI;ECRI,cAAA;EAAA,cAAA,CFCR,CCOI;ECRI,cAAA;EAAA,cAAA,CFIR,CGFI,2DCCE,8BACE,aJgBN,CKlBA,UNgCE,qBAAA,CAAA,mCAAA,CAAA,aCTF,CMhBA,uBPyBE,UCMF,CMzBA,6CPmBE,wBCWF,COlDE,mDRuFA,wBChCF,COvDE,oDRuFA,wBC7BF,CQtDA,kKTmCE,+BAAA,CAAA,8DC6BF,CK5BI,iDNDF,mCCuCF,CK/BI,4MNRF,mCC8CF,CK9BI,4MNhBF,mCCsDF,CS/EA,8BVyBE,sDC4DF,CSrFA,8BVyBE,sDCiEF,CS1FA,6BVyBE,sDCsEF,CAnFF","file":"input.legacy.min.css","sourcesContent":[null,"@use 'sass:list';\n@use 'sass:map';\n@use 'colors';\n@use 'module/selector';\n\n/// Applique les couleurs disabled sur l'élément avec les sélecteurs appropriés\n/// @access public\n/// @param {map} map des options :\n/// - can-be-link {boolean}: ajoute le sélecteur de lien sans href.\n/// - legacy {boolean}: version pour navigateurs modernes ou anciens.\n/// - background {boolean}: true, applique le token background disabled sur la couleur de fond\n/// - text {boolean}: true, applique le token text disabled sur la couleur de texte\n/// - box-shadow {}: si true, applique le token border disabled sur l'élément avec la box-shadow par défaut (encadré de 1 px). si une valeur de box-shadow est fournie, applique cette valeur (voir get-box-shadow)\n@mixin selector($options: (), $colors: null) {\n $selectors: '&:disabled';\n @if map.get($options, can-be-link) {\n $selectors: list.append($selectors, selector.associate(&, 'a:not([href])'), comma);\n }\n\n @at-root #{$selectors} {\n @if $colors != null {\n @include colors.colors($colors);\n }\n @content;\n }\n}\n","@use 'sass:list';\n@use 'sass:map';\n@use 'module/legacy';\n@use 'module/media-query';\n@use 'module/spacing';\n@use 'module/specificity';\n@use 'module/string';\n@use 'module/utilities';\n@use '../variable/constant';\n@use '../function/box-shadow' as bs;\n@use '../function/colors';\n@use '../function/result';\n@use '../function/token';\n\n$COLOR: constant.$value;\n\n@mixin element($prop, $context, $tokens, $options: (), $value: $COLOR) {\n $legacy: map.get($options, legacy);\n $important: map.get($options, important);\n $hover: map.get($options, hover);\n $standalone: map.get($options, standalone);\n\n $legacy-target: null;\n @if $legacy == true {\n $legacy-target: ie11;\n }\n\n $tokens: token.normalise($tokens, $context);\n $type: decision;\n $options: (var: true);\n\n @if $legacy or $standalone {\n $type: hex;\n $option: (theme: light);\n }\n\n $colors: colors.from-list($tokens, $type, $options);\n $result: result.get($colors, $value);\n $result: specificity.important($result, $important);\n\n @include legacy.is($legacy-target) {\n #{$prop}: #{string.unstringify($result)};\n }\n\n @if ($hover == true or ($hover == inherit and $legacy == false)) and ($context == background and list.length($tokens) == 1) {\n\n $token: nth($tokens, 1);\n @if $legacy or $standalone {\n @include _apply-pseudos($token, false, true, $legacy-target, $prop, $value, $important);\n }\n @else {\n @if $prop == background-color {\n
|