TP_JO2024/home/dist/component/alert/alert.min.css

11 lines
8.2 KiB
CSS
Raw Permalink 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-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(--bo
/*! media sm */
/*! media sm */}@media (min-width:48em){
/*! media md */.fr-alert__title{font-size:1.25rem;line-height:1.75rem}
/*! media md */}@media (min-width:62em){
/*! media lg */
/*! media lg */}@media (min-width:78em){
/*! media xl */
/*! media xl */}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.fr-alert:after,.fr-alert:before{background-color:transparent;background-repeat:no-repeat;background-size:100%;height:1.5rem;width:1.5rem}.fr-alert p,.fr-alert__title{margin:0 0 .25rem}.fr-alert--info:before{background-image:url(../../icons/system/fr--info-fill.svg)}.fr-alert--success:before{background-image:url(../../icons/system/fr--success-fill.svg)}.fr-alert--error:before{background-image:url(../../icons/system/fr--error-fill.svg)}.fr-alert--warning:before{background-image:url(../../icons/system/fr--warning-fill.svg)}.fr-alert .fr-btn--close:after,.fr-alert .fr-btn--close:before,.fr-alert .fr-link--close:after,.fr-alert .fr-link--close:before{background-color:transparent;background-image:url(../../icons/system/close-line.svg);background-repeat:no-repeat;background-size:100%;height:1rem;width:1rem}.fr-alert{background-image:linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a)}.fr-alert:before{color:#fff}.fr-alert--info{background-image:linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb)}.fr-alert--error{background-image:linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500)}.fr-alert--success{background-image:linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c)}.fr-alert--warning{background-image:linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000)}}@media print{.fr-alert{background-image:linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a),linear-gradient(0deg,#3a3a3a,#3a3a3a)}.fr-alert:before{color:#fff}.fr-alert--info{background-image:linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb),linear-gradient(0deg,#0063cb,#0063cb)}.fr-alert--error{background-image:linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500),linear-gradient(0deg,#ce0500,#ce0500)}.fr-alert--success{background-image:linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c),linear-gradient(0deg,#18753c,#18753c)}.fr-alert--warning{background-image:linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000),linear-gradient(0deg,#b34000,#b34000)}}