TP_JO2024/home/dist/component/badge/badge.main.min.css

7 lines
10 KiB
CSS
Raw Normal View History

2024-03-27 17:19:37 +01:00
/*!
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/.fr-badge{--text-spacing:0;--title-spacing:0;--underline-img:none;--hover-tint:var(--hover);--idle:transparent;--hover:var(--background-contrast-grey-hover);--active:var(--background-contrast-grey-active);align-items:center;background-color:var(--background-contrast-grey);border-radius:.25rem;color:var(--text-default-grey);display:inline-flex;flex-direction:row;font-size:.875rem;font-weight:700;line-height:1.5rem;max-height:none;max-width:100%;min-height:1.5rem;overflow:initial;padding:0 .5rem;text-transform:uppercase;width:-moz-fit-content;width:fit-content}.fr-badge:after,.fr-badge:before{display:block}.fr-badge--icon-left[class*=" fr-fi-"],.fr-badge--icon-left[class*=" fr-icon-"],.fr-badge--icon-left[class^=fr-fi-],.fr-badge--icon-left[class^=fr-icon-]{max-height:none;max-width:100%;overflow:initial}.fr-badge--icon-left[class*=" fr-fi-"]:before,.fr-badge--icon-left[class*=" fr-icon-"]:before,.fr-badge--icon-left[class^=fr-fi-]:before,.fr-badge--icon-left[class^=fr-icon-]:before{--icon-size:1rem;margin-left:-.125rem;margin-right:.25rem}.fr-badge[class*=" fr-fi-"]:not([class*=fr-badge--icon-]):before,.fr-badge[class*=" fr-icon-"]:not([class*=fr-badge--icon-]):before,.fr-badge[class^=fr-fi-]:not([class*=fr-badge--icon-]):before,.fr-badge[class^=fr-icon-]:not([class*=fr-badge--icon-]):before{content:none}.fr-badge--sm{font-size:.75rem;line-height:1.25rem;min-height:1.125rem;padding:0 .375rem}.fr-badge--sm,.fr-badge--sm.fr-badge--icon-left[class*=" fr-fi-"],.fr-badge--sm.fr-badge--icon-left[class*=" fr-icon-"],.fr-badge--sm.fr-badge--icon-left[class^=fr-fi-],.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-]{max-height:none;max-width:100%;overflow:initial}.fr-badge--sm.fr-badge--icon-left[class*=" fr-fi-"]:before,.fr-badge--sm.fr-badge--icon-left[class*=" fr-icon-"]:before,.fr-badge--sm.fr-badge--icon-left[class^=fr-fi-]:before,.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-]:before{--icon-size:0.75rem;margin-left:-.09375rem;margin-right:.25rem}.fr-badge--sm[class*=" fr-fi-"]:not([class*=fr-badge--icon-]):before,.fr-badge--sm[class*=" fr-icon-"]:not([class*=fr-badge--icon-]):before,.fr-badge--sm[class^=fr-fi-]:not([class*=fr-badge--icon-]):before,.fr-badge--sm[class^=fr-icon-]:not([class*=fr-badge--icon-]):before{content:none}.fr-badge:before{--icon-size:1rem;background-color:currentColor;display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:-.125rem;margin-right:.25rem;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:calc((.75em - var(--icon-size))*.5);width:var(--icon-size)}.fr-badge--sm:before{--icon-size:0.75rem;margin-left:-.09375rem;margin-right:.25rem}.fr-badge--sm.fr-badge--info:before,.fr-badge.fr-badge--info:before{-webkit-mask-image:url(../../icons/system/fr--info-fill.svg);mask-image:url(../../icons/system/fr--info-fill.svg)}.fr-badge--sm.fr-badge--success:before,.fr-badge.fr-badge--success:before{-webkit-mask-image:url(../../icons/system/fr--success-fill.svg);mask-image:url(../../icons/system/fr--success-fill.svg)}.fr-badge--sm.fr-badge--error:before,.fr-badge.fr-badge--error:before{-webkit-mask-image:url(../../icons/system/fr--error-fill.svg);mask-image:url(../../icons/system/fr--error-fill.svg)}.fr-badge--sm.fr-badge--warning:before,.fr-badge.fr-badge--warning:before{-webkit-mask-image:url(../../icons/system/fr--warning-fill.svg);mask-image:url(../../icons/system/fr--warning-fill.svg)}.fr-badge--sm.fr-badge--new:before,.fr-badge.fr-badge--new:before{-webkit-mask-image:url(../../icons/weather/flashlight-fill.svg);mask-image:url(../../icons/weather/flashlight-fill.svg)}.fr-badge--error:before,.fr-badge--info:before,.fr-badge--new:before,.fr-badge--sm--error:before,.fr-badge--sm--info:before,.fr-badge--sm--new:before,.fr-badge--sm--success:before,.fr-badge--sm--warning:before,.fr-badge--success:before,.fr-badge--warning:before{content:""}.fr-badge--sm.fr-badge--no-icon:before,.fr-badge.fr-badge--no-icon:before{content:none}.fr-badges-group{--ul-type:none;--ol-type:none;--ul-start:0;--ol-start:0;--xl-block:0;--li-bottom:0;--ol-content:none;display:flex;flex-wrap:wrap;margin-b
/*! media sm */}@media (min-width:48em){
/*! media md */}@media (min-width:62em){
/*! media lg */}@media (min-width:78em){
/*! media xl */}