@codegouvfr/react-dsfr
Version:
French State Design System React integration library
77 lines (66 loc) • 1.42 kB
CSS
/*!
* DSFR v1.12.1 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/
@charset "UTF-8";
@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) {
/**
* Reset liste à puce
*/
.fr-accordions-group ul {
list-style-type: none;
}
.fr-accordions-group ol {
list-style-type: none;
}
.fr-accordions-group ul,
.fr-accordions-group ol {
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
ul,
ol {
padding-left: 1rem;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.fr-accordion__btn::before,
.fr-accordion__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-accordion__btn[aria-expanded=true]::after {
transform: rotate(-180deg);
}
.fr-accordion::before {
box-shadow: inset 0 1px 0 0 #ddd, 0 1px 0 0 #ddd;
}
.fr-accordion__btn {
color: #000091;
}
.fr-accordion__btn[aria-expanded=true] {
background-color: #e3e3fd;
}
}