1 line
15 KiB
Text
1 line
15 KiB
Text
|
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/consent/print.scss","file:///Users/ket/Documents/work/dsfr/src/component/consent/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","%3Cinput%20css%2023pcAj%3E","file:///Users/ket/Documents/work/dsfr/src/component/consent/style/_print.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/module/elevation/mixin/_z-index.scss"],"names":[],"mappings":"AAAA;;GAAA;ACKA;ECIE;ICgCE,sBAAA;ECtCF;;EFUA;IC4BE,yBAAA;IAAA,gCAAA;IEvCA,aAAA;EDKF;;EFYA;;ICsBE,iCAAA;IAAA,cAAA;ECtBF;;EEHA;;IHyBE,gCAAA;EClBF;;EFWE;ICOA,cAAA;ECbF;;EFeE;ICFA,cAAA;ECFF;AA/BF;AGCI;ELIF;IMJM,aAAA;EJGN;;EF0BE;;ICyOI,gBAAA;EC7ON;AArBF","file":"consent.print.css","sourcesContent":[null,"////\n/// Consent Print\n/// @group consent\n////\n\n@media print {\n @import 'index';\n @import 'style/scheme';\n\n @include _consent-scheme('print');\n\n @import 'style/print';\n}\n","////\n/// Consent Scheme\n/// @group consent\n////\n\n@use 'module/color';\n@use 'module/elevation';\n\n@mixin _consent-scheme($legacy: false) {\n #{ns(consent-placeholder)} {\n @include color.background(contrast grey, (legacy:$legacy));\n }\n\n #{ns(consent-banner)} {\n // @include color.background(contrast grey, (legacy:$legacy));\n @include elevation.elevate(overlap-above, (legacy:$legacy, usage: alt));\n @include color.box-shadow(default grey, (legacy:$legacy));\n }\n\n #{ns(consent-manager__header)},\n #{ns(consent-service)} {\n @include color.box-shadow(default grey, (legacy:$legacy), bottom-1-in);\n @include color.text(default grey, (legacy:$legacy));\n\n #{ns-group(radio)} {\n + #{ns-group(radio)} {\n @include before {\n @include color.box-shadow(default grey, (legacy:$legacy));\n }\n }\n }\n }\n\n #{ns(consent-service)} {\n &__title {\n @include color.text(title grey, (legacy:$legacy));\n }\n\n &:last-of-type,\n #{ns(consent-service)} {\n @include color.no-box-shadow((legacy: $legacy));\n }\n\n #{ns(consent-service__collapse-btn)} {\n @include color.text(action-high blue-france, (legacy:$legacy));\n }\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 --idle: transparent; // #{$result};\n @include _apply-pseudos($token, true, false, null, $prop, $value, $important);\n }\n @else {\n @include _apply-pseudos($token, true, true, null, $prop, $value, $important);\n }\n
|