@codegouvfr/react-dsfr
Version:
French State Design System React integration library
76 lines (66 loc) • 2.01 kB
CSS
/*!
* DSFR v1.12.1 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/
@media (min-width: 36em) {
/*! media sm */
}
@media (min-width: 48em) {
/*! media md */
}
@media (min-width: 62em) {
/*! media lg */
}
@media (min-width: 78em) {
/*! media xl */
}
@media screen and (min-width: 0\0) and (min-resolution: 72dpi) {
.fr-consent-service__collapse .fr-consent-service__collapse-btn {
text-decoration: underline;
}
.fr-consent-service__collapse .fr-consent-service__collapse-btn::before,
.fr-consent-service__collapse .fr-consent-service__collapse-btn::after {
background-color: transparent;
background-size: 100%;
background-repeat: no-repeat;
background-image: url("../../icons/system/arrow-down-s-line.svg");
width: 1rem;
height: 1rem;
}
.fr-consent-service__collapse .fr-consent-service__collapse-btn[aria-expanded=true]::before,
.fr-consent-service__collapse .fr-consent-service__collapse-btn[aria-expanded=true]::after {
background-color: transparent;
background-size: 100%;
background-repeat: no-repeat;
background-image: url("../../icons/system/arrow-up-s-line.svg");
width: 1rem;
height: 1rem;
}
.fr-consent-placeholder {
background-color: #eee;
}
.fr-consent-banner {
z-index: 1500;
background-color: #f6f6f6;
box-shadow: 0 0 0 1px rgba(0, 0, 18, 0.16);
box-shadow: inset 0 0 0 1px #ddd;
}
.fr-consent-manager__header,
.fr-consent-service {
box-shadow: inset 0 -1px 0 0 #ddd;
color: #3a3a3a;
}
.fr-consent-manager__header .fr-radio-group + .fr-radio-group::before,
.fr-consent-service .fr-radio-group + .fr-radio-group::before {
box-shadow: inset 0 0 0 1px #ddd;
}
.fr-consent-service__title {
color: #161616;
}
.fr-consent-service:last-of-type,
.fr-consent-service .fr-consent-service {
box-shadow: none;
}
.fr-consent-service .fr-consent-service__collapse-btn {
color: #000091;
}
}