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

1 line
11 KiB
Text
Raw Permalink Normal View History

2024-03-27 17:19:37 +01:00
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/component/upload/style/_module.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_space.scss","%3Cinput%20css%2014BAo9%3E","file:///Users/ket/Documents/work/dsfr/src/core/style/typography/tool/_styles.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/module/reset/mixin/_appearance.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,ACSI,yCCoBE,iBCXN,CFLI,sCCgBE,eCRN,CFFI,yCCUE,gBCLN,CFCA,WAGE,mBAAA,CGFA,iBAAA,CAGE,kBAAA,CFIA,QAfE,CGRA,UFsBN,CFAI,gDAEE,kBAAA,CADA,kBEGN,CFEE,uCK9BA,yBL+B4B,CK9B5B,sBL8B4B,CK7B5B,iBL6B4B,CAE1B,cAAA,CADA,YAAA,CCXE,kBCeN,CI7BI;ECRI,cAAA,CLDR,CISI;ECRI,cAAA,CLER,CIMI;ECRI,cAAA,CLKR,CIGI;ECRI,cAAA,CLQR","file":"upload.main.min.css","sourcesContent":[null,"////\n/// Upload Module\n/// @group upload\n////\n\n@use 'module/reset';\n\n#{ns-group(upload)} {\n #{ns(label)} {\n #{ns(hint-text)} {\n @include margin-top(3v);\n }\n\n + #{ns(upload)} {\n @include margin-top(4v);\n }\n }\n\n #{ns(message)} {\n &:first-child {\n @include margin-top(2v);\n }\n }\n}\n\n#{ns(upload)} {\n @include text-style(sm);\n @include width(100%);\n display: inline-flex;\n @include margin(0);\n\n &:disabled {\n &::-webkit-file-upload-button {\n outline-style: none;\n cursor: not-allowed;\n }\n }\n\n &::-webkit-file-upload-button {\n @include reset.appearance(button);\n font: inherit;\n cursor: pointer;\n @include margin-right(2v);\n }\n}\n","////\n/// Core Tool : Spacing space\n/// @group core\n////\n\n@use 'module/spacing';\n\n/// Set space property\n///\n/// @param {String} $property ['margin'] - propriété à appliquer à l'espacement `['margin', 'padding']`\n/// @param {Number | list} $value [2] - valeur de l'espacement en v ou w. peut être une liste si la direction n'est pas renseignée\n/// @param {String} $direction - direction de l'espacement `['x', 'y', 'top', 'right', 'bottom', 'left']`\n///\n/// @example scss - Set margin-bottom to 24px\n/// .foo {\n/// @include _spacing('margin', 6v, 'bottom');\n/// }\n@mixin _spacing($property: margin, $value: 0, $direction: null) {\n $v: spacing.space($value);\n @if $direction != null {\n @if $direction == 'x' {\n #{$property}-left: $v;\n #{$property}-right: $v;\n }\n @else if $direction == 'y' {\n #{$property}-top: $v;\n #{$property}-bottom: $v;\n }\n @else {\n #{$property}-#{$direction}: $v;\n }\n }\n @else {\n #{$property}: $v;\n }\n}\n\n@mixin _spacing-from($property: margin, $value: 0, $direction: null, $from: null) {\n @include respond-from($from) {\n @include _spacing($property, $value, $direction);\n }\n}\n\n@mixin padding($values: 0 0 0 0, $from: null) {\n @include _spacing-from(padding, $values, null, $from);\n}\n\n@mixin padding-x($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'x', $from);\n}\n\n@mixin padding-y($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'y', $from);\n}\n\n@mixin padding-top($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'top', $from);\n}\n\n@mixin padding-right($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'right', $from);\n}\n\n@mixin padding-bottom($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'bottom', $from);\n}\n\n@mixin padding-left($value: 0, $from: null) {\n @include _spacing-from(padding, $value, 'left', $from);\n}\n\n@mixin margin($values: 0 0 0 0, $from: null) {\n @include _spacing-from(margin, $values, null, $from);\n}\n\n@mixin margin-x($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'x', $from);\n}\n\n@mixin margin-y($value: 0, $from: null) {\n @include _spacing-from(margin, $value, 'y', $from);\n}\n\n@mixin margin-top($value: 0, $f