UNPKG

@codegouvfr/react-dsfr

Version:

French State Design System React integration library

1 lines 1.81 kB
{"version":3,"sources":["<no source>","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/link/print.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/core/style/selector/tool/_pseudo.scss","file:///Users/ket/Documents/work/dsfr/src/dsfr/component/link/style/_print.scss","%3Cinput%20css%20ZXoeAR%3E"],"names":[],"mappings":"AAAA;;GAAA;ACKA;ECWE;;ICTE,iCAAA;IACA,yBAAA;ECJF;AACF","file":"link.print.css","sourcesContent":[null,"////\n/// Link Print\n/// @group link\n////\n\n@media print {\n @import 'index';\n @import 'style/print';\n}\n","////\n/// Core Tool : Selector pseudo\n/// @group core\n////\n\n@mixin _pseudo($type:before, $content:null, $display:null) {\n @if $type != after and $type != before and $type != marker and $type != (before after) {\n @error '$type must be before or after element';\n }\n\n $selector: ();\n\n @each $pseudo in $type {\n $selector: append($selector, '&::#{$pseudo}', 'comma');\n }\n\n #{$selector} {\n\n @if $content != null {\n content: $content;\n }\n\n @if $display != null {\n display: #{$display};\n }\n\n @content;\n }\n}\n\n@mixin before($content: null, $display: null) {\n @include _pseudo(before, $content, $display) {\n @content;\n }\n}\n\n@mixin after($content: null, $display: null) {\n @include _pseudo(after, $content, $display) {\n @content;\n }\n}\n\n@mixin marker($content: null, $display: null) {\n @include _pseudo(marker, $content, $display) {\n @content;\n }\n}\n","////\n/// Link Print\n/// @group Link\n////\n\n#{ns(link)} {\n @include _pseudo(before after) {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n}\n","@media print {\n .fr-link::before, .fr-link::after {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n}"]}