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

1 line
24 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/tooltip/style/_module.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.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/src/core/style/spacing/tool/_space.scss","%3Cinput%20css%20kAmMZY%3E","file:///Users/ket/Documents/work/dsfr/src/component/tooltip/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/elevation/mixin/_shadow.scss","file:///Users/ket/Documents/work/dsfr/module/elevation/mixin/_z-index.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,YACE,WAAA,CAYA,iKAAA,CADA,2BAAA,CAEA,6EAAA,CCoBE,8BAAA,CD9BF,aAAA,CEeA,gBAAA,CAGE,mBAAA,CCHE,kDAAA,CHXJ,SAAA,CIkBE,2BAfE,CJAJ,eAAA,CADA,6CAAA,CADA,kBKcF,CLPE,oCAEE,YAAA,CACA,SKQJ,CLJI,iCAGE,iDAAA,CIJA,oBAXA,CAWA,mBCUN,CC3BI,yBL6BA,qGAAA,CMpCA,yCAAA,CCQE,kCHmCN,CC/BQ,mDACE,8BLuBN,oeIWF,CC9BQ,iCLmBN,8dIcF,CACF,CIzCI;ECRI,cAAA,CLDR,CISI;ECRI,cAAA,CLER,CIMI;ECRI,cAAA,CLKR,CIGI;ECRI,cAAA,CLQR","file":"tooltip.main.min.css","sourcesContent":[null,"////\n/// Tooltip Module : tooltip\n/// @group tooltip\n////\n\n@use 'module/spacing';\n\n#{ns(tooltip)} {\n --arrow-x: 0;\n // TODO : Add Sass lint rule to allow decimal value into calc() function [https://stylelint.io/user-guide/rules/unit-no-unknown/]\n $decimalVUnity: 1.5v;\n display: block;\n @include max-width('min(96v, calc((100vw - 8v) * 2 / 3))');\n @include padding(2v 2v 5v);\n @include text-style(xs);\n opacity: 1;\n visibility: visible;\n transition: opacity 0s 0.15s, visibility 0s 0.15s;\n text-align: left;\n background-repeat: no-repeat;\n background-position: spacing.space(calc(50% + var(--arrow-x)) calc(100% - 2v)), spacing.space(calc(50% + var(--arrow-x)) calc(100% - $decimalVUnity)), spacing.space(50% calc(100% - 3v)), spacing.space(50% calc(100% - 3v));\n background-size: spacing.space(2v 1.5v), spacing.space(2v 1.5v), 100% 1px, spacing.space(100% calc(100% - 3v));\n\n &:not(&--shown) {\n // transition in/out\n display: none;\n opacity: 0;\n }\n\n &#{ns(placement)} {\n &--bottom {\n @include padding-top(5v);\n @include padding-bottom(2v);\n background-position-y: spacing.space('2v, 1.5v, 3v, 3v');\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