TP_JO2024/home/dist/component/summary/summary.main.min.css.map

1 line
24 KiB
Text
Raw Normal View History

2024-03-27 17:19:37 +01:00
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/summary/style/_module.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_styles.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","%3Cinput%20css%20Bgy21P%3E","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_block.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_position.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_link.scss","file:///Users/ket/Documents/work/dsfr/src/component/summary/style/_scheme.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,ACOA,YCkGI,2BAAA,CAAA,4BAAA,CCrDI,kBAAA,CAqCJ,6CAAA,CAAA,+CAAA,CAhDA,gDAAA,CDfF,gBAAA,CAGE,mBAAA,CEIA,cCXJ,CJRE,eACE,oBIeJ,CJZE,eGeE,eCAJ,CCjBE,uBAGI,YDiBN,CE9BE,mBJmCE,4BAAA,CDfF,gBAAA,CDAE,eAAA,CCGA,mBAAA,CEAE,kBAXA,CHSF,wBIgBJ,CJbE,kBACE,cAAA,CCLF,gBAAA,CAGE,mBAAA,CDGA,iBIiBJ,CCjCE,yBAGI,yBLec,CAEd,wBAAA,CACA,eAAA,CO7BJ,iBAAA,CAKE,UH2CJ,CJhBI,2CQWF,wBJQF,CK3CI,iBPyBA,kCE+BJ,CMzDI;ECRI,cAAA,CPDR,CMSI;ECRI,cAAA,CXAR,YG0BI,YCPF,CAjBF,CMMI;ECRI,cAAA,CPKR,CMGI;ECRI,cAAA,CPQR","file":"summary.main.min.css","sourcesContent":[null,"////\n/// Summary Module\n/// @group summary\n////\n\n//TODO: rapprocher de la liste ordonnée et vérifier les sous-niveaux.\n\n#{ns(summary)} {\n @include set-text-margin(0 0 2v 0);\n @include set-title-margin(0 0 2v 0);\n @include padding(6v);\n @include padding(8v, md);\n @include text-style(xs);\n\n ol {\n list-style-type: none;\n }\n\n li {\n @include marker(none);\n @include padding(2v 0);\n }\n\n @include title {\n @include text-style(xs);\n @include padding-left(2v);\n font-weight: font-weight(bold);\n text-transform: uppercase;\n }\n\n &__link {\n display: inline;\n position: relative;\n @include text-style(xs);\n @include before(var(--ol-content)) {\n @include absolute(null, 100%);\n font-size: var(--xl-size);\n font-weight: bold;\n }\n\n &:not(:hover):not(:active) {\n @include link-underline-hover-only;\n }\n }\n}\n","////\n/// Core Tool : Typography build\n/// @group core\n////\n\n@use 'module/spacing';\n\n@function get-text-style($font-size) {\n @return map-get($text-styles, $font-size);\n}\n\n@function get-title-style($font-size) {\n @return map-get($title-styles, $font-size);\n}\n\n@mixin _stylize($font-size, $styles, $prepend, $append) {\n $style: map-get($styles, $font-size);\n\n @if $prepend == null {\n $prepend: '';\n }\n\n @if $append == null {\n $append: '';\n }\n\n font-size: #{$prepend} spacing.space($font-size) #{$append};\n\n @if map-has-key($style, line-height) {\n line-height: #{$prepend} spacing.space(map-get($style, line-height)) #{$append};\n }\n}\n\n@mixin _responsive-styles($settings, $styles, $is-responsive, $prepend, $append) {\n $breakpoints: map-get($settings, breakpoints);\n\n @if map-has-key($settings, weight) {\n font-weight: #{$prepend} map-get($font-weight-scale, map-get($settings, weight)) #{$append};\n }\n\n @if $is-responsive {\n @each $breakpoint, $size in $breakpoints {\n @if $breakpoint == first {\n @include _stylize($size, $styles, $prepend, $append);\n }\n @else {\n @include respond-from($breakpoint) {\n @include _stylize($size, $styles, $prepend, $append);\n }\n }\n }\n }\n @else {\n @if map-has-key($breakpoints, md) {\n @include _stylize(map-get($breakpoints, md), $styles);\n }\n @else {\n @include _stylize(map-get($breakpoints, first), $styles);\n }\n }\n}\n\n@mixin _space-text($settings) {\n @include margin( var(#{'--' + map-get($settings, 'margin') + '-spacing'}) );\n}\n\n@mixin text-style($