1 line
12 KiB
Text
1 line
12 KiB
Text
|
{"version":3,"sources":["<no source>","%3Cinput%20css%206ZmfYy%3E","file:///Users/ket/Documents/work/dsfr/src/component/upload/main.scss","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","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;ACAA,gBAAgB;;ACKhB;;cAAA;ACII;ECoBE,mBAXA;AHAN;;AELI;ECgBE,gBAXA;AHGN;;AEFI;ECUE,kBAXA;AHMN;;AECA;EECE,mBAAA;EAGE,mBAAA;ECnBE,WAAA;EHkBJ,oBAAA;ECKE,SAfE;AHcN;;AEAI;EACE,mBAAA;EACA,mBAAA;AFEN;;AEEE;EI9BA,0BJ+B4B;EI9B5B,uBJ8B4B;EI7B5B,kBJ6B4B;EAC1B,aAAA;EACA,eAAA;ECZE,oBAXA;AH0BN;AO7BI;ECRI,cAAA;ARDR;AOSI;ECRI,cAAA;ARER;AOMI;ECRI,cAAA;ARKR;AOGI;ECRI,cAAA;ARQR","file":"upload.main.css","sourcesContent":[null,"@charset \"UTF-8\";\n/* ¯¯¯¯¯¯¯¯¯ *\\\n UPLOAD\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-upload-group .fr-label .fr-hint-text {\n margin-top: 0.75rem;\n}\n.fr-upload-group .fr-label + .fr-upload {\n margin-top: 1rem;\n}\n.fr-upload-group .fr-message:first-child {\n margin-top: 0.5rem;\n}\n\n.fr-upload {\n font-size: 0.875rem;\n line-height: 1.5rem;\n width: 100%;\n display: inline-flex;\n margin: 0;\n}\n.fr-upload:disabled::-webkit-file-upload-button {\n outline-style: none;\n cursor: not-allowed;\n}\n.fr-upload::-webkit-file-upload-button {\n -webkit-appearance: button;\n -moz-appearance: button;\n appearance: button;\n font: inherit;\n cursor: pointer;\n margin-right: 0.5rem;\n}","////\n/// Upload Main\n/// @group upload\n////\n\n/* ¯¯¯¯¯¯¯¯¯ *\\\n UPLOAD\n\\* ˍˍˍˍˍˍˍˍˍ */\n\n@use 'module/path';\n@use 'module/shame/media-query';\n\n@include path.to-dist(2);\n@include media-query.order;\n\n@import 'index';\n@import 'style/module';\n","////\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
|