TP_JO2024/home/dist/component/alert/alert.main.min.css
2024-03-27 17:19:37 +01:00

7 lines
No EOL
5 KiB
CSS

/*!
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/.fr-alert{--title-spacing:0 0 0.25rem;--text-spacing:0 0 0.25rem;background-image:linear-gradient(0deg,var(--border-plain-grey),var(--border-plain-grey)),linear-gradient(0deg,var(--border-plain-grey),var(--border-plain-grey)),linear-gradient(0deg,var(--border-plain-grey),var(--border-plain-grey)),linear-gradient(0deg,var(--border-plain-grey),var(--border-plain-grey)),linear-gradient(0deg,var(--background-flat-grey),var(--background-flat-grey));background-position:0 0,100% 0,0 100%,0 0,100% 100%;background-repeat:no-repeat,no-repeat,no-repeat;background-size:100% 1px,1px 100%,100% 1px,2.5rem 100%;padding:1rem 2.25rem .75rem 3.5rem;position:relative}.fr-alert:before{--icon-size:1.5rem;background-color:currentColor;color:var(--text-inverted-grey);display:inline-block;flex:0 0 auto;height:var(--icon-size);left:0;margin:1rem .5rem;-webkit-mask-size:100% 100%;mask-size:100% 100%;position:absolute;top:0;vertical-align:calc((.75em - var(--icon-size))*.5);width:var(--icon-size)}.fr-alert__title{font-size:1.125rem;font-weight:700;line-height:1.5rem}.fr-alert .fr-btn--close{font-size:.875rem;line-height:1.5rem;max-height:2rem;max-width:2rem;min-height:2rem;overflow:hidden;padding:.25rem .5rem;position:absolute;right:.25rem;top:.25rem;white-space:nowrap}.fr-alert .fr-btn--close:before{--icon-size:1rem;background-color:currentColor;content:"";display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:0;margin-right:.5rem;-webkit-mask-image:url(../../icons/system/close-line.svg);mask-image:url(../../icons/system/close-line.svg);-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:calc((.75em - var(--icon-size))*.5);width:var(--icon-size)}.fr-alert+.fr-alert{margin-top:1rem}.fr-alert--info:before{-webkit-mask-image:url(../../icons/system/fr--info-fill.svg);mask-image:url(../../icons/system/fr--info-fill.svg)}.fr-alert--success:before{-webkit-mask-image:url(../../icons/system/fr--success-fill.svg);mask-image:url(../../icons/system/fr--success-fill.svg)}.fr-alert--error:before{-webkit-mask-image:url(../../icons/system/fr--error-fill.svg);mask-image:url(../../icons/system/fr--error-fill.svg)}.fr-alert--warning:before{-webkit-mask-image:url(../../icons/system/fr--warning-fill.svg);mask-image:url(../../icons/system/fr--warning-fill.svg)}.fr-alert--error:before,.fr-alert--info:before,.fr-alert--success:before,.fr-alert--warning:before{content:""}.fr-alert--sm{padding:.5rem 2.25rem .25rem 3rem}.fr-alert--sm:before{margin:.5rem}.fr-alert .fr-link--close{align-items:center;font-size:.875rem;line-height:1.5rem;max-height:2rem;max-width:2rem;min-height:2rem;overflow:hidden;padding:.25rem .5rem;position:absolute;right:1.25rem;top:.25rem;white-space:nowrap}.fr-alert .fr-link--close:before{--icon-size:1rem;background-color:currentColor;content:"";display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:0;margin-right:.5rem;-webkit-mask-image:url(../../icons/system/close-line.svg);mask-image:url(../../icons/system/close-line.svg);-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:calc((.75em - var(--icon-size))*.5);width:var(--icon-size)}.fr-alert--info{background-image:linear-gradient(0deg,var(--border-plain-info),var(--border-plain-info)),linear-gradient(0deg,var(--border-plain-info),var(--border-plain-info)),linear-gradient(0deg,var(--border-plain-info),var(--border-plain-info)),linear-gradient(0deg,var(--border-plain-info),var(--border-plain-info)),linear-gradient(0deg,var(--background-flat-info),var(--background-flat-info))}.fr-alert--error{background-image:linear-gradient(0deg,var(--border-plain-error),var(--border-plain-error)),linear-gradient(0deg,var(--border-plain-error),var(--border-plain-error)),linear-gradient(0deg,var(--border-plain-error),var(--border-plain-error)),linear-gradient(0deg,var(--border-plain-error),var(--border-plain-error)),linear-gradient(0deg,var(--background-flat-error),var(--background-flat-error))}.fr-alert--success{background-image:linear-gradient(0deg,var(--border-plain-success),var(--border-plain-success)),linear-gradient(0deg,var(--border-plain-success),var(--border-plain-success)),linear-gradient(0deg,var(--border-plain-success),var(--border-plain-success)),linear-gradient(0deg,var(--border-plain-success),var(--border-plain-success)),linear-gradient(0deg,var(--background-flat-success),var(--background-flat-success))}.fr-alert--warning{background-image:linear-gradient(0deg,var(--border-plain-warning),var(--border-plain-warning)),linear-gradient(0deg,var(--border-plain-warning),var(--border-plain-warning)),linear-gradient(0deg,var(--border-plain-warning),var(--border-plain-warning)),linear-gradient(0deg,var(--border-plain-warning),var(--border-plain-warning)),linear-gradient(0deg,var(--background-flat-warning),var(--background-flat-warning))}@media (min-width:36em){
/*! media sm */}@media (min-width:48em){
/*! media md */.fr-alert__title{font-size:1.25rem;line-height:1.75rem}}@media (min-width:62em){
/*! media lg */}@media (min-width:78em){
/*! media xl */}