1 line
20 KiB
Text
1 line
20 KiB
Text
|
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/core/style/action/tool/_hover.scss","%3Cinput%20css%20FZRq1S%3E","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","file:///Users/ket/Documents/work/dsfr/module/legacy/mixin/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/icon/tool/_legacy.scss","file:///Users/ket/Documents/work/dsfr/src/core/style/spacing/tool/_size.scss","file:///Users/ket/Documents/work/dsfr/src/component/translate/style/_scheme.scss","file:///Users/ket/Documents/work/dsfr/module/color/mixin/_element.scss"],"names":[],"mappings":"AAAA;;GAAA;ACsCE;EACE,mCAAA;ACWJ;;ADRE;EACE,oCAAA;ACUJ;ACtCI;ECRI,cAAA;AFLR;ACaI;ECRI,cAAA;AFFR;ACUI;ECRI,cAAA;AFCR;ACOI;ECRI,cAAA;AFIR;AGFI;ECOF;ICME,6BAAA;IACA,qBAAA;IACA,4BAAA;IARA,2DAFI;IC4CF,WAAA;IAGA,YAAA;EN5CJ;;EIDA;ICME,6BAAA;IACA,qBAAA;IACA,4BAAA;IARA,iEAFI;IC4CF,WAAA;IAGA,YAAA;ENhCJ;;EOnBI;IC+BF,cAAA;IAAA,yBAAA;ERAF;;EOvBI;IC6PE,gBAAA;ERtNN;AApBF","file":"translate.legacy.css","sourcesContent":[null,"////\n/// Core Tool : Action Hover\n/// @group core\n////\n\n@mixin hover-media-query () {\n @media (hover: hover) and (pointer: fine) {\n @content;\n }\n}\n\n@mixin hover-type-selector($elements, $type: all, $check-disabled: false) {\n $selectors: ();\n\n @each $element, $setting in $elements {\n $hover: map-get($setting, hover);\n $selector: map-get($setting, selector);\n @if $hover {\n @if $type == map-get($hover, type) or $type == all {\n $nested: $selector;\n @if $check-disabled {\n $nested: nest($selector, map-get($hover, selector));\n }\n $associated: $nested;\n @if & != null and '#{&}' != ':root' {\n $associated: selector-associate('#{&}', $nested);\n }\n $selectors: append($selectors, $associated, 'comma');\n }\n }\n }\n\n @at-root #{$selectors} {\n @content;\n }\n}\n\n@mixin hover-tint () {\n &:hover {\n background-color: var(--hover-tint);\n }\n\n &:active {\n background-color: var(--active-tint);\n }\n}\n\n@mixin enable-tint () {\n @include tint-enabled(true, true);\n}\n\n@mixin disable-tint() {\n @include tint-enabled(false, false);\n}\n\n@mixin tint-enabled ($hover: null, $active: null) {\n @if $hover {\n --hover-tint: var(--hover);\n }\n @else if $hover == false {\n --hover-tint: var(--idle);\n }\n\n @if $active {\n --active-tint: var(--active);\n }\n @else if $active == false {\n --active-tint: var(--idle);\n }\n}\n\n@mixin hover-brighten ($element, $img) {\n @at-root #{$element} {\n &:hover {\n #{$img} {\n --brightness: calc(100% + var(--brighten) * #{$hover-brighten});\n }\n }\n\n &:active {\n #{$img} {\n --brightness: calc(100% + var(--brighten) * #{$hover-brighten * 2});\n }\n }\n }\n}\n\n@mixin hover-brighten-filter () {\n filter: brightness(var(--brightness));\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@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .fr-translate .fr-translate__btn::before {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n }\n .fr-translate .fr-translate__btn::before {\n background-image: url(\"../../icons/editor/translate-2.svg\");\n }\n .fr-translate .fr-translate__btn::before {\n width: 1rem;\n height: 1rem;\n }\n .fr-translate .fr-translate__btn::after {\n background-color: transparent;\n background-size: 100%;\n background-repeat: no-repeat;\n }\n .fr-translate .fr-translate__btn::after {\n background-image: url(\"../../icons/system/arrow-down-s-line.svg\");\n }\n .fr-translate .fr-translate__btn::after {\n width: 1rem;\n heigh
|