/*! * DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */ @charset "UTF-8"; /* ¯¯¯¯¯¯¯¯¯ *\ SHARE \* ˍˍˍˍˍˍˍˍˍ */ .fr-share { display: flex; flex-direction: column; --text-spacing: 0 0 1rem; --title-spacing: 0 0 1rem; } .fr-share__title { font-size: 1rem; line-height: 1.5rem; order: 1; } .fr-share__text { font-size: 0.75rem; line-height: 1.25rem; order: 3; color: var(--text-mention-grey); } .fr-share .fr-btns-group { width: auto; order: 2; } .fr-share .fr-btns-group .fr-btn { width: auto; max-width: 100%; margin-left: 0.5rem; margin-right: 0.5rem; justify-content: flex-start; } .fr-share .fr-btns-group > li { display: inline-flex; max-width: 100%; width: auto; } .fr-share .fr-btns-group:not(.fr-btns-group--sm):not(.fr-btns-group--lg) .fr-btn:not([class^=fr-icon-]):not([class*=" fr-icon-"]):not([class^=fr-fi-]):not([class*=" fr-fi-"]) { font-size: 1rem; line-height: 1.5rem; min-height: 2.5rem; padding: 0.5rem 1rem; overflow: hidden; white-space: nowrap; max-width: 2.5rem; max-height: 2.5rem; padding-left: 0.5rem; padding-right: 0.5rem; } .fr-share .fr-btns-group:not(.fr-btns-group--sm):not(.fr-btns-group--lg) .fr-btn:not([class^=fr-icon-]):not([class*=" fr-icon-"]):not([class^=fr-fi-]):not([class*=" fr-fi-"])::before { margin-left: 0; margin-right: 0.5rem; flex: 0 0 auto; display: inline-block; vertical-align: calc((0.75em - var(--icon-size)) * 0.5); background-color: currentColor; width: var(--icon-size); height: var(--icon-size); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; --icon-size: 1.5rem; content: ""; } .fr-btn--facebook::before { -webkit-mask-image: url("../../icons/logo/facebook-circle-line.svg"); mask-image: url("../../icons/logo/facebook-circle-line.svg"); } .fr-btn--linkedin::before { -webkit-mask-image: url("../../icons/logo/linkedin-box-line.svg"); mask-image: url("../../icons/logo/linkedin-box-line.svg"); } .fr-btn--mastodon::before { -webkit-mask-image: url("../../icons/logo/mastodon-line.svg"); mask-image: url("../../icons/logo/mastodon-line.svg"); } .fr-btn--threads::before { -webkit-mask-image: url("../../icons/logo/threads-line.svg"); mask-image: url("../../icons/logo/threads-line.svg"); } .fr-btn--twitter::before { -webkit-mask-image: url("../../icons/logo/twitter-line.svg"); mask-image: url("../../icons/logo/twitter-line.svg"); } .fr-btn--twitter-x::before { -webkit-mask-image: url("../../icons/logo/twitter-x-line.svg"); mask-image: url("../../icons/logo/twitter-x-line.svg"); } .fr-btn--mail::before { -webkit-mask-image: url("../../icons/business/mail-line.svg"); mask-image: url("../../icons/business/mail-line.svg"); } .fr-btn--copy::before { -webkit-mask-image: url("../../icons/business/links-fill.svg"); mask-image: url("../../icons/business/links-fill.svg"); } .fr-share__group { --ul-type: none; --ol-type: none; --ul-start: 0; --ol-start: 0; --xl-block: 0; --li-bottom: 0; --ol-content: none; margin-left: -0.5rem; margin-right: -0.5rem; width: auto; order: 2; display: flex; } .fr-share__group .fr-btn { width: auto; max-width: 100%; margin-left: 0.5rem; margin-right: 0.5rem; } .fr-share__group > li { display: inline-flex; max-width: 100%; width: auto; } .fr-share__link { --underline-img: none; --hover-tint: var(--hover); display: inline-flex; margin-left: 0.5rem; margin-right: 0.5rem; margin-bottom: 1rem; background-color: transparent; --hover: inherit; --active: inherit; color: var(--text-action-high-blue-france); box-shadow: inset 0 0 0 1px var(--border-default-grey); } .fr-share__link--facebook { font-size: 1rem; line-height: 1.5rem; min-height: 2.5rem; padding: 0.5rem 1rem; overflow: hidden; white-space: nowrap; max-width: 2.5rem; max-height: 2.5rem; padding-left: 0.5rem; padding-right: 0.5rem; } .fr-share__link--facebook::before { --icon-size: 1.5rem; margin-left: 0; margin-right: 0.5rem; flex: 0 0 auto; display: inline-block; vertical-align: calc((0.75em - var(--icon-size)) * 0.5); background-color: currentColor; width: var(--icon-size); height: var(--icon-size); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-image: url("../../icons/logo/facebook-circle-line.svg"); mask-image: url("../../icons/logo/facebook-circle-line.svg"); content: ""; } .fr-share__link--twitter { font-size: 1rem; line-height: 1.5rem; min-height: 2.5rem; padding: 0.5rem 1rem; overflow: hidden; white-space: nowrap; max-width: 2.5rem; max-height: 2.5rem; padding-left: 0.5rem; padding-right: 0.5rem; } .fr-share__link--twitter::before { --icon-size: 1.5rem; margin-left: 0; margin-right: 0.5rem; flex: 0 0 auto; display: inline-block; vertical-align: calc((0.75em - var(--icon-size)) * 0.5); background-color: currentColor; width: var(--icon-size); height: var(--icon-size); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-image: url("../../icons/logo/twitter-line.svg"); mask-image: url("../../icons/logo/twitter-line.svg"); content: ""; } .fr-share__link--linkedin { font-size: 1rem; line-height: 1.5rem; min-height: 2.5rem; padding: 0.5rem 1rem; overflow: hidden; white-space: nowrap; max-width: 2.5rem; max-height: 2.5rem; padding-left: 0.5rem; padding-right: 0.5rem; } .fr-share__link--linkedin::before { --icon-size: 1.5rem; margin-left: 0; margin-right: 0.5rem; flex: 0 0 auto; display: inline-block; vertical-align: calc((0.75em - var(--icon-size)) * 0.5); background-color: currentColor; width: var(--icon-size); height: var(--icon-size); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-image: url("../../icons/logo/linkedin-box-line.svg"); mask-image: url("../../icons/logo/linkedin-box-line.svg"); content: ""; } .fr-share__link--mail { font-size: 1rem; line-height: 1.5rem; min-height: 2.5rem; padding: 0.5rem 1rem; overflow: hidden; white-space: nowrap; max-width: 2.5rem; max-height: 2.5rem; padding-left: 0.5rem; padding-right: 0.5rem; } .fr-share__link--mail::before { --icon-size: 1.5rem; margin-left: 0; margin-right: 0.5rem; flex: 0 0 auto; display: inline-block; vertical-align: calc((0.75em - var(--icon-size)) * 0.5); background-color: currentColor; width: var(--icon-size); height: var(--icon-size); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-image: url("../../icons/business/mail-line.svg"); mask-image: url("../../icons/business/mail-line.svg"); content: ""; } .fr-share__link--copy { font-size: 1rem; line-height: 1.5rem; min-height: 2.5rem; padding: 0.5rem 1rem; overflow: hidden; white-space: nowrap; max-width: 2.5rem; max-height: 2.5rem; padding-left: 0.5rem; padding-right: 0.5rem; } .fr-share__link--copy::before { --icon-size: 1.5rem; margin-left: 0; margin-right: 0.5rem; flex: 0 0 auto; display: inline-block; vertical-align: calc((0.75em - var(--icon-size)) * 0.5); background-color: currentColor; width: var(--icon-size); height: var(--icon-size); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-image: url("../../icons/business/links-fill.svg"); mask-image: url("../../icons/business/links-fill.svg"); content: ""; } .fr-share .fr-btn { background-color: transparent; --hover: inherit; --active: inherit; color: var(--text-action-high-blue-france); box-shadow: inset 0 0 0 1px var(--border-default-grey); } .fr-share .fr-btn:disabled, .fr-share a.fr-btn:not([href]) { color: var(--text-disabled-grey); box-shadow: inset 0 0 0 1px var(--border-disabled-grey); background-color: transparent; --hover: inherit; --active: inherit; } .fr-share__link:disabled, a.fr-share__link:not([href]) { color: var(--text-disabled-grey); box-shadow: inset 0 0 0 1px var(--border-disabled-grey); background-color: transparent; --hover: inherit; --active: inherit; } @media (min-width: 36em) { /*! media sm */ /*! media sm */ } @media (min-width: 48em) { /*! media md */ .fr-share__text { max-width: 18rem; } /*! media md */ } @media (min-width: 62em) { /*! media lg */ /*! media lg */ } @media (min-width: 78em) { /*! media xl */ /*! media xl */ } @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { .fr-share__group > li { list-style: none; } .fr-share .fr-btns-group:not(.fr-btns-group--sm):not(.fr-btns-group--lg) .fr-btn:not([class^=fr-icon-]):not([class*=" fr-icon-"]):not([class^=fr-fi-]):not([class*=" fr-fi-"])::before, .fr-share .fr-btns-group:not(.fr-btns-group--sm):not(.fr-btns-group--lg) .fr-btn:not([class^=fr-icon-]):not([class*=" fr-icon-"]):not([class^=fr-fi-]):not([class*=" fr-fi-"])::after { background-color: transparent; background-size: 100%; background-repeat: no-repeat; width: 1.5rem; height: 1.5rem; } .fr-share .fr-btn--facebook::before { background-image: url("../../icons/logo/facebook-circle-line.svg"); } .fr-share .fr-btn--linkedin::before { background-image: url("../../icons/logo/linkedin-box-line.svg"); } .fr-share .fr-btn--mastodon::before { background-image: url("../../icons/logo/mastodon-line.svg"); } .fr-share .fr-btn--threads::before { background-image: url("../../icons/logo/threads-line.svg"); } .fr-share .fr-btn--twitter::before { background-image: url("../../icons/logo/twitter-line.svg"); } .fr-share .fr-btn--twitter-x::before { background-image: url("../../icons/logo/twitter-x-line.svg"); } .fr-share .fr-btn--mail::before { background-color: transparent; background-size: 100%; background-repeat: no-repeat; background-image: url("../../icons/business/mail-line.svg"); width: 1.5rem; height: 1.5rem; } .fr-share .fr-btn--copy::before { background-color: transparent; background-size: 100%; background-repeat: no-repeat; background-image: url("../../icons/business/links-fill.svg"); width: 1.5rem; height: 1.5rem; } .fr-share .fr-btn { background-color: transparent; color: #000091; box-shadow: inset 0 0 0 1px #ddd; } .fr-share .fr-btn:hover { background-color: rgba(0, 0, 0, 0.05); } .fr-share .fr-btn:active { background-color: rgba(0, 0, 0, 0.1); } .fr-share .fr-btn:disabled, .fr-share a.fr-btn:not([href]) { color: #929292; box-shadow: inset 0 0 0 1px #e5e5e5; background-color: transparent; } .fr-share .fr-btn:disabled:hover, .fr-share a.fr-btn:not([href]):hover { background-color: rgba(0, 0, 0, 0.05); } .fr-share .fr-btn:disabled:active, .fr-share a.fr-btn:not([href]):active { background-color: rgba(0, 0, 0, 0.1); } .fr-share__text { color: #666; } .fr-share__link { background-color: transparent; color: #000091; box-shadow: inset 0 0 0 1px #ddd; } .fr-share__link:hover { background-color: rgba(0, 0, 0, 0.05); } .fr-share__link:active { background-color: rgba(0, 0, 0, 0.1); } .fr-share__link:disabled, a.fr-share__link:not([href]) { color: #929292; box-shadow: inset 0 0 0 1px #e5e5e5; background-color: transparent; } .fr-share__link:disabled:hover, a.fr-share__link:not([href]):hover { background-color: rgba(0, 0, 0, 0.05); } .fr-share__link:disabled:active, a.fr-share__link:not([href]):active { background-color: rgba(0, 0, 0, 0.1); } } @media print { .fr-share .fr-btn { color: #000091; box-shadow: inset 0 0 0 1px #ddd; } .fr-share .fr-btn:disabled, .fr-share a.fr-btn:not([href]) { color: #929292; box-shadow: inset 0 0 0 1px #e5e5e5; } .fr-share__text { color: #666; } .fr-share { display: none; } } @media print and (-ms-high-contrast: none), print and (-ms-high-contrast: active) { .fr-share .fr-btn { background-color: transparent; } .fr-share .fr-btn:hover { background-color: rgba(0, 0, 0, 0.05); } .fr-share .fr-btn:active { background-color: rgba(0, 0, 0, 0.1); } .fr-share .fr-btn:disabled, .fr-share a.fr-btn:not([href]) { background-color: transparent; } .fr-share .fr-btn:disabled:hover, .fr-share a.fr-btn:not([href]):hover { background-color: rgba(0, 0, 0, 0.05); } .fr-share .fr-btn:disabled:active, .fr-share a.fr-btn:not([href]):active { background-color: rgba(0, 0, 0, 0.1); } }