final
This commit is contained in:
parent
36bd9d3e21
commit
0dd1cd7a1c
2042 changed files with 383171 additions and 73 deletions
home/dist/component
README.md
accordion
README.mdaccordion.cssaccordion.css.mapaccordion.legacy.cssaccordion.legacy.css.mapaccordion.legacy.min.cssaccordion.legacy.min.css.mapaccordion.main.cssaccordion.main.css.mapaccordion.main.min.cssaccordion.main.min.css.mapaccordion.min.cssaccordion.min.css.mapaccordion.module.jsaccordion.module.js.mapaccordion.module.min.jsaccordion.module.min.js.mapaccordion.nomodule.jsaccordion.nomodule.js.mapaccordion.nomodule.min.jsaccordion.nomodule.min.js.mapaccordion.print.cssaccordion.print.css.mapaccordion.print.min.cssaccordion.print.min.css.map
alert
README.mdalert.cssalert.css.mapalert.legacy.cssalert.legacy.css.mapalert.legacy.min.cssalert.legacy.min.css.mapalert.main.cssalert.main.css.mapalert.main.min.cssalert.main.min.css.mapalert.min.cssalert.min.css.mapalert.print.cssalert.print.css.mapalert.print.min.cssalert.print.min.css.map
badge
README.mdbadge.cssbadge.css.mapbadge.legacy.cssbadge.legacy.css.mapbadge.legacy.min.cssbadge.legacy.min.css.mapbadge.main.cssbadge.main.css.mapbadge.main.min.cssbadge.main.min.css.mapbadge.min.cssbadge.min.css.mapbadge.print.cssbadge.print.css.mapbadge.print.min.cssbadge.print.min.css.map
breadcrumb
README.mdbreadcrumb.cssbreadcrumb.css.mapbreadcrumb.legacy.cssbreadcrumb.legacy.css.mapbreadcrumb.legacy.min.cssbreadcrumb.legacy.min.css.mapbreadcrumb.main.cssbreadcrumb.main.css.mapbreadcrumb.main.min.cssbreadcrumb.main.min.css.mapbreadcrumb.min.cssbreadcrumb.min.css.mapbreadcrumb.module.jsbreadcrumb.module.js.mapbreadcrumb.module.min.jsbreadcrumb.module.min.js.mapbreadcrumb.nomodule.jsbreadcrumb.nomodule.js.mapbreadcrumb.nomodule.min.jsbreadcrumb.nomodule.min.js.mapbreadcrumb.print.cssbreadcrumb.print.css.mapbreadcrumb.print.min.cssbreadcrumb.print.min.css.map
button
27
home/dist/component/README.md
vendored
Normal file
27
home/dist/component/README.md
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
# component
|
||||
|
||||
## Dépendances
|
||||
```shell
|
||||
component
|
||||
└─ core
|
||||
└─ scheme
|
||||
```
|
||||
|
||||
## Utilisation
|
||||
Afin d’utiliser le composant `component`, il est nécessaire d’ajouter les fichiers de styles et de scripts présents dans le dossier dist dans l'ordre suivant :\n
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
<link href="css/core/core.min.css" rel="stylesheet">
|
||||
<link href="css/component/component.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" nomodule href="js/legacy/legacy.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/core/core.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/core/core.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/scheme/scheme.module.min.js" ></script>
|
||||
<script type="module" href="js/component/component.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/component/component.nomodule.min.js" ></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
31
home/dist/component/accordion/README.md
vendored
Normal file
31
home/dist/component/accordion/README.md
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
# accordion
|
||||
|
||||
L'accordéon permet aux utilisateurs d'afficher et de masquer des sections de contenu présentés dans une page.
|
||||
|
||||
## Dépendances
|
||||
```shell
|
||||
accordion
|
||||
└─ core
|
||||
```
|
||||
|
||||
## Utilisation
|
||||
Afin d’utiliser le composant `accordion`, il est nécessaire d’ajouter les fichiers de styles et de scripts présents dans le dossier dist dans l'ordre suivant :\n
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
<link href="css/core/core.min.css" rel="stylesheet">
|
||||
<link href="css/accordion/accordion.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" nomodule href="js/legacy/legacy.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/core/core.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/core/core.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/accordion/accordion.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/accordion/accordion.nomodule.min.js" ></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Consulter [la documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/accordeon) sur le module Accordéon
|
236
home/dist/component/accordion/accordion.css
vendored
Normal file
236
home/dist/component/accordion/accordion.css
vendored
Normal file
|
@ -0,0 +1,236 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@charset "UTF-8";
|
||||
|
||||
/* ¯¯¯¯¯¯¯¯¯ *\
|
||||
ACCORDION
|
||||
\* ˍˍˍˍˍˍˍˍˍ */
|
||||
.fr-accordion {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fr-accordion::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
box-shadow: inset 0 1px 0 0 var(--border-default-grey), 0 1px 0 0 var(--border-default-grey);
|
||||
}
|
||||
|
||||
.fr-accordion__title {
|
||||
margin: 0;
|
||||
display: block;
|
||||
font-size: unset;
|
||||
line-height: unset;
|
||||
}
|
||||
|
||||
.fr-accordion:focus-within {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.fr-accordion__btn {
|
||||
--text-spacing: 0;
|
||||
--title-spacing: 0;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
font-weight: 500;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 3rem;
|
||||
padding: 0.75rem 1rem;
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
color: var(--text-action-high-blue-france);
|
||||
}
|
||||
|
||||
.fr-accordion__btn::before,
|
||||
.fr-accordion__btn::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fr-accordion__btn::after {
|
||||
|
||||
--icon-size: 1rem;
|
||||
margin-right: -0.125rem;
|
||||
margin-left: 0.25rem;
|
||||
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/system/arrow-down-s-line.svg");
|
||||
mask-image: url("../../icons/system/arrow-down-s-line.svg");
|
||||
content: "";
|
||||
transition: transform 0.3s;
|
||||
margin-right: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.fr-accordion__btn::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-accordion__btn[aria-expanded=true]::after {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
.fr-accordion .fr-collapse {
|
||||
--ul-type: disc;
|
||||
--ol-type: decimal;
|
||||
--ul-start: 1rem;
|
||||
--ol-start: 1.5rem;
|
||||
--xl-block: 0.5rem;
|
||||
--li-bottom: 0.25rem;
|
||||
--xl-base: 1em;
|
||||
--ol-content: counters(li-counter, ".") ". ";
|
||||
transition: visibility 0.3s, padding 0.3s;
|
||||
}
|
||||
|
||||
.fr-accordion .fr-collapse--expanded {
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-accordions-group {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
}
|
||||
|
||||
.fr-accordion__btn[aria-expanded=true] {
|
||||
background-color: var(--background-open-blue-france);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-open-blue-france-hover);
|
||||
--active: var(--background-open-blue-france-active);
|
||||
}
|
||||
@media (min-width: 36em) {
|
||||
/*! media sm */
|
||||
|
||||
/*! media sm */
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
/*! media md */
|
||||
.fr-accordion .fr-collapse {
|
||||
margin: 0 -0.25rem;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
/*! 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) {
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
.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;
|
||||
}
|
||||
|
||||
.fr-accordion__btn::after {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
.fr-accordion .fr-collapse:not(.fr-collapse--expanded) {
|
||||
--collapse-max-height: none !important;
|
||||
--collapse: inherit !important;
|
||||
visibility: visible;
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
1
home/dist/component/accordion/accordion.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
76
home/dist/component/accordion/accordion.legacy.css
vendored
Normal file
76
home/dist/component/accordion/accordion.legacy.css
vendored
Normal file
|
@ -0,0 +1,76 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
}
|
1
home/dist/component/accordion/accordion.legacy.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.legacy.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/accordion/accordion.legacy.min.css
vendored
Normal file
7
home/dist/component/accordion/accordion.legacy.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 (-ms-high-contrast:active),(-ms-high-contrast:none){.fr-accordions-group ol,.fr-accordions-group ul{list-style-type:none}.fr-accordions-group ol,.fr-accordions-group ul{margin-bottom:0;margin-top:0;padding-left:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol,ul{margin-bottom:.5rem;margin-top:.5rem;padding-left:1rem}.fr-accordion__btn:after,.fr-accordion__btn:before{background-color:transparent;background-image:url(../../icons/system/arrow-down-s-line.svg);background-repeat:no-repeat;background-size:100%;height:1rem;width: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}}
|
1
home/dist/component/accordion/accordion.legacy.min.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.legacy.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
144
home/dist/component/accordion/accordion.main.css
vendored
Normal file
144
home/dist/component/accordion/accordion.main.css
vendored
Normal file
|
@ -0,0 +1,144 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@charset "UTF-8";
|
||||
|
||||
/* ¯¯¯¯¯¯¯¯¯ *\
|
||||
ACCORDION
|
||||
\* ˍˍˍˍˍˍˍˍˍ */
|
||||
.fr-accordion {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fr-accordion::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
box-shadow: inset 0 1px 0 0 var(--border-default-grey), 0 1px 0 0 var(--border-default-grey);
|
||||
}
|
||||
|
||||
.fr-accordion__title {
|
||||
margin: 0;
|
||||
display: block;
|
||||
font-size: unset;
|
||||
line-height: unset;
|
||||
}
|
||||
|
||||
.fr-accordion:focus-within {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.fr-accordion__btn {
|
||||
--text-spacing: 0;
|
||||
--title-spacing: 0;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
font-weight: 500;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 3rem;
|
||||
padding: 0.75rem 1rem;
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
color: var(--text-action-high-blue-france);
|
||||
}
|
||||
|
||||
.fr-accordion__btn::before,
|
||||
.fr-accordion__btn::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fr-accordion__btn::after {
|
||||
|
||||
--icon-size: 1rem;
|
||||
margin-right: -0.125rem;
|
||||
margin-left: 0.25rem;
|
||||
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/system/arrow-down-s-line.svg");
|
||||
mask-image: url("../../icons/system/arrow-down-s-line.svg");
|
||||
content: "";
|
||||
transition: transform 0.3s;
|
||||
margin-right: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.fr-accordion__btn::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-accordion__btn[aria-expanded=true]::after {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
.fr-accordion .fr-collapse {
|
||||
--ul-type: disc;
|
||||
--ol-type: decimal;
|
||||
--ul-start: 1rem;
|
||||
--ol-start: 1.5rem;
|
||||
--xl-block: 0.5rem;
|
||||
--li-bottom: 0.25rem;
|
||||
--xl-base: 1em;
|
||||
--ol-content: counters(li-counter, ".") ". ";
|
||||
transition: visibility 0.3s, padding 0.3s;
|
||||
}
|
||||
|
||||
.fr-accordion .fr-collapse--expanded {
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-accordions-group {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
}
|
||||
|
||||
.fr-accordion__btn[aria-expanded=true] {
|
||||
background-color: var(--background-open-blue-france);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-open-blue-france-hover);
|
||||
--active: var(--background-open-blue-france-active);
|
||||
}
|
||||
@media (min-width: 36em) {
|
||||
/*! media sm */
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
/*! media md */
|
||||
.fr-accordion .fr-collapse {
|
||||
margin: 0 -0.25rem;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 62em) {
|
||||
/*! media lg */
|
||||
}
|
||||
@media (min-width: 78em) {
|
||||
/*! media xl */
|
||||
}
|
1
home/dist/component/accordion/accordion.main.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.main.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
8
home/dist/component/accordion/accordion.main.min.css
vendored
Normal file
8
home/dist/component/accordion/accordion.main.min.css
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/.fr-accordion{position:relative}.fr-accordion:before{bottom:0;box-shadow:inset 0 1px 0 0 var(--border-default-grey),0 1px 0 0 var(--border-default-grey);content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;right:0;top:0;width:100%}.fr-accordion__title{display:block;font-size:unset;line-height:unset;margin:0}.fr-accordion:focus-within{z-index:1}.fr-accordion__btn{--text-spacing:0;--title-spacing:0;align-items:center;color:var(--text-action-high-blue-france);display:inline-flex;flex-direction:row;font-size:1rem;font-weight:500;line-height:1.5rem;margin:0;max-height:none;max-width:100%;min-height:3rem;overflow:initial;padding:.75rem 1rem;text-align:left;width:-moz-fit-content;width:fit-content;width:100%}.fr-accordion__btn:after,.fr-accordion__btn:before{display:block}.fr-accordion__btn:after{--icon-size:1rem;background-color:currentColor;content:"";display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:auto;margin-right:0;-webkit-mask-image:url(../../icons/system/arrow-down-s-line.svg);mask-image:url(../../icons/system/arrow-down-s-line.svg);-webkit-mask-size:100% 100%;mask-size:100% 100%;transition:transform .3s;vertical-align:calc((.75em - var(--icon-size))*.5);width:var(--icon-size)}.fr-accordion__btn:before{content:none}.fr-accordion__btn[aria-expanded=true]:after{transform:rotate(-180deg)}.fr-accordion .fr-collapse{--ul-type:disc;--ol-type:decimal;--ul-start:1rem;--ol-start:1.5rem;--xl-block:0.5rem;--li-bottom:0.25rem;--xl-base:1em;--ol-content:counters(li-counter,".") ". ";transition:visibility .3s,padding .3s}.fr-accordion .fr-collapse--expanded{padding-bottom:1.5rem;padding-top:1rem}.fr-accordions-group{--ul-type:none;--ol-type:none;--ul-start:0;--ol-start:0;--xl-block:0;--li-bottom:0;--ol-content:none}.fr-accordion__btn[aria-expanded=true]{--idle:transparent;--hover:var(--background-open-blue-france-hover);--active:var(--background-open-blue-france-active);background-color:var(--background-open-blue-france)}@media (min-width:36em){
|
||||
/*! media sm */}@media (min-width:48em){
|
||||
/*! media md */.fr-accordion .fr-collapse{margin:0 -.25rem;padding-left:1rem;padding-right:1rem}}@media (min-width:62em){
|
||||
/*! media lg */}@media (min-width:78em){
|
||||
/*! media xl */}
|
1
home/dist/component/accordion/accordion.main.min.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.main.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
12
home/dist/component/accordion/accordion.min.css
vendored
Normal file
12
home/dist/component/accordion/accordion.min.css
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/.fr-accordion{position:relative}.fr-accordion:before{bottom:0;box-shadow:inset 0 1px 0 0 var(--border-default-grey),0 1px 0 0 var(--border-default-grey);content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;right:0;top:0;width:100%}.fr-accordion__title{display:block;font-size:unset;line-height:unset;margin:0}.fr-accordion:focus-within{z-index:1}.fr-accordion__btn{--text-spacing:0;--title-spacing:0;align-items:center;color:var(--text-action-high-blue-france);display:inline-flex;flex-direction:row;font-size:1rem;font-weight:500;line-height:1.5rem;margin:0;max-height:none;max-width:100%;min-height:3rem;overflow:initial;padding:.75rem 1rem;text-align:left;width:-moz-fit-content;width:fit-content;width:100%}.fr-accordion__btn:after,.fr-accordion__btn:before{display:block}.fr-accordion__btn:after{--icon-size:1rem;background-color:currentColor;content:"";display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:auto;margin-right:0;-webkit-mask-image:url(../../icons/system/arrow-down-s-line.svg);mask-image:url(../../icons/system/arrow-down-s-line.svg);-webkit-mask-size:100% 100%;mask-size:100% 100%;transition:transform .3s;vertical-align:calc((.75em - var(--icon-size))*.5);width:var(--icon-size)}.fr-accordion__btn:before{content:none}.fr-accordion__btn[aria-expanded=true]:after{transform:rotate(-180deg)}.fr-accordion .fr-collapse{--ul-type:disc;--ol-type:decimal;--ul-start:1rem;--ol-start:1.5rem;--xl-block:0.5rem;--li-bottom:0.25rem;--xl-base:1em;--ol-content:counters(li-counter,".") ". ";transition:visibility .3s,padding .3s}.fr-accordion .fr-collapse--expanded{padding-bottom:1.5rem;padding-top:1rem}.fr-accordions-group{--ul-type:none;--ol-type:none;--ul-start:0;--ol-start:0;--xl-block:0;--li-bottom:0;--ol-content:none}.fr-accordion__btn[aria-expanded=true]{--idle:transparent;--hover:var(--background-open-blue-france-hover);--active:var(--background-open-blue-france-active);background-color:var(--background-open-blue-france)}@media (min-width:36em){
|
||||
/*! media sm */
|
||||
/*! media sm */}@media (min-width:48em){
|
||||
/*! media md */.fr-accordion .fr-collapse{margin:0 -.25rem;padding-left:1rem;padding-right:1rem}
|
||||
/*! 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-accordions-group ol,.fr-accordions-group ul{list-style-type:none}.fr-accordions-group ol,.fr-accordions-group ul{margin-bottom:0;margin-top:0;padding-left:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol,ul{margin-bottom:.5rem;margin-top:.5rem;padding-left:1rem}.fr-accordion__btn:after,.fr-accordion__btn:before{background-color:transparent;background-image:url(../../icons/system/arrow-down-s-line.svg);background-repeat:no-repeat;background-size:100%;height:1rem;width: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}}@media print{.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}.fr-accordion__btn:after{transform:rotate(-180deg)}.fr-accordion .fr-collapse:not(.fr-collapse--expanded){--collapse-max-height:none!important;--collapse:inherit!important;padding:1rem;visibility:visible}}
|
1
home/dist/component/accordion/accordion.min.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
53
home/dist/component/accordion/accordion.module.js
vendored
Normal file
53
home/dist/component/accordion/accordion.module.js
vendored
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
|
||||
const config = {
|
||||
prefix: 'fr',
|
||||
namespace: 'dsfr',
|
||||
organisation: '@gouvfr',
|
||||
version: '1.11.2'
|
||||
};
|
||||
|
||||
const api = window[config.namespace];
|
||||
|
||||
const ACCORDION = api.internals.ns.selector('accordion');
|
||||
const COLLAPSE = api.internals.ns.selector('collapse');
|
||||
|
||||
const AccordionSelector = {
|
||||
GROUP: api.internals.ns.selector('accordions-group'),
|
||||
ACCORDION: ACCORDION,
|
||||
COLLAPSE: `${ACCORDION} > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}`,
|
||||
COLLAPSE_LEGACY: `${ACCORDION} ${COLLAPSE}`,
|
||||
BUTTON: `${ACCORDION}__btn`
|
||||
};
|
||||
|
||||
class Accordion extends api.core.Instance {
|
||||
static get instanceClassName () {
|
||||
return 'Accordion';
|
||||
}
|
||||
|
||||
get collapsePrimary () {
|
||||
const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(AccordionSelector.BUTTON));
|
||||
return buttons[0];
|
||||
}
|
||||
}
|
||||
|
||||
class AccordionsGroup extends api.core.CollapsesGroup {
|
||||
static get instanceClassName () {
|
||||
return 'AccordionsGroup';
|
||||
}
|
||||
|
||||
validate (member) {
|
||||
const match = member.node.matches(api.internals.legacy.isLegacy ? AccordionSelector.COLLAPSE_LEGACY : AccordionSelector.COLLAPSE);
|
||||
return super.validate(member) && match;
|
||||
}
|
||||
}
|
||||
|
||||
api.accordion = {
|
||||
Accordion: Accordion,
|
||||
AccordionSelector: AccordionSelector,
|
||||
AccordionsGroup: AccordionsGroup
|
||||
};
|
||||
|
||||
api.internals.register(api.accordion.AccordionSelector.GROUP, api.accordion.AccordionsGroup);
|
||||
api.internals.register(api.accordion.AccordionSelector.ACCORDION, api.accordion.Accordion);
|
||||
//# sourceMappingURL=accordion.module.js.map
|
1
home/dist/component/accordion/accordion.module.js.map
vendored
Normal file
1
home/dist/component/accordion/accordion.module.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"accordion.module.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/accordion/script/accordion/accordion-selector.js","../../../src/component/accordion/script/accordion/accordion.js","../../../src/component/accordion/script/accordion/accordions-group.js","../../../src/component/accordion/index.js","../../../src/component/accordion/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nconst ACCORDION = api.internals.ns.selector('accordion');\nconst COLLAPSE = api.internals.ns.selector('collapse');\n\nexport const AccordionSelector = {\n GROUP: api.internals.ns.selector('accordions-group'),\n ACCORDION: ACCORDION,\n COLLAPSE: `${ACCORDION} > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}`,\n COLLAPSE_LEGACY: `${ACCORDION} ${COLLAPSE}`,\n BUTTON: `${ACCORDION}__btn`\n};\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector';\n\nclass Accordion extends api.core.Instance {\n static get instanceClassName () {\n return 'Accordion';\n }\n\n get collapsePrimary () {\n const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(AccordionSelector.BUTTON));\n return buttons[0];\n }\n}\n\nexport { Accordion };\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector.js';\n\nclass AccordionsGroup extends api.core.CollapsesGroup {\n static get instanceClassName () {\n return 'AccordionsGroup';\n }\n\n validate (member) {\n const match = member.node.matches(api.internals.legacy.isLegacy ? AccordionSelector.COLLAPSE_LEGACY : AccordionSelector.COLLAPSE);\n return super.validate(member) && match;\n }\n}\n\nexport { AccordionsGroup };\n","import api from './api.js';\nimport { Accordion } from './script/accordion/accordion';\nimport { AccordionsGroup } from './script/accordion/accordions-group.js';\nimport { AccordionSelector } from './script/accordion/accordion-selector.js';\n\napi.accordion = {\n Accordion: Accordion,\n AccordionSelector: AccordionSelector,\n AccordionsGroup: AccordionsGroup\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.accordion.AccordionSelector.GROUP, api.accordion.AccordionsGroup);\napi.internals.register(api.accordion.AccordionSelector.ACCORDION, api.accordion.Accordion);\n\nexport default api;\n"],"names":[],"mappings":";;AAAA,MAAM,MAAM,GAAG;AACf,EAAE,MAAM,EAAE,IAAI;AACd,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,YAAY,EAAE,SAAS;AACzB,EAAE,OAAO,EAAE,QAAQ;AACnB,CAAC;;ACJD,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;;ACCpC,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACzD,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACvD;AACO,MAAM,iBAAiB,GAAG;AACjC,EAAE,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;AACtD,EAAE,SAAS,EAAE,SAAS;AACtB,EAAE,QAAQ,EAAE,CAAC,EAAE,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,EAAE,EAAE,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACrN,EAAE,eAAe,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;AAC7C,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;AAC7B,CAAC;;ACRD,MAAM,SAAS,SAAS,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;AAC1C,EAAE,WAAW,iBAAiB,CAAC,GAAG;AAClC,IAAI,OAAO,WAAW,CAAC;AACvB,GAAG;AACH;AACA,EAAE,IAAI,eAAe,CAAC,GAAG;AACzB,IAAI,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3K,IAAI,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;AACtB,GAAG;AACH;;ACTA,MAAM,eAAe,SAAS,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC;AACtD,EAAE,WAAW,iBAAiB,CAAC,GAAG;AAClC,IAAI,OAAO,iBAAiB,CAAC;AAC7B,GAAG;AACH;AACA,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE;AACpB,IAAI,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;AACtI,IAAI,OAAO,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC;AAC3C,GAAG;AACH;;ACPA,GAAG,CAAC,SAAS,GAAG;AAChB,EAAE,SAAS,EAAE,SAAS;AACtB,EAAE,iBAAiB,EAAE,iBAAiB;AACtC,EAAE,eAAe,EAAE,eAAe;AAClC,CAAC;;ACPD,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;AAC7F,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC"}
|
3
home/dist/component/accordion/accordion.module.min.js
vendored
Normal file
3
home/dist/component/accordion/accordion.module.min.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
const n=window.dsfr,o=n.internals.ns.selector("accordion"),e=n.internals.ns.selector("collapse"),c={GROUP:n.internals.ns.selector("accordions-group"),ACCORDION:o,COLLAPSE:`${o} > ${e}, ${o} > *:not(${o}):not(${e}) > ${e}, ${o} > *:not(${o}):not(${e}) > *:not(${o}):not(${e}) > ${e}`,COLLAPSE_LEGACY:`${o} ${e}`,BUTTON:`${o}__btn`};class r extends n.core.Instance{static get instanceClassName(){return"Accordion"}get collapsePrimary(){return this.element.children.map((n=>n.getInstance("CollapseButton"))).filter((n=>null!==n&&n.hasClass(c.BUTTON)))[0]}}class s extends n.core.CollapsesGroup{static get instanceClassName(){return"AccordionsGroup"}validate(o){const e=o.node.matches(n.internals.legacy.isLegacy?c.COLLAPSE_LEGACY:c.COLLAPSE);return super.validate(o)&&e}}n.accordion={Accordion:r,AccordionSelector:c,AccordionsGroup:s},n.internals.register(n.accordion.AccordionSelector.GROUP,n.accordion.AccordionsGroup),n.internals.register(n.accordion.AccordionSelector.ACCORDION,n.accordion.Accordion);
|
||||
//# sourceMappingURL=accordion.module.min.js.map
|
1
home/dist/component/accordion/accordion.module.min.js.map
vendored
Normal file
1
home/dist/component/accordion/accordion.module.min.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"accordion.module.min.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/accordion/script/accordion/accordion-selector.js","../../../src/component/accordion/script/accordion/accordion.js","../../../src/component/accordion/script/accordion/accordions-group.js","../../../src/component/accordion/index.js","../../../src/component/accordion/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nconst ACCORDION = api.internals.ns.selector('accordion');\nconst COLLAPSE = api.internals.ns.selector('collapse');\n\nexport const AccordionSelector = {\n GROUP: api.internals.ns.selector('accordions-group'),\n ACCORDION: ACCORDION,\n COLLAPSE: `${ACCORDION} > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}`,\n COLLAPSE_LEGACY: `${ACCORDION} ${COLLAPSE}`,\n BUTTON: `${ACCORDION}__btn`\n};\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector';\n\nclass Accordion extends api.core.Instance {\n static get instanceClassName () {\n return 'Accordion';\n }\n\n get collapsePrimary () {\n const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(AccordionSelector.BUTTON));\n return buttons[0];\n }\n}\n\nexport { Accordion };\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector.js';\n\nclass AccordionsGroup extends api.core.CollapsesGroup {\n static get instanceClassName () {\n return 'AccordionsGroup';\n }\n\n validate (member) {\n const match = member.node.matches(api.internals.legacy.isLegacy ? AccordionSelector.COLLAPSE_LEGACY : AccordionSelector.COLLAPSE);\n return super.validate(member) && match;\n }\n}\n\nexport { AccordionsGroup };\n","import api from './api.js';\nimport { Accordion } from './script/accordion/accordion';\nimport { AccordionsGroup } from './script/accordion/accordions-group.js';\nimport { AccordionSelector } from './script/accordion/accordion-selector.js';\n\napi.accordion = {\n Accordion: Accordion,\n AccordionSelector: AccordionSelector,\n AccordionsGroup: AccordionsGroup\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.accordion.AccordionSelector.GROUP, api.accordion.AccordionsGroup);\napi.internals.register(api.accordion.AccordionSelector.ACCORDION, api.accordion.Accordion);\n\nexport default api;\n"],"names":["api","window","ACCORDION","internals","ns","selector","COLLAPSE","AccordionSelector","GROUP","COLLAPSE_LEGACY","BUTTON","Accordion","core","Instance","instanceClassName","collapsePrimary","this","element","children","map","child","getInstance","filter","button","hasClass","AccordionsGroup","CollapsesGroup","validate","member","match","node","matches","legacy","isLegacy","super","accordion","register"],"mappings":";AAAA,MCCMA,EAAMC,OAAuB,KCC7BC,EAAYF,EAAIG,UAAUC,GAAGC,SAAS,aACtCC,EAAWN,EAAIG,UAAUC,GAAGC,SAAS,YAE9BE,EAAoB,CAC/BC,MAAOR,EAAIG,UAAUC,GAAGC,SAAS,oBACjCH,UAAWA,EACXI,SAAU,GAAGJ,OAAeI,MAAaJ,aAAqBA,UAAkBI,QAAeA,MAAaJ,aAAqBA,UAAkBI,cAAqBJ,UAAkBI,QAAeA,IACzMG,gBAAiB,GAAGP,KAAaI,IACjCI,OAAQ,GAAGR,UCPb,MAAMS,UAAkBX,EAAIY,KAAKC,SACpBC,+BACT,MAAO,YAGLC,sBAEF,OADgBC,KAAKC,QAAQC,SAASC,KAAIC,GAASA,EAAMC,YAAY,oBAAmBC,QAAOC,GAAqB,OAAXA,GAAmBA,EAAOC,SAASjB,EAAkBG,UAC/I,ICPnB,MAAMe,UAAwBzB,EAAIY,KAAKc,eAC1BZ,+BACT,MAAO,kBAGTa,SAAUC,GACR,MAAMC,EAAQD,EAAOE,KAAKC,QAAQ/B,EAAIG,UAAU6B,OAAOC,SAAW1B,EAAkBE,gBAAkBF,EAAkBD,UACxH,OAAO4B,MAAMP,SAASC,IAAWC,GCLrC7B,EAAImC,UAAY,CACdxB,UAAWA,EACXJ,kBAAmBA,EACnBkB,gBAAiBA,GCNnBzB,EAAIG,UAAUiC,SAASpC,EAAImC,UAAU5B,kBAAkBC,MAAOR,EAAImC,UAAUV,iBAC5EzB,EAAIG,UAAUiC,SAASpC,EAAImC,UAAU5B,kBAAkBL,UAAWF,EAAImC,UAAUxB"}
|
88
home/dist/component/accordion/accordion.nomodule.js
vendored
Normal file
88
home/dist/component/accordion/accordion.nomodule.js
vendored
Normal file
|
@ -0,0 +1,88 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
var config = {
|
||||
prefix: 'fr',
|
||||
namespace: 'dsfr',
|
||||
organisation: '@gouvfr',
|
||||
version: '1.11.2'
|
||||
};
|
||||
|
||||
var api = window[config.namespace];
|
||||
|
||||
var ACCORDION = api.internals.ns.selector('accordion');
|
||||
var COLLAPSE = api.internals.ns.selector('collapse');
|
||||
|
||||
var AccordionSelector = {
|
||||
GROUP: api.internals.ns.selector('accordions-group'),
|
||||
ACCORDION: ACCORDION,
|
||||
COLLAPSE: (ACCORDION + " > " + COLLAPSE + ", " + ACCORDION + " > *:not(" + ACCORDION + "):not(" + COLLAPSE + ") > " + COLLAPSE + ", " + ACCORDION + " > *:not(" + ACCORDION + "):not(" + COLLAPSE + ") > *:not(" + ACCORDION + "):not(" + COLLAPSE + ") > " + COLLAPSE),
|
||||
COLLAPSE_LEGACY: (ACCORDION + " " + COLLAPSE),
|
||||
BUTTON: (ACCORDION + "__btn")
|
||||
};
|
||||
|
||||
var Accordion = /*@__PURE__*/(function (superclass) {
|
||||
function Accordion () {
|
||||
superclass.apply(this, arguments);
|
||||
}
|
||||
|
||||
if ( superclass ) Accordion.__proto__ = superclass;
|
||||
Accordion.prototype = Object.create( superclass && superclass.prototype );
|
||||
Accordion.prototype.constructor = Accordion;
|
||||
|
||||
var prototypeAccessors = { collapsePrimary: { configurable: true } };
|
||||
var staticAccessors = { instanceClassName: { configurable: true } };
|
||||
|
||||
staticAccessors.instanceClassName.get = function () {
|
||||
return 'Accordion';
|
||||
};
|
||||
|
||||
prototypeAccessors.collapsePrimary.get = function () {
|
||||
var buttons = this.element.children.map(function (child) { return child.getInstance('CollapseButton'); }).filter(function (button) { return button !== null && button.hasClass(AccordionSelector.BUTTON); });
|
||||
return buttons[0];
|
||||
};
|
||||
|
||||
Object.defineProperties( Accordion.prototype, prototypeAccessors );
|
||||
Object.defineProperties( Accordion, staticAccessors );
|
||||
|
||||
return Accordion;
|
||||
}(api.core.Instance));
|
||||
|
||||
var AccordionsGroup = /*@__PURE__*/(function (superclass) {
|
||||
function AccordionsGroup () {
|
||||
superclass.apply(this, arguments);
|
||||
}
|
||||
|
||||
if ( superclass ) AccordionsGroup.__proto__ = superclass;
|
||||
AccordionsGroup.prototype = Object.create( superclass && superclass.prototype );
|
||||
AccordionsGroup.prototype.constructor = AccordionsGroup;
|
||||
|
||||
var staticAccessors = { instanceClassName: { configurable: true } };
|
||||
|
||||
staticAccessors.instanceClassName.get = function () {
|
||||
return 'AccordionsGroup';
|
||||
};
|
||||
|
||||
AccordionsGroup.prototype.validate = function validate (member) {
|
||||
var match = member.node.matches(api.internals.legacy.isLegacy ? AccordionSelector.COLLAPSE_LEGACY : AccordionSelector.COLLAPSE);
|
||||
return superclass.prototype.validate.call(this, member) && match;
|
||||
};
|
||||
|
||||
Object.defineProperties( AccordionsGroup, staticAccessors );
|
||||
|
||||
return AccordionsGroup;
|
||||
}(api.core.CollapsesGroup));
|
||||
|
||||
api.accordion = {
|
||||
Accordion: Accordion,
|
||||
AccordionSelector: AccordionSelector,
|
||||
AccordionsGroup: AccordionsGroup
|
||||
};
|
||||
|
||||
api.internals.register(api.accordion.AccordionSelector.GROUP, api.accordion.AccordionsGroup);
|
||||
api.internals.register(api.accordion.AccordionSelector.ACCORDION, api.accordion.Accordion);
|
||||
|
||||
})();
|
||||
//# sourceMappingURL=accordion.nomodule.js.map
|
1
home/dist/component/accordion/accordion.nomodule.js.map
vendored
Normal file
1
home/dist/component/accordion/accordion.nomodule.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"accordion.nomodule.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/accordion/script/accordion/accordion-selector.js","../../../src/component/accordion/script/accordion/accordion.js","../../../src/component/accordion/script/accordion/accordions-group.js","../../../src/component/accordion/index.js","../../../src/component/accordion/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nconst ACCORDION = api.internals.ns.selector('accordion');\nconst COLLAPSE = api.internals.ns.selector('collapse');\n\nexport const AccordionSelector = {\n GROUP: api.internals.ns.selector('accordions-group'),\n ACCORDION: ACCORDION,\n COLLAPSE: `${ACCORDION} > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}`,\n COLLAPSE_LEGACY: `${ACCORDION} ${COLLAPSE}`,\n BUTTON: `${ACCORDION}__btn`\n};\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector';\n\nclass Accordion extends api.core.Instance {\n static get instanceClassName () {\n return 'Accordion';\n }\n\n get collapsePrimary () {\n const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(AccordionSelector.BUTTON));\n return buttons[0];\n }\n}\n\nexport { Accordion };\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector.js';\n\nclass AccordionsGroup extends api.core.CollapsesGroup {\n static get instanceClassName () {\n return 'AccordionsGroup';\n }\n\n validate (member) {\n const match = member.node.matches(api.internals.legacy.isLegacy ? AccordionSelector.COLLAPSE_LEGACY : AccordionSelector.COLLAPSE);\n return super.validate(member) && match;\n }\n}\n\nexport { AccordionsGroup };\n","import api from './api.js';\nimport { Accordion } from './script/accordion/accordion';\nimport { AccordionsGroup } from './script/accordion/accordions-group.js';\nimport { AccordionSelector } from './script/accordion/accordion-selector.js';\n\napi.accordion = {\n Accordion: Accordion,\n AccordionSelector: AccordionSelector,\n AccordionsGroup: AccordionsGroup\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.accordion.AccordionSelector.GROUP, api.accordion.AccordionsGroup);\napi.internals.register(api.accordion.AccordionSelector.ACCORDION, api.accordion.Accordion);\n\nexport default api;\n"],"names":["const","super"],"mappings":";;;;;EAAAA,IAAM,MAAM,GAAG;EACf,EAAE,MAAM,EAAE,IAAI;EACd,EAAE,SAAS,EAAE,MAAM;EACnB,EAAE,YAAY,EAAE,SAAS;EACzB,EAAE,OAAO,EAAE,QAAQ;EACnB,CAAC;;ECJDA,IAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;;ECCpCA,IAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;EACzDA,IAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACvD;EACOA,IAAM,iBAAiB,GAAG;EACjC,EAAE,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;EACtD,EAAE,SAAS,EAAE,SAAS;EACtB,EAAE,QAAQ,GAAK,SAAS,WAAM,QAAQ,UAAK,SAAS,iBAAY,SAAS,cAAS,QAAQ,YAAO,QAAQ,UAAK,SAAS,iBAAY,SAAS,cAAS,QAAQ,kBAAa,SAAS,cAAS,QAAQ,YAAO,SAAU;EACrN,EAAE,eAAe,GAAK,SAAS,SAAI,SAAU;EAC7C,EAAE,MAAM,GAAK,SAAS,WAAO;EAC7B,CAAC;;ECRD,IAAM,SAAS;;;;;;;;;;;;IACb,gBAAW,oCAAqB;EAClC,IAAI,OAAO,WAAW,CAAC;EACvB,IAAG;AACH;EACA,EAAE,mBAAI,kCAAmB;EACzB,IAAIA,IAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,WAAC,gBAAS,KAAK,CAAC,WAAW,CAAC,gBAAgB,IAAC,CAAC,CAAC,MAAM,WAAC,iBAAU,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,IAAC,CAAC,CAAC;EAC3K,IAAI,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;EACtB;;;;;;IARwB,GAAG,CAAC,IAAI,CAAC;;ECAjC,IAAM,eAAe;;;;;;;;;;;IACnB,gBAAW,oCAAqB;EAClC,IAAI,OAAO,iBAAiB,CAAC;EAC7B,IAAG;AACH;EACA,4BAAE,8BAAU,MAAM,EAAE;EACpB,IAAIA,IAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,GAAG,iBAAiB,CAAC,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;EACtI,IAAI,OAAOC,oBAAK,CAAC,aAAQ,OAAC,MAAM,CAAC,IAAI,KAAK,CAAC;EAC3C;;;;;IAR8B,GAAG,CAAC,IAAI,CAAC;;ECEvC,GAAG,CAAC,SAAS,GAAG;EAChB,EAAE,SAAS,EAAE,SAAS;EACtB,EAAE,iBAAiB,EAAE,iBAAiB;EACtC,EAAE,eAAe,EAAE,eAAe;EAClC,CAAC;;ECPD,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;EAC7F,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC;;"}
|
3
home/dist/component/accordion/accordion.nomodule.min.js
vendored
Normal file
3
home/dist/component/accordion/accordion.nomodule.min.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
!function(){"use strict";var o=window.dsfr,t=o.internals.ns.selector("accordion"),e=o.internals.ns.selector("collapse"),n={GROUP:o.internals.ns.selector("accordions-group"),ACCORDION:t,COLLAPSE:t+" > "+e+", "+t+" > *:not("+t+"):not("+e+") > "+e+", "+t+" > *:not("+t+"):not("+e+") > *:not("+t+"):not("+e+") > "+e,COLLAPSE_LEGACY:t+" "+e,BUTTON:t+"__btn"},r=function(o){function t(){o.apply(this,arguments)}o&&(t.__proto__=o),t.prototype=Object.create(o&&o.prototype),t.prototype.constructor=t;var e={collapsePrimary:{configurable:!0}},r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"Accordion"},e.collapsePrimary.get=function(){return this.element.children.map((function(o){return o.getInstance("CollapseButton")})).filter((function(o){return null!==o&&o.hasClass(n.BUTTON)}))[0]},Object.defineProperties(t.prototype,e),Object.defineProperties(t,r),t}(o.core.Instance),c=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={instanceClassName:{configurable:!0}};return r.instanceClassName.get=function(){return"AccordionsGroup"},e.prototype.validate=function(e){var r=e.node.matches(o.internals.legacy.isLegacy?n.COLLAPSE_LEGACY:n.COLLAPSE);return t.prototype.validate.call(this,e)&&r},Object.defineProperties(e,r),e}(o.core.CollapsesGroup);o.accordion={Accordion:r,AccordionSelector:n,AccordionsGroup:c},o.internals.register(o.accordion.AccordionSelector.GROUP,o.accordion.AccordionsGroup),o.internals.register(o.accordion.AccordionSelector.ACCORDION,o.accordion.Accordion)}();
|
||||
//# sourceMappingURL=accordion.nomodule.min.js.map
|
1
home/dist/component/accordion/accordion.nomodule.min.js.map
vendored
Normal file
1
home/dist/component/accordion/accordion.nomodule.min.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"accordion.nomodule.min.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/accordion/script/accordion/accordion-selector.js","../../../src/component/accordion/script/accordion/accordion.js","../../../src/component/accordion/script/accordion/accordions-group.js","../../../src/component/accordion/index.js","../../../src/component/accordion/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nconst ACCORDION = api.internals.ns.selector('accordion');\nconst COLLAPSE = api.internals.ns.selector('collapse');\n\nexport const AccordionSelector = {\n GROUP: api.internals.ns.selector('accordions-group'),\n ACCORDION: ACCORDION,\n COLLAPSE: `${ACCORDION} > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}, ${ACCORDION} > *:not(${ACCORDION}):not(${COLLAPSE}) > *:not(${ACCORDION}):not(${COLLAPSE}) > ${COLLAPSE}`,\n COLLAPSE_LEGACY: `${ACCORDION} ${COLLAPSE}`,\n BUTTON: `${ACCORDION}__btn`\n};\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector';\n\nclass Accordion extends api.core.Instance {\n static get instanceClassName () {\n return 'Accordion';\n }\n\n get collapsePrimary () {\n const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(AccordionSelector.BUTTON));\n return buttons[0];\n }\n}\n\nexport { Accordion };\n","import api from '../../api.js';\nimport { AccordionSelector } from './accordion-selector.js';\n\nclass AccordionsGroup extends api.core.CollapsesGroup {\n static get instanceClassName () {\n return 'AccordionsGroup';\n }\n\n validate (member) {\n const match = member.node.matches(api.internals.legacy.isLegacy ? AccordionSelector.COLLAPSE_LEGACY : AccordionSelector.COLLAPSE);\n return super.validate(member) && match;\n }\n}\n\nexport { AccordionsGroup };\n","import api from './api.js';\nimport { Accordion } from './script/accordion/accordion';\nimport { AccordionsGroup } from './script/accordion/accordions-group.js';\nimport { AccordionSelector } from './script/accordion/accordion-selector.js';\n\napi.accordion = {\n Accordion: Accordion,\n AccordionSelector: AccordionSelector,\n AccordionsGroup: AccordionsGroup\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.accordion.AccordionSelector.GROUP, api.accordion.AccordionsGroup);\napi.internals.register(api.accordion.AccordionSelector.ACCORDION, api.accordion.Accordion);\n\nexport default api;\n"],"names":["const","api","window","ACCORDION","internals","ns","selector","COLLAPSE","AccordionSelector","GROUP","COLLAPSE_LEGACY","BUTTON","Accordion","staticAccessors","instanceClassName","prototypeAccessors","collapsePrimary","this","element","children","map","child","getInstance","filter","button","hasClass","core","Instance","AccordionsGroup","validate","member","match","node","matches","legacy","isLegacy","super","CollapsesGroup","accordion","register"],"mappings":";yBAAAA,ICCMC,EAAMC,OAAuB,KCC7BC,EAAYF,EAAIG,UAAUC,GAAGC,SAAS,aACtCC,EAAWN,EAAIG,UAAUC,GAAGC,SAAS,YAE9BE,EAAoB,CAC/BC,MAAOR,EAAIG,UAAUC,GAAGC,SAAS,oBACjCH,UAAWA,EACXI,SAAaJ,QAAeI,OAAaJ,cAAqBA,WAAkBI,SAAeA,OAAaJ,cAAqBA,WAAkBI,eAAqBJ,WAAkBI,SAAeA,EACzMG,gBAAoBP,MAAaI,EACjCI,OAAWR,WCPPS,mOACJC,EAAWC,iCACT,MAAO,aAGTC,EAAIC,+BAEF,OADgBC,KAAKC,QAAQC,SAASC,cAAIC,UAASA,EAAMC,YAAY,qBAAmBC,iBAAOC,UAAqB,OAAXA,GAAmBA,EAAOC,SAASjB,EAAkBG,WAC/I,2EAPKV,EAAIyB,KAAKC,UCA3BC,6LACJf,EAAWC,iCACT,MAAO,+BAGTe,kBAAUC,GACR9B,IAAM+B,EAAQD,EAAOE,KAAKC,QAAQhC,EAAIG,UAAU8B,OAAOC,SAAW3B,EAAkBE,gBAAkBF,EAAkBD,UACxH,OAAO6B,YAAMP,mBAASC,IAAWC,mCAPP9B,EAAIyB,KAAKW,gBCEvCpC,EAAIqC,UAAY,CACd1B,UAAWA,EACXJ,kBAAmBA,EACnBoB,gBAAiBA,GCNnB3B,EAAIG,UAAUmC,SAAStC,EAAIqC,UAAU9B,kBAAkBC,MAAOR,EAAIqC,UAAUV,iBAC5E3B,EAAIG,UAAUmC,SAAStC,EAAIqC,UAAU9B,kBAAkBL,UAAWF,EAAIqC,UAAU1B"}
|
27
home/dist/component/accordion/accordion.print.css
vendored
Normal file
27
home/dist/component/accordion/accordion.print.css
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@media print {
|
||||
.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;
|
||||
}
|
||||
|
||||
.fr-accordion__btn::after {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
.fr-accordion .fr-collapse:not(.fr-collapse--expanded) {
|
||||
--collapse-max-height: none !important;
|
||||
--collapse: inherit !important;
|
||||
visibility: visible;
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
1
home/dist/component/accordion/accordion.print.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.print.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
home/dist/component/accordion/accordion.print.min.css
vendored
Normal file
3
home/dist/component/accordion/accordion.print.min.css
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/@media print{.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}.fr-accordion__btn:after{transform:rotate(-180deg)}.fr-accordion .fr-collapse:not(.fr-collapse--expanded){--collapse-max-height:none!important;--collapse:inherit!important;padding:1rem;visibility:visible}}
|
1
home/dist/component/accordion/accordion.print.min.css.map
vendored
Normal file
1
home/dist/component/accordion/accordion.print.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
28
home/dist/component/alert/README.md
vendored
Normal file
28
home/dist/component/alert/README.md
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
# alert
|
||||
|
||||
L'alerte permet d’attirer l’attention de l’utilisateur sur une information sans interrompre sa tâche.
|
||||
|
||||
## Dépendances
|
||||
```shell
|
||||
alert
|
||||
└─ core
|
||||
└─ button
|
||||
```
|
||||
|
||||
## Utilisation
|
||||
Afin d’utiliser le composant `alert`, il est nécessaire d’ajouter les fichiers de styles et de scripts présents dans le dossier dist dans l'ordre suivant :\n
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
<link href="css/core/core.min.css" rel="stylesheet">
|
||||
<link href="css/button/button.min.css" rel="stylesheet">
|
||||
<link href="css/alert/alert.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Consulter [la documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/alerte) sur le module Alerte
|
294
home/dist/component/alert/alert.css
vendored
Normal file
294
home/dist/component/alert/alert.css
vendored
Normal file
|
@ -0,0 +1,294 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@charset "UTF-8";
|
||||
|
||||
/* ¯¯¯¯¯¯¯¯¯ *\
|
||||
ALERT
|
||||
\* ˍˍˍˍˍˍˍˍˍ */
|
||||
.fr-alert {
|
||||
position: relative;
|
||||
padding: 1rem 2.25rem 0.75rem 3.5rem;
|
||||
|
||||
--title-spacing: 0 0 0.25rem;
|
||||
--text-spacing: 0 0 0.25rem;
|
||||
background-size: 100% 1px, 1px 100%, 100% 1px, 2.5rem 100%;
|
||||
background-position: 0 0, 100% 0, 0 100%, 0 0, 100% 100%;
|
||||
background-repeat: no-repeat, no-repeat no-repeat, no-repeat;
|
||||
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));
|
||||
}
|
||||
|
||||
.fr-alert::before {
|
||||
--icon-size: 1.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%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin: 1rem 0.5rem;
|
||||
color: var(--text-inverted-grey);
|
||||
}
|
||||
|
||||
.fr-alert__title {
|
||||
font-weight: 700;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-alert .fr-btn--close {
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: 0.25rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 2rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
max-height: 2rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.fr-alert .fr-btn--close::before {
|
||||
--icon-size: 1rem;
|
||||
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/system/close-line.svg");
|
||||
mask-image: url("../../icons/system/close-line.svg");
|
||||
content: "";
|
||||
}
|
||||
|
||||
.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--info::before,
|
||||
.fr-alert--success::before,
|
||||
.fr-alert--error::before,
|
||||
.fr-alert--warning::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.fr-alert--sm {
|
||||
padding: 0.5rem 2.25rem 0.25rem 3rem;
|
||||
}
|
||||
|
||||
.fr-alert--sm::before {
|
||||
margin: 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
.fr-alert .fr-link--close {
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: 1.25rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 2rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
max-height: 2rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.fr-alert .fr-link--close::before {
|
||||
--icon-size: 1rem;
|
||||
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/system/close-line.svg");
|
||||
mask-image: url("../../icons/system/close-line.svg");
|
||||
content: "";
|
||||
}
|
||||
|
||||
.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 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 all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
/**
|
||||
* reset des marges dans l'alerte
|
||||
*/
|
||||
.fr-alert::before,
|
||||
.fr-alert::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-alert__title,
|
||||
.fr-alert p {
|
||||
margin: 0 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::before,
|
||||
.fr-alert .fr-btn--close::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/close-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
/**
|
||||
* reset des marges dans l'alerte
|
||||
*/
|
||||
.fr-alert .fr-link--close::before,
|
||||
.fr-alert .fr-link--close::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/close-line.svg");
|
||||
width: 1rem;
|
||||
height: 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);
|
||||
}
|
||||
}
|
1
home/dist/component/alert/alert.css.map
vendored
Normal file
1
home/dist/component/alert/alert.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
96
home/dist/component/alert/alert.legacy.css
vendored
Normal file
96
home/dist/component/alert/alert.legacy.css
vendored
Normal file
|
@ -0,0 +1,96 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
/**
|
||||
* reset des marges dans l'alerte
|
||||
*/
|
||||
.fr-alert::before,
|
||||
.fr-alert::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-alert__title,
|
||||
.fr-alert p {
|
||||
margin: 0 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::before,
|
||||
.fr-alert .fr-btn--close::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/close-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
/**
|
||||
* reset des marges dans l'alerte
|
||||
*/
|
||||
.fr-alert .fr-link--close::before,
|
||||
.fr-alert .fr-link--close::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/close-line.svg");
|
||||
width: 1rem;
|
||||
height: 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);
|
||||
}
|
||||
}
|
1
home/dist/component/alert/alert.legacy.css.map
vendored
Normal file
1
home/dist/component/alert/alert.legacy.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/alert/alert.legacy.min.css
vendored
Normal file
7
home/dist/component/alert/alert.legacy.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 (-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)}}
|
1
home/dist/component/alert/alert.legacy.min.css.map
vendored
Normal file
1
home/dist/component/alert/alert.legacy.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
180
home/dist/component/alert/alert.main.css
vendored
Normal file
180
home/dist/component/alert/alert.main.css
vendored
Normal file
|
@ -0,0 +1,180 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@charset "UTF-8";
|
||||
|
||||
/* ¯¯¯¯¯¯¯¯¯ *\
|
||||
ALERT
|
||||
\* ˍˍˍˍˍˍˍˍˍ */
|
||||
.fr-alert {
|
||||
position: relative;
|
||||
padding: 1rem 2.25rem 0.75rem 3.5rem;
|
||||
|
||||
--title-spacing: 0 0 0.25rem;
|
||||
--text-spacing: 0 0 0.25rem;
|
||||
background-size: 100% 1px, 1px 100%, 100% 1px, 2.5rem 100%;
|
||||
background-position: 0 0, 100% 0, 0 100%, 0 0, 100% 100%;
|
||||
background-repeat: no-repeat, no-repeat no-repeat, no-repeat;
|
||||
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));
|
||||
}
|
||||
|
||||
.fr-alert::before {
|
||||
--icon-size: 1.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%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin: 1rem 0.5rem;
|
||||
color: var(--text-inverted-grey);
|
||||
}
|
||||
|
||||
.fr-alert__title {
|
||||
font-weight: 700;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-alert .fr-btn--close {
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: 0.25rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 2rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
max-height: 2rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.fr-alert .fr-btn--close::before {
|
||||
--icon-size: 1rem;
|
||||
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/system/close-line.svg");
|
||||
mask-image: url("../../icons/system/close-line.svg");
|
||||
content: "";
|
||||
}
|
||||
|
||||
.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--info::before,
|
||||
.fr-alert--success::before,
|
||||
.fr-alert--error::before,
|
||||
.fr-alert--warning::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.fr-alert--sm {
|
||||
padding: 0.5rem 2.25rem 0.25rem 3rem;
|
||||
}
|
||||
|
||||
.fr-alert--sm::before {
|
||||
margin: 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
.fr-alert .fr-link--close {
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: 1.25rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 2rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 2rem;
|
||||
max-height: 2rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.fr-alert .fr-link--close::before {
|
||||
--icon-size: 1rem;
|
||||
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/system/close-line.svg");
|
||||
mask-image: url("../../icons/system/close-line.svg");
|
||||
content: "";
|
||||
}
|
||||
|
||||
.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 */
|
||||
}
|
1
home/dist/component/alert/alert.main.css.map
vendored
Normal file
1
home/dist/component/alert/alert.main.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/alert/alert.main.min.css
vendored
Normal file
7
home/dist/component/alert/alert.main.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* 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 */}
|
1
home/dist/component/alert/alert.main.min.css.map
vendored
Normal file
1
home/dist/component/alert/alert.main.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
11
home/dist/component/alert/alert.min.css
vendored
Normal file
11
home/dist/component/alert/alert.min.css
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*!
|
||||
* 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 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)}}
|
1
home/dist/component/alert/alert.min.css.map
vendored
Normal file
1
home/dist/component/alert/alert.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
28
home/dist/component/alert/alert.print.css
vendored
Normal file
28
home/dist/component/alert/alert.print.css
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@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);
|
||||
}
|
||||
}
|
1
home/dist/component/alert/alert.print.css.map
vendored
Normal file
1
home/dist/component/alert/alert.print.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
home/dist/component/alert/alert.print.min.css
vendored
Normal file
3
home/dist/component/alert/alert.print.min.css
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/@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)}}
|
1
home/dist/component/alert/alert.print.min.css.map
vendored
Normal file
1
home/dist/component/alert/alert.print.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
26
home/dist/component/badge/README.md
vendored
Normal file
26
home/dist/component/badge/README.md
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
# badge
|
||||
|
||||
Le composant badge permet de mettre en avant une information de type “statut” ou “état” sur un élément du site.
|
||||
|
||||
## Dépendances
|
||||
```shell
|
||||
badge
|
||||
└─ core
|
||||
```
|
||||
|
||||
## Utilisation
|
||||
Afin d’utiliser le composant `badge`, il est nécessaire d’ajouter les fichiers de styles et de scripts présents dans le dossier dist dans l'ordre suivant :\n
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
<link href="css/core/core.min.css" rel="stylesheet">
|
||||
<link href="css/badge/badge.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Consulter [la documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/badge) sur le module Badge
|
740
home/dist/component/badge/badge.css
vendored
Normal file
740
home/dist/component/badge/badge.css
vendored
Normal file
|
@ -0,0 +1,740 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
/* ------------------------------------ *\
|
||||
Badge
|
||||
\* ------------------------------------ */
|
||||
.fr-badge {
|
||||
--text-spacing: 0;
|
||||
--title-spacing: 0;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
|
||||
--underline-img: none;
|
||||
--hover-tint: var(--hover);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 1.5rem;
|
||||
padding: 0 0.5rem;
|
||||
overflow: initial;
|
||||
max-height: none;
|
||||
font-weight: 700;
|
||||
max-width: 100%;
|
||||
text-transform: uppercase;
|
||||
border-radius: 0.25rem;
|
||||
color: var(--text-default-grey);
|
||||
background-color: var(--background-contrast-grey);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-grey-hover);
|
||||
--active: var(--background-contrast-grey-active);
|
||||
}
|
||||
|
||||
.fr-badge::before,
|
||||
.fr-badge::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fr-badge--icon-left[class^=fr-icon-],
|
||||
.fr-badge--icon-left[class*=" fr-icon-"],
|
||||
.fr-badge--icon-left[class^=fr-fi-],
|
||||
.fr-badge--icon-left[class*=" fr-fi-"] {
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-badge--icon-left[class^=fr-icon-]::before,
|
||||
.fr-badge--icon-left[class*=" fr-icon-"]::before,
|
||||
.fr-badge--icon-left[class^=fr-fi-]::before,
|
||||
.fr-badge--icon-left[class*=" fr-fi-"]::before {
|
||||
--icon-size: 1rem;
|
||||
margin-left: -0.125rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badge[class^=fr-icon-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge[class*=" fr-icon-"]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge[class^=fr-fi-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge[class*=" fr-fi-"]:not([class*=fr-badge--icon-])::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-badge--sm {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
min-height: 1.125rem;
|
||||
padding: 0 0.375rem;
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-],
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-icon-"],
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-fi-],
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-fi-"] {
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-]::before,
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-icon-"]::before,
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-fi-]::before,
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-fi-"]::before {
|
||||
--icon-size: 0.75rem;
|
||||
margin-left: -0.09375rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badge--sm[class^=fr-icon-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge--sm[class*=" fr-icon-"]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge--sm[class^=fr-fi-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge--sm[class*=" fr-fi-"]:not([class*=fr-badge--icon-])::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-badge::before {
|
||||
--icon-size: 1rem;
|
||||
margin-left: -0.125rem;
|
||||
margin-right: 0.25rem;
|
||||
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%;
|
||||
}
|
||||
|
||||
.fr-badge--sm::before {
|
||||
--icon-size: 0.75rem;
|
||||
margin-left: -0.09375rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--info::before,
|
||||
.fr-badge--sm.fr-badge--info::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--info-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--info-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--success::before,
|
||||
.fr-badge--sm.fr-badge--success::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--success-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--success-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--error::before,
|
||||
.fr-badge--sm.fr-badge--error::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--error-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--error-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--warning::before,
|
||||
.fr-badge--sm.fr-badge--warning::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--warning-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--warning-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--new::before,
|
||||
.fr-badge--sm.fr-badge--new::before {
|
||||
-webkit-mask-image: url("../../icons/weather/flashlight-fill.svg");
|
||||
mask-image: url("../../icons/weather/flashlight-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge--info::before,
|
||||
.fr-badge--success::before,
|
||||
.fr-badge--error::before,
|
||||
.fr-badge--warning::before,
|
||||
.fr-badge--new::before,
|
||||
.fr-badge--sm--info::before,
|
||||
.fr-badge--sm--success::before,
|
||||
.fr-badge--sm--error::before,
|
||||
.fr-badge--sm--warning::before,
|
||||
.fr-badge--sm--new::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--no-icon::before,
|
||||
.fr-badge--sm.fr-badge--no-icon::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-badges-group {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-left: -0.25rem;
|
||||
margin-right: -0.25rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-badges-group > li {
|
||||
display: inline-flex;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fr-badges-group .fr-badge {
|
||||
margin: 0 0.25rem 0.5rem 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badges-group--sm .fr-badge {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
min-height: 1.125rem;
|
||||
padding: 0 0.375rem;
|
||||
}
|
||||
|
||||
.fr-badges-group--sm .fr-badge::before,
|
||||
.fr-badges-group--sm .fr-badge::after {
|
||||
--icon-size: 0.75rem;
|
||||
}
|
||||
|
||||
.fr-badge--info {
|
||||
color: var(--text-default-info);
|
||||
background-color: var(--background-contrast-info);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-info-hover);
|
||||
--active: var(--background-contrast-info-active);
|
||||
}
|
||||
|
||||
.fr-badge--error {
|
||||
color: var(--text-default-error);
|
||||
background-color: var(--background-contrast-error);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-error-hover);
|
||||
--active: var(--background-contrast-error-active);
|
||||
}
|
||||
|
||||
.fr-badge--success {
|
||||
color: var(--text-default-success);
|
||||
background-color: var(--background-contrast-success);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-success-hover);
|
||||
--active: var(--background-contrast-success-active);
|
||||
}
|
||||
|
||||
.fr-badge--warning {
|
||||
color: var(--text-default-warning);
|
||||
background-color: var(--background-contrast-warning);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-warning-hover);
|
||||
--active: var(--background-contrast-warning-active);
|
||||
}
|
||||
|
||||
.fr-badge--new {
|
||||
color: var(--text-action-high-yellow-moutarde);
|
||||
background-color: var(--background-contrast-yellow-moutarde);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-yellow-moutarde-hover);
|
||||
--active: var(--background-contrast-yellow-moutarde-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-tilleul-verveine {
|
||||
color: var(--text-label-green-tilleul-verveine);
|
||||
background-color: var(--background-contrast-green-tilleul-verveine);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-tilleul-verveine-hover);
|
||||
--active: var(--background-contrast-green-tilleul-verveine-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-bourgeon {
|
||||
color: var(--text-label-green-bourgeon);
|
||||
background-color: var(--background-contrast-green-bourgeon);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-bourgeon-hover);
|
||||
--active: var(--background-contrast-green-bourgeon-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-emeraude {
|
||||
color: var(--text-label-green-emeraude);
|
||||
background-color: var(--background-contrast-green-emeraude);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-emeraude-hover);
|
||||
--active: var(--background-contrast-green-emeraude-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-menthe {
|
||||
color: var(--text-label-green-menthe);
|
||||
background-color: var(--background-contrast-green-menthe);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-menthe-hover);
|
||||
--active: var(--background-contrast-green-menthe-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-archipel {
|
||||
color: var(--text-label-green-archipel);
|
||||
background-color: var(--background-contrast-green-archipel);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-archipel-hover);
|
||||
--active: var(--background-contrast-green-archipel-active);
|
||||
}
|
||||
|
||||
.fr-badge--blue-ecume {
|
||||
color: var(--text-label-blue-ecume);
|
||||
background-color: var(--background-contrast-blue-ecume);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-blue-ecume-hover);
|
||||
--active: var(--background-contrast-blue-ecume-active);
|
||||
}
|
||||
|
||||
.fr-badge--blue-cumulus {
|
||||
color: var(--text-label-blue-cumulus);
|
||||
background-color: var(--background-contrast-blue-cumulus);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-blue-cumulus-hover);
|
||||
--active: var(--background-contrast-blue-cumulus-active);
|
||||
}
|
||||
|
||||
.fr-badge--purple-glycine {
|
||||
color: var(--text-label-purple-glycine);
|
||||
background-color: var(--background-contrast-purple-glycine);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-purple-glycine-hover);
|
||||
--active: var(--background-contrast-purple-glycine-active);
|
||||
}
|
||||
|
||||
.fr-badge--pink-macaron {
|
||||
color: var(--text-label-pink-macaron);
|
||||
background-color: var(--background-contrast-pink-macaron);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-pink-macaron-hover);
|
||||
--active: var(--background-contrast-pink-macaron-active);
|
||||
}
|
||||
|
||||
.fr-badge--pink-tuile {
|
||||
color: var(--text-label-pink-tuile);
|
||||
background-color: var(--background-contrast-pink-tuile);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-pink-tuile-hover);
|
||||
--active: var(--background-contrast-pink-tuile-active);
|
||||
}
|
||||
|
||||
.fr-badge--yellow-tournesol {
|
||||
color: var(--text-label-yellow-tournesol);
|
||||
background-color: var(--background-contrast-yellow-tournesol);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-yellow-tournesol-hover);
|
||||
--active: var(--background-contrast-yellow-tournesol-active);
|
||||
}
|
||||
|
||||
.fr-badge--yellow-moutarde {
|
||||
color: var(--text-label-yellow-moutarde);
|
||||
background-color: var(--background-contrast-yellow-moutarde);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-yellow-moutarde-hover);
|
||||
--active: var(--background-contrast-yellow-moutarde-active);
|
||||
}
|
||||
|
||||
.fr-badge--orange-terre-battue {
|
||||
color: var(--text-label-orange-terre-battue);
|
||||
background-color: var(--background-contrast-orange-terre-battue);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-orange-terre-battue-hover);
|
||||
--active: var(--background-contrast-orange-terre-battue-active);
|
||||
}
|
||||
|
||||
.fr-badge--brown-cafe-creme {
|
||||
color: var(--text-label-brown-cafe-creme);
|
||||
background-color: var(--background-contrast-brown-cafe-creme);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-brown-cafe-creme-hover);
|
||||
--active: var(--background-contrast-brown-cafe-creme-active);
|
||||
}
|
||||
|
||||
.fr-badge--brown-caramel {
|
||||
color: var(--text-label-brown-caramel);
|
||||
background-color: var(--background-contrast-brown-caramel);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-brown-caramel-hover);
|
||||
--active: var(--background-contrast-brown-caramel-active);
|
||||
}
|
||||
|
||||
.fr-badge--brown-opera {
|
||||
color: var(--text-label-brown-opera);
|
||||
background-color: var(--background-contrast-brown-opera);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-brown-opera-hover);
|
||||
--active: var(--background-contrast-brown-opera-active);
|
||||
}
|
||||
|
||||
.fr-badge--beige-gris-galet {
|
||||
color: var(--text-label-beige-gris-galet);
|
||||
background-color: var(--background-contrast-beige-gris-galet);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-beige-gris-galet-hover);
|
||||
--active: var(--background-contrast-beige-gris-galet-active);
|
||||
}
|
||||
|
||||
.fr-badge-group {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-badge-group > li {
|
||||
display: inline-flex;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fr-badge-group .fr-badge {
|
||||
margin-right: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
@media (min-width: 36em) {
|
||||
/*! media sm */
|
||||
|
||||
/*! media sm */
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
/*! media md */
|
||||
|
||||
/*! 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-badge::before,
|
||||
.fr-badge::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-badge--sm::before {
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--info::before,
|
||||
.fr-badge.fr-badge--info::after,
|
||||
.fr-badge--sm.fr-badge--info::before,
|
||||
.fr-badge--sm.fr-badge--info::after {
|
||||
background-image: url("../../icons/system/fr--info-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--success::before,
|
||||
.fr-badge.fr-badge--success::after,
|
||||
.fr-badge--sm.fr-badge--success::before,
|
||||
.fr-badge--sm.fr-badge--success::after {
|
||||
background-image: url("../../icons/system/fr--success-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--error::before,
|
||||
.fr-badge.fr-badge--error::after,
|
||||
.fr-badge--sm.fr-badge--error::before,
|
||||
.fr-badge--sm.fr-badge--error::after {
|
||||
background-image: url("../../icons/system/fr--error-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--warning::before,
|
||||
.fr-badge.fr-badge--warning::after,
|
||||
.fr-badge--sm.fr-badge--warning::before,
|
||||
.fr-badge--sm.fr-badge--warning::after {
|
||||
background-image: url("../../icons/system/fr--warning-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--new::before,
|
||||
.fr-badge.fr-badge--new::after,
|
||||
.fr-badge--sm.fr-badge--new::before,
|
||||
.fr-badge--sm.fr-badge--new::after {
|
||||
background-image: url("../../icons/weather/flashlight-fill.svg");
|
||||
}
|
||||
|
||||
ul.fr-badges-group {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ol.fr-badges-group {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.fr-badges-group,
|
||||
ol.fr-badges-group {
|
||||
padding-left: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-badge {
|
||||
color: #3a3a3a;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.fr-badge--info {
|
||||
color: #0063cb;
|
||||
background-color: #e8edff;
|
||||
}
|
||||
|
||||
.fr-badge--error {
|
||||
color: #ce0500;
|
||||
background-color: #ffe9e9;
|
||||
}
|
||||
|
||||
.fr-badge--success {
|
||||
color: #18753c;
|
||||
background-color: #b8fec9;
|
||||
}
|
||||
|
||||
.fr-badge--warning {
|
||||
color: #b34000;
|
||||
background-color: #ffe9e6;
|
||||
}
|
||||
|
||||
.fr-badge--new {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--green-tilleul-verveine {
|
||||
color: #66673d;
|
||||
background-color: #fceeac;
|
||||
}
|
||||
|
||||
.fr-badge--green-bourgeon {
|
||||
color: #447049;
|
||||
background-color: #c9fcac;
|
||||
}
|
||||
|
||||
.fr-badge--green-emeraude {
|
||||
color: #297254;
|
||||
background-color: #c3fad5;
|
||||
}
|
||||
|
||||
.fr-badge--green-menthe {
|
||||
color: #37635f;
|
||||
background-color: #bafaee;
|
||||
}
|
||||
|
||||
.fr-badge--green-archipel {
|
||||
color: #006a6f;
|
||||
background-color: #c7f6fc;
|
||||
}
|
||||
|
||||
.fr-badge--blue-ecume {
|
||||
color: #2f4077;
|
||||
background-color: #e9edfe;
|
||||
}
|
||||
|
||||
.fr-badge--blue-cumulus {
|
||||
color: #3558a2;
|
||||
background-color: #e6eefe;
|
||||
}
|
||||
|
||||
.fr-badge--purple-glycine {
|
||||
color: #6e445a;
|
||||
background-color: #fee7fc;
|
||||
}
|
||||
|
||||
.fr-badge--pink-macaron {
|
||||
color: #8d533e;
|
||||
background-color: #fee9e6;
|
||||
}
|
||||
|
||||
.fr-badge--pink-tuile {
|
||||
color: #a94645;
|
||||
background-color: #fee9e7;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-tournesol {
|
||||
color: #716043;
|
||||
background-color: #feecc2;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-moutarde {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--orange-terre-battue {
|
||||
color: #755348;
|
||||
background-color: #fee9e5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-cafe-creme {
|
||||
color: #685c48;
|
||||
background-color: #f7ecdb;
|
||||
}
|
||||
|
||||
.fr-badge--brown-caramel {
|
||||
color: #845d48;
|
||||
background-color: #f7ebe5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-opera {
|
||||
color: #745b47;
|
||||
background-color: #f7ece4;
|
||||
}
|
||||
|
||||
.fr-badge--beige-gris-galet {
|
||||
color: #6a6156;
|
||||
background-color: #f3ede5;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
.fr-badge {
|
||||
color: #3a3a3a;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.fr-badge--info {
|
||||
color: #0063cb;
|
||||
background-color: #e8edff;
|
||||
}
|
||||
|
||||
.fr-badge--error {
|
||||
color: #ce0500;
|
||||
background-color: #ffe9e9;
|
||||
}
|
||||
|
||||
.fr-badge--success {
|
||||
color: #18753c;
|
||||
background-color: #b8fec9;
|
||||
}
|
||||
|
||||
.fr-badge--warning {
|
||||
color: #b34000;
|
||||
background-color: #ffe9e6;
|
||||
}
|
||||
|
||||
.fr-badge--new {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--green-tilleul-verveine {
|
||||
color: #66673d;
|
||||
background-color: #fceeac;
|
||||
}
|
||||
|
||||
.fr-badge--green-bourgeon {
|
||||
color: #447049;
|
||||
background-color: #c9fcac;
|
||||
}
|
||||
|
||||
.fr-badge--green-emeraude {
|
||||
color: #297254;
|
||||
background-color: #c3fad5;
|
||||
}
|
||||
|
||||
.fr-badge--green-menthe {
|
||||
color: #37635f;
|
||||
background-color: #bafaee;
|
||||
}
|
||||
|
||||
.fr-badge--green-archipel {
|
||||
color: #006a6f;
|
||||
background-color: #c7f6fc;
|
||||
}
|
||||
|
||||
.fr-badge--blue-ecume {
|
||||
color: #2f4077;
|
||||
background-color: #e9edfe;
|
||||
}
|
||||
|
||||
.fr-badge--blue-cumulus {
|
||||
color: #3558a2;
|
||||
background-color: #e6eefe;
|
||||
}
|
||||
|
||||
.fr-badge--purple-glycine {
|
||||
color: #6e445a;
|
||||
background-color: #fee7fc;
|
||||
}
|
||||
|
||||
.fr-badge--pink-macaron {
|
||||
color: #8d533e;
|
||||
background-color: #fee9e6;
|
||||
}
|
||||
|
||||
.fr-badge--pink-tuile {
|
||||
color: #a94645;
|
||||
background-color: #fee9e7;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-tournesol {
|
||||
color: #716043;
|
||||
background-color: #feecc2;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-moutarde {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--orange-terre-battue {
|
||||
color: #755348;
|
||||
background-color: #fee9e5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-cafe-creme {
|
||||
color: #685c48;
|
||||
background-color: #f7ecdb;
|
||||
}
|
||||
|
||||
.fr-badge--brown-caramel {
|
||||
color: #845d48;
|
||||
background-color: #f7ebe5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-opera {
|
||||
color: #745b47;
|
||||
background-color: #f7ece4;
|
||||
}
|
||||
|
||||
.fr-badge--beige-gris-galet {
|
||||
color: #6a6156;
|
||||
background-color: #f3ede5;
|
||||
}
|
||||
}
|
1
home/dist/component/badge/badge.css.map
vendored
Normal file
1
home/dist/component/badge/badge.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
195
home/dist/component/badge/badge.legacy.css
vendored
Normal file
195
home/dist/component/badge/badge.legacy.css
vendored
Normal file
|
@ -0,0 +1,195 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
.fr-badge::before,
|
||||
.fr-badge::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-badge--sm::before {
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--info::before,
|
||||
.fr-badge.fr-badge--info::after,
|
||||
.fr-badge--sm.fr-badge--info::before,
|
||||
.fr-badge--sm.fr-badge--info::after {
|
||||
background-image: url("../../icons/system/fr--info-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--success::before,
|
||||
.fr-badge.fr-badge--success::after,
|
||||
.fr-badge--sm.fr-badge--success::before,
|
||||
.fr-badge--sm.fr-badge--success::after {
|
||||
background-image: url("../../icons/system/fr--success-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--error::before,
|
||||
.fr-badge.fr-badge--error::after,
|
||||
.fr-badge--sm.fr-badge--error::before,
|
||||
.fr-badge--sm.fr-badge--error::after {
|
||||
background-image: url("../../icons/system/fr--error-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--warning::before,
|
||||
.fr-badge.fr-badge--warning::after,
|
||||
.fr-badge--sm.fr-badge--warning::before,
|
||||
.fr-badge--sm.fr-badge--warning::after {
|
||||
background-image: url("../../icons/system/fr--warning-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--new::before,
|
||||
.fr-badge.fr-badge--new::after,
|
||||
.fr-badge--sm.fr-badge--new::before,
|
||||
.fr-badge--sm.fr-badge--new::after {
|
||||
background-image: url("../../icons/weather/flashlight-fill.svg");
|
||||
}
|
||||
|
||||
ul.fr-badges-group {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ol.fr-badges-group {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.fr-badges-group,
|
||||
ol.fr-badges-group {
|
||||
padding-left: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-badge {
|
||||
color: #3a3a3a;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.fr-badge--info {
|
||||
color: #0063cb;
|
||||
background-color: #e8edff;
|
||||
}
|
||||
|
||||
.fr-badge--error {
|
||||
color: #ce0500;
|
||||
background-color: #ffe9e9;
|
||||
}
|
||||
|
||||
.fr-badge--success {
|
||||
color: #18753c;
|
||||
background-color: #b8fec9;
|
||||
}
|
||||
|
||||
.fr-badge--warning {
|
||||
color: #b34000;
|
||||
background-color: #ffe9e6;
|
||||
}
|
||||
|
||||
.fr-badge--new {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--green-tilleul-verveine {
|
||||
color: #66673d;
|
||||
background-color: #fceeac;
|
||||
}
|
||||
|
||||
.fr-badge--green-bourgeon {
|
||||
color: #447049;
|
||||
background-color: #c9fcac;
|
||||
}
|
||||
|
||||
.fr-badge--green-emeraude {
|
||||
color: #297254;
|
||||
background-color: #c3fad5;
|
||||
}
|
||||
|
||||
.fr-badge--green-menthe {
|
||||
color: #37635f;
|
||||
background-color: #bafaee;
|
||||
}
|
||||
|
||||
.fr-badge--green-archipel {
|
||||
color: #006a6f;
|
||||
background-color: #c7f6fc;
|
||||
}
|
||||
|
||||
.fr-badge--blue-ecume {
|
||||
color: #2f4077;
|
||||
background-color: #e9edfe;
|
||||
}
|
||||
|
||||
.fr-badge--blue-cumulus {
|
||||
color: #3558a2;
|
||||
background-color: #e6eefe;
|
||||
}
|
||||
|
||||
.fr-badge--purple-glycine {
|
||||
color: #6e445a;
|
||||
background-color: #fee7fc;
|
||||
}
|
||||
|
||||
.fr-badge--pink-macaron {
|
||||
color: #8d533e;
|
||||
background-color: #fee9e6;
|
||||
}
|
||||
|
||||
.fr-badge--pink-tuile {
|
||||
color: #a94645;
|
||||
background-color: #fee9e7;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-tournesol {
|
||||
color: #716043;
|
||||
background-color: #feecc2;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-moutarde {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--orange-terre-battue {
|
||||
color: #755348;
|
||||
background-color: #fee9e5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-cafe-creme {
|
||||
color: #685c48;
|
||||
background-color: #f7ecdb;
|
||||
}
|
||||
|
||||
.fr-badge--brown-caramel {
|
||||
color: #845d48;
|
||||
background-color: #f7ebe5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-opera {
|
||||
color: #745b47;
|
||||
background-color: #f7ece4;
|
||||
}
|
||||
|
||||
.fr-badge--beige-gris-galet {
|
||||
color: #6a6156;
|
||||
background-color: #f3ede5;
|
||||
}
|
||||
}
|
1
home/dist/component/badge/badge.legacy.css.map
vendored
Normal file
1
home/dist/component/badge/badge.legacy.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/badge/badge.legacy.min.css
vendored
Normal file
7
home/dist/component/badge/badge.legacy.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 (-ms-high-contrast:active),(-ms-high-contrast:none){.fr-badge:after,.fr-badge:before{background-color:transparent;background-repeat:no-repeat;background-size:100%;height:1rem;width:1rem}.fr-badge--sm:before{height:.75rem;width:.75rem}.fr-badge--sm.fr-badge--info:after,.fr-badge--sm.fr-badge--info:before,.fr-badge.fr-badge--info:after,.fr-badge.fr-badge--info:before{background-image:url(../../icons/system/fr--info-fill.svg)}.fr-badge--sm.fr-badge--success:after,.fr-badge--sm.fr-badge--success:before,.fr-badge.fr-badge--success:after,.fr-badge.fr-badge--success:before{background-image:url(../../icons/system/fr--success-fill.svg)}.fr-badge--sm.fr-badge--error:after,.fr-badge--sm.fr-badge--error:before,.fr-badge.fr-badge--error:after,.fr-badge.fr-badge--error:before{background-image:url(../../icons/system/fr--error-fill.svg)}.fr-badge--sm.fr-badge--warning:after,.fr-badge--sm.fr-badge--warning:before,.fr-badge.fr-badge--warning:after,.fr-badge.fr-badge--warning:before{background-image:url(../../icons/system/fr--warning-fill.svg)}.fr-badge--sm.fr-badge--new:after,.fr-badge--sm.fr-badge--new:before,.fr-badge.fr-badge--new:after,.fr-badge.fr-badge--new:before{background-image:url(../../icons/weather/flashlight-fill.svg)}ol.fr-badges-group,ul.fr-badges-group{list-style-type:none}ol.fr-badges-group,ul.fr-badges-group{margin-bottom:0;margin-top:0;padding-left:0}.fr-badge{background-color:#eee;color:#3a3a3a}.fr-badge--info{background-color:#e8edff;color:#0063cb}.fr-badge--error{background-color:#ffe9e9;color:#ce0500}.fr-badge--success{background-color:#b8fec9;color:#18753c}.fr-badge--warning{background-color:#ffe9e6;color:#b34000}.fr-badge--new{background-color:#feebd0;color:#695240}.fr-badge--green-tilleul-verveine{background-color:#fceeac;color:#66673d}.fr-badge--green-bourgeon{background-color:#c9fcac;color:#447049}.fr-badge--green-emeraude{background-color:#c3fad5;color:#297254}.fr-badge--green-menthe{background-color:#bafaee;color:#37635f}.fr-badge--green-archipel{background-color:#c7f6fc;color:#006a6f}.fr-badge--blue-ecume{background-color:#e9edfe;color:#2f4077}.fr-badge--blue-cumulus{background-color:#e6eefe;color:#3558a2}.fr-badge--purple-glycine{background-color:#fee7fc;color:#6e445a}.fr-badge--pink-macaron{background-color:#fee9e6;color:#8d533e}.fr-badge--pink-tuile{background-color:#fee9e7;color:#a94645}.fr-badge--yellow-tournesol{background-color:#feecc2;color:#716043}.fr-badge--yellow-moutarde{background-color:#feebd0;color:#695240}.fr-badge--orange-terre-battue{background-color:#fee9e5;color:#755348}.fr-badge--brown-cafe-creme{background-color:#f7ecdb;color:#685c48}.fr-badge--brown-caramel{background-color:#f7ebe5;color:#845d48}.fr-badge--brown-opera{background-color:#f7ece4;color:#745b47}.fr-badge--beige-gris-galet{background-color:#f3ede5;color:#6a6156}}
|
1
home/dist/component/badge/badge.legacy.min.css.map
vendored
Normal file
1
home/dist/component/badge/badge.legacy.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
436
home/dist/component/badge/badge.main.css
vendored
Normal file
436
home/dist/component/badge/badge.main.css
vendored
Normal file
|
@ -0,0 +1,436 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
/* ------------------------------------ *\
|
||||
Badge
|
||||
\* ------------------------------------ */
|
||||
.fr-badge {
|
||||
--text-spacing: 0;
|
||||
--title-spacing: 0;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
|
||||
--underline-img: none;
|
||||
--hover-tint: var(--hover);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
min-height: 1.5rem;
|
||||
padding: 0 0.5rem;
|
||||
overflow: initial;
|
||||
max-height: none;
|
||||
font-weight: 700;
|
||||
max-width: 100%;
|
||||
text-transform: uppercase;
|
||||
border-radius: 0.25rem;
|
||||
color: var(--text-default-grey);
|
||||
background-color: var(--background-contrast-grey);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-grey-hover);
|
||||
--active: var(--background-contrast-grey-active);
|
||||
}
|
||||
|
||||
.fr-badge::before,
|
||||
.fr-badge::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fr-badge--icon-left[class^=fr-icon-],
|
||||
.fr-badge--icon-left[class*=" fr-icon-"],
|
||||
.fr-badge--icon-left[class^=fr-fi-],
|
||||
.fr-badge--icon-left[class*=" fr-fi-"] {
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-badge--icon-left[class^=fr-icon-]::before,
|
||||
.fr-badge--icon-left[class*=" fr-icon-"]::before,
|
||||
.fr-badge--icon-left[class^=fr-fi-]::before,
|
||||
.fr-badge--icon-left[class*=" fr-fi-"]::before {
|
||||
--icon-size: 1rem;
|
||||
margin-left: -0.125rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badge[class^=fr-icon-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge[class*=" fr-icon-"]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge[class^=fr-fi-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge[class*=" fr-fi-"]:not([class*=fr-badge--icon-])::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-badge--sm {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
min-height: 1.125rem;
|
||||
padding: 0 0.375rem;
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-],
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-icon-"],
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-fi-],
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-fi-"] {
|
||||
overflow: initial;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-icon-]::before,
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-icon-"]::before,
|
||||
.fr-badge--sm.fr-badge--icon-left[class^=fr-fi-]::before,
|
||||
.fr-badge--sm.fr-badge--icon-left[class*=" fr-fi-"]::before {
|
||||
--icon-size: 0.75rem;
|
||||
margin-left: -0.09375rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badge--sm[class^=fr-icon-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge--sm[class*=" fr-icon-"]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge--sm[class^=fr-fi-]:not([class*=fr-badge--icon-])::before,
|
||||
.fr-badge--sm[class*=" fr-fi-"]:not([class*=fr-badge--icon-])::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-badge::before {
|
||||
--icon-size: 1rem;
|
||||
margin-left: -0.125rem;
|
||||
margin-right: 0.25rem;
|
||||
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%;
|
||||
}
|
||||
|
||||
.fr-badge--sm::before {
|
||||
--icon-size: 0.75rem;
|
||||
margin-left: -0.09375rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--info::before,
|
||||
.fr-badge--sm.fr-badge--info::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--info-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--info-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--success::before,
|
||||
.fr-badge--sm.fr-badge--success::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--success-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--success-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--error::before,
|
||||
.fr-badge--sm.fr-badge--error::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--error-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--error-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--warning::before,
|
||||
.fr-badge--sm.fr-badge--warning::before {
|
||||
-webkit-mask-image: url("../../icons/system/fr--warning-fill.svg");
|
||||
mask-image: url("../../icons/system/fr--warning-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--new::before,
|
||||
.fr-badge--sm.fr-badge--new::before {
|
||||
-webkit-mask-image: url("../../icons/weather/flashlight-fill.svg");
|
||||
mask-image: url("../../icons/weather/flashlight-fill.svg");
|
||||
}
|
||||
|
||||
.fr-badge--info::before,
|
||||
.fr-badge--success::before,
|
||||
.fr-badge--error::before,
|
||||
.fr-badge--warning::before,
|
||||
.fr-badge--new::before,
|
||||
.fr-badge--sm--info::before,
|
||||
.fr-badge--sm--success::before,
|
||||
.fr-badge--sm--error::before,
|
||||
.fr-badge--sm--warning::before,
|
||||
.fr-badge--sm--new::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.fr-badge.fr-badge--no-icon::before,
|
||||
.fr-badge--sm.fr-badge--no-icon::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-badges-group {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-left: -0.25rem;
|
||||
margin-right: -0.25rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-badges-group > li {
|
||||
display: inline-flex;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fr-badges-group .fr-badge {
|
||||
margin: 0 0.25rem 0.5rem 0.25rem;
|
||||
}
|
||||
|
||||
.fr-badges-group--sm .fr-badge {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
min-height: 1.125rem;
|
||||
padding: 0 0.375rem;
|
||||
}
|
||||
|
||||
.fr-badges-group--sm .fr-badge::before,
|
||||
.fr-badges-group--sm .fr-badge::after {
|
||||
--icon-size: 0.75rem;
|
||||
}
|
||||
|
||||
.fr-badge--info {
|
||||
color: var(--text-default-info);
|
||||
background-color: var(--background-contrast-info);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-info-hover);
|
||||
--active: var(--background-contrast-info-active);
|
||||
}
|
||||
|
||||
.fr-badge--error {
|
||||
color: var(--text-default-error);
|
||||
background-color: var(--background-contrast-error);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-error-hover);
|
||||
--active: var(--background-contrast-error-active);
|
||||
}
|
||||
|
||||
.fr-badge--success {
|
||||
color: var(--text-default-success);
|
||||
background-color: var(--background-contrast-success);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-success-hover);
|
||||
--active: var(--background-contrast-success-active);
|
||||
}
|
||||
|
||||
.fr-badge--warning {
|
||||
color: var(--text-default-warning);
|
||||
background-color: var(--background-contrast-warning);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-warning-hover);
|
||||
--active: var(--background-contrast-warning-active);
|
||||
}
|
||||
|
||||
.fr-badge--new {
|
||||
color: var(--text-action-high-yellow-moutarde);
|
||||
background-color: var(--background-contrast-yellow-moutarde);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-yellow-moutarde-hover);
|
||||
--active: var(--background-contrast-yellow-moutarde-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-tilleul-verveine {
|
||||
color: var(--text-label-green-tilleul-verveine);
|
||||
background-color: var(--background-contrast-green-tilleul-verveine);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-tilleul-verveine-hover);
|
||||
--active: var(--background-contrast-green-tilleul-verveine-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-bourgeon {
|
||||
color: var(--text-label-green-bourgeon);
|
||||
background-color: var(--background-contrast-green-bourgeon);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-bourgeon-hover);
|
||||
--active: var(--background-contrast-green-bourgeon-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-emeraude {
|
||||
color: var(--text-label-green-emeraude);
|
||||
background-color: var(--background-contrast-green-emeraude);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-emeraude-hover);
|
||||
--active: var(--background-contrast-green-emeraude-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-menthe {
|
||||
color: var(--text-label-green-menthe);
|
||||
background-color: var(--background-contrast-green-menthe);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-menthe-hover);
|
||||
--active: var(--background-contrast-green-menthe-active);
|
||||
}
|
||||
|
||||
.fr-badge--green-archipel {
|
||||
color: var(--text-label-green-archipel);
|
||||
background-color: var(--background-contrast-green-archipel);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-green-archipel-hover);
|
||||
--active: var(--background-contrast-green-archipel-active);
|
||||
}
|
||||
|
||||
.fr-badge--blue-ecume {
|
||||
color: var(--text-label-blue-ecume);
|
||||
background-color: var(--background-contrast-blue-ecume);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-blue-ecume-hover);
|
||||
--active: var(--background-contrast-blue-ecume-active);
|
||||
}
|
||||
|
||||
.fr-badge--blue-cumulus {
|
||||
color: var(--text-label-blue-cumulus);
|
||||
background-color: var(--background-contrast-blue-cumulus);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-blue-cumulus-hover);
|
||||
--active: var(--background-contrast-blue-cumulus-active);
|
||||
}
|
||||
|
||||
.fr-badge--purple-glycine {
|
||||
color: var(--text-label-purple-glycine);
|
||||
background-color: var(--background-contrast-purple-glycine);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-purple-glycine-hover);
|
||||
--active: var(--background-contrast-purple-glycine-active);
|
||||
}
|
||||
|
||||
.fr-badge--pink-macaron {
|
||||
color: var(--text-label-pink-macaron);
|
||||
background-color: var(--background-contrast-pink-macaron);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-pink-macaron-hover);
|
||||
--active: var(--background-contrast-pink-macaron-active);
|
||||
}
|
||||
|
||||
.fr-badge--pink-tuile {
|
||||
color: var(--text-label-pink-tuile);
|
||||
background-color: var(--background-contrast-pink-tuile);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-pink-tuile-hover);
|
||||
--active: var(--background-contrast-pink-tuile-active);
|
||||
}
|
||||
|
||||
.fr-badge--yellow-tournesol {
|
||||
color: var(--text-label-yellow-tournesol);
|
||||
background-color: var(--background-contrast-yellow-tournesol);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-yellow-tournesol-hover);
|
||||
--active: var(--background-contrast-yellow-tournesol-active);
|
||||
}
|
||||
|
||||
.fr-badge--yellow-moutarde {
|
||||
color: var(--text-label-yellow-moutarde);
|
||||
background-color: var(--background-contrast-yellow-moutarde);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-yellow-moutarde-hover);
|
||||
--active: var(--background-contrast-yellow-moutarde-active);
|
||||
}
|
||||
|
||||
.fr-badge--orange-terre-battue {
|
||||
color: var(--text-label-orange-terre-battue);
|
||||
background-color: var(--background-contrast-orange-terre-battue);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-orange-terre-battue-hover);
|
||||
--active: var(--background-contrast-orange-terre-battue-active);
|
||||
}
|
||||
|
||||
.fr-badge--brown-cafe-creme {
|
||||
color: var(--text-label-brown-cafe-creme);
|
||||
background-color: var(--background-contrast-brown-cafe-creme);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-brown-cafe-creme-hover);
|
||||
--active: var(--background-contrast-brown-cafe-creme-active);
|
||||
}
|
||||
|
||||
.fr-badge--brown-caramel {
|
||||
color: var(--text-label-brown-caramel);
|
||||
background-color: var(--background-contrast-brown-caramel);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-brown-caramel-hover);
|
||||
--active: var(--background-contrast-brown-caramel-active);
|
||||
}
|
||||
|
||||
.fr-badge--brown-opera {
|
||||
color: var(--text-label-brown-opera);
|
||||
background-color: var(--background-contrast-brown-opera);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-brown-opera-hover);
|
||||
--active: var(--background-contrast-brown-opera-active);
|
||||
}
|
||||
|
||||
.fr-badge--beige-gris-galet {
|
||||
color: var(--text-label-beige-gris-galet);
|
||||
background-color: var(--background-contrast-beige-gris-galet);
|
||||
|
||||
--idle: transparent;
|
||||
--hover: var(--background-contrast-beige-gris-galet-hover);
|
||||
--active: var(--background-contrast-beige-gris-galet-active);
|
||||
}
|
||||
|
||||
.fr-badge-group {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-badge-group > li {
|
||||
display: inline-flex;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fr-badge-group .fr-badge {
|
||||
margin-right: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
@media (min-width: 36em) {
|
||||
/*! media sm */
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
/*! media md */
|
||||
}
|
||||
@media (min-width: 62em) {
|
||||
/*! media lg */
|
||||
}
|
||||
@media (min-width: 78em) {
|
||||
/*! media xl */
|
||||
}
|
1
home/dist/component/badge/badge.main.css.map
vendored
Normal file
1
home/dist/component/badge/badge.main.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/badge/badge.main.min.css
vendored
Normal file
7
home/dist/component/badge/badge.main.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
home/dist/component/badge/badge.main.min.css.map
vendored
Normal file
1
home/dist/component/badge/badge.main.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
11
home/dist/component/badge/badge.min.css
vendored
Normal file
11
home/dist/component/badge/badge.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
home/dist/component/badge/badge.min.css.map
vendored
Normal file
1
home/dist/component/badge/badge.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
119
home/dist/component/badge/badge.print.css
vendored
Normal file
119
home/dist/component/badge/badge.print.css
vendored
Normal file
|
@ -0,0 +1,119 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@media print {
|
||||
.fr-badge {
|
||||
color: #3a3a3a;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.fr-badge--info {
|
||||
color: #0063cb;
|
||||
background-color: #e8edff;
|
||||
}
|
||||
|
||||
.fr-badge--error {
|
||||
color: #ce0500;
|
||||
background-color: #ffe9e9;
|
||||
}
|
||||
|
||||
.fr-badge--success {
|
||||
color: #18753c;
|
||||
background-color: #b8fec9;
|
||||
}
|
||||
|
||||
.fr-badge--warning {
|
||||
color: #b34000;
|
||||
background-color: #ffe9e6;
|
||||
}
|
||||
|
||||
.fr-badge--new {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--green-tilleul-verveine {
|
||||
color: #66673d;
|
||||
background-color: #fceeac;
|
||||
}
|
||||
|
||||
.fr-badge--green-bourgeon {
|
||||
color: #447049;
|
||||
background-color: #c9fcac;
|
||||
}
|
||||
|
||||
.fr-badge--green-emeraude {
|
||||
color: #297254;
|
||||
background-color: #c3fad5;
|
||||
}
|
||||
|
||||
.fr-badge--green-menthe {
|
||||
color: #37635f;
|
||||
background-color: #bafaee;
|
||||
}
|
||||
|
||||
.fr-badge--green-archipel {
|
||||
color: #006a6f;
|
||||
background-color: #c7f6fc;
|
||||
}
|
||||
|
||||
.fr-badge--blue-ecume {
|
||||
color: #2f4077;
|
||||
background-color: #e9edfe;
|
||||
}
|
||||
|
||||
.fr-badge--blue-cumulus {
|
||||
color: #3558a2;
|
||||
background-color: #e6eefe;
|
||||
}
|
||||
|
||||
.fr-badge--purple-glycine {
|
||||
color: #6e445a;
|
||||
background-color: #fee7fc;
|
||||
}
|
||||
|
||||
.fr-badge--pink-macaron {
|
||||
color: #8d533e;
|
||||
background-color: #fee9e6;
|
||||
}
|
||||
|
||||
.fr-badge--pink-tuile {
|
||||
color: #a94645;
|
||||
background-color: #fee9e7;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-tournesol {
|
||||
color: #716043;
|
||||
background-color: #feecc2;
|
||||
}
|
||||
|
||||
.fr-badge--yellow-moutarde {
|
||||
color: #695240;
|
||||
background-color: #feebd0;
|
||||
}
|
||||
|
||||
.fr-badge--orange-terre-battue {
|
||||
color: #755348;
|
||||
background-color: #fee9e5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-cafe-creme {
|
||||
color: #685c48;
|
||||
background-color: #f7ecdb;
|
||||
}
|
||||
|
||||
.fr-badge--brown-caramel {
|
||||
color: #845d48;
|
||||
background-color: #f7ebe5;
|
||||
}
|
||||
|
||||
.fr-badge--brown-opera {
|
||||
color: #745b47;
|
||||
background-color: #f7ece4;
|
||||
}
|
||||
|
||||
.fr-badge--beige-gris-galet {
|
||||
color: #6a6156;
|
||||
background-color: #f3ede5;
|
||||
}
|
||||
}
|
1
home/dist/component/badge/badge.print.css.map
vendored
Normal file
1
home/dist/component/badge/badge.print.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
home/dist/component/badge/badge.print.min.css
vendored
Normal file
3
home/dist/component/badge/badge.print.min.css
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/@media print{.fr-badge{background-color:#eee;color:#3a3a3a}.fr-badge--info{background-color:#e8edff;color:#0063cb}.fr-badge--error{background-color:#ffe9e9;color:#ce0500}.fr-badge--success{background-color:#b8fec9;color:#18753c}.fr-badge--warning{background-color:#ffe9e6;color:#b34000}.fr-badge--new{background-color:#feebd0;color:#695240}.fr-badge--green-tilleul-verveine{background-color:#fceeac;color:#66673d}.fr-badge--green-bourgeon{background-color:#c9fcac;color:#447049}.fr-badge--green-emeraude{background-color:#c3fad5;color:#297254}.fr-badge--green-menthe{background-color:#bafaee;color:#37635f}.fr-badge--green-archipel{background-color:#c7f6fc;color:#006a6f}.fr-badge--blue-ecume{background-color:#e9edfe;color:#2f4077}.fr-badge--blue-cumulus{background-color:#e6eefe;color:#3558a2}.fr-badge--purple-glycine{background-color:#fee7fc;color:#6e445a}.fr-badge--pink-macaron{background-color:#fee9e6;color:#8d533e}.fr-badge--pink-tuile{background-color:#fee9e7;color:#a94645}.fr-badge--yellow-tournesol{background-color:#feecc2;color:#716043}.fr-badge--yellow-moutarde{background-color:#feebd0;color:#695240}.fr-badge--orange-terre-battue{background-color:#fee9e5;color:#755348}.fr-badge--brown-cafe-creme{background-color:#f7ecdb;color:#685c48}.fr-badge--brown-caramel{background-color:#f7ebe5;color:#845d48}.fr-badge--brown-opera{background-color:#f7ece4;color:#745b47}.fr-badge--beige-gris-galet{background-color:#f3ede5;color:#6a6156}}
|
1
home/dist/component/badge/badge.print.min.css.map
vendored
Normal file
1
home/dist/component/badge/badge.print.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
31
home/dist/component/breadcrumb/README.md
vendored
Normal file
31
home/dist/component/breadcrumb/README.md
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
# breadcrumb
|
||||
|
||||
Le fil d’Ariane est un système de navigation secondaire qui permet à l’utilisateur de se situer sur le site qu’il consulte.
|
||||
|
||||
## Dépendances
|
||||
```shell
|
||||
breadcrumb
|
||||
└─ core
|
||||
```
|
||||
|
||||
## Utilisation
|
||||
Afin d’utiliser le composant `breadcrumb`, il est nécessaire d’ajouter les fichiers de styles et de scripts présents dans le dossier dist dans l'ordre suivant :\n
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
<link href="css/core/core.min.css" rel="stylesheet">
|
||||
<link href="css/breadcrumb/breadcrumb.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" nomodule href="js/legacy/legacy.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/core/core.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/core/core.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/breadcrumb/breadcrumb.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/breadcrumb/breadcrumb.nomodule.min.js" ></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Consulter [la documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/fil-d-ariane) sur le module Fil d'Ariane
|
214
home/dist/component/breadcrumb/breadcrumb.css
vendored
Normal file
214
home/dist/component/breadcrumb/breadcrumb.css
vendored
Normal file
|
@ -0,0 +1,214 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@charset "UTF-8";
|
||||
|
||||
/* ¯¯¯¯¯¯¯¯¯ *\
|
||||
BREADCRUMB
|
||||
\* ˍˍˍˍˍˍˍˍˍ */
|
||||
|
||||
/**
|
||||
un padding de 4px et une marge négative en compensation sont mis en place afin d'éviter de couper le focus.
|
||||
*/
|
||||
.fr-breadcrumb {
|
||||
margin: 1rem 0 2rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
|
||||
--text-spacing: 0 0 0.5rem;
|
||||
position: relative;
|
||||
color: var(--text-mention-grey);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button {
|
||||
background-image: var(--underline-img), var(--underline-img);
|
||||
background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - var(--underline-thickness));
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
transition: background-size 0s;
|
||||
background-size: var(--underline-hover-width) calc(var(--underline-thickness) * 2), var(--underline-idle-width) var(--underline-thickness);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
--hover-tint: var(--idle);
|
||||
--active-tint: var(--idle);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button:hover,
|
||||
.fr-breadcrumb__button:active {
|
||||
--underline-hover-width: var(--underline-max-width);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button[aria-expanded=true] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb .fr-collapse {
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
transform: translateY(4px);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list li {
|
||||
display: inline;
|
||||
line-height: 1.75rem;
|
||||
|
||||
/**
|
||||
* flèche séparatrice en font-icon
|
||||
*/
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list li:not(:first-child)::before {
|
||||
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/system/arrow-right-s-line.svg");
|
||||
mask-image: url("../../icons/system/arrow-right-s-line.svg");
|
||||
--icon-size: 1rem;
|
||||
content: "";
|
||||
margin-left: 0.25rem;
|
||||
margin-right: 0.25rem;
|
||||
vertical-align: -0.0625em;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link {
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
background-image: var(--underline-img), var(--underline-img);
|
||||
background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - var(--underline-thickness));
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
transition: background-size 0s;
|
||||
background-size: var(--underline-hover-width) calc(var(--underline-thickness) * 2), var(--underline-idle-width) var(--underline-thickness);
|
||||
|
||||
--hover-tint: var(--idle);
|
||||
--active-tint: var(--idle);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link:hover,
|
||||
.fr-breadcrumb__link:active {
|
||||
--underline-hover-width: var(--underline-max-width);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link[aria-current]:not([aria-current=false]) {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
|
||||
--underline-img: none;
|
||||
color: var(--text-default-grey);
|
||||
}
|
||||
@media (min-width: 36em) {
|
||||
/*! media sm */
|
||||
|
||||
/*! media sm */
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
/*! media md */
|
||||
.fr-breadcrumb {
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb .fr-collapse {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
transform: none;
|
||||
visibility: inherit;
|
||||
overflow: visible;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb .fr-collapse::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/*! 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) {
|
||||
/**
|
||||
* reset liste à puce
|
||||
*/
|
||||
.fr-breadcrumb ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb ol {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb ul,
|
||||
.fr-breadcrumb ol {
|
||||
padding-left: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link:not([aria-current])::after,
|
||||
.fr-breadcrumb__link[aria-current=false]::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/arrow-right-s-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-breadcrumb {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link[aria-current]:not([aria-current=false]) {
|
||||
color: #3a3a3a;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
.fr-breadcrumb {
|
||||
color: #666;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link[aria-current]:not([aria-current=false]) {
|
||||
color: #3a3a3a;
|
||||
}
|
||||
}
|
1
home/dist/component/breadcrumb/breadcrumb.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
53
home/dist/component/breadcrumb/breadcrumb.legacy.css
vendored
Normal file
53
home/dist/component/breadcrumb/breadcrumb.legacy.css
vendored
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
/**
|
||||
* reset liste à puce
|
||||
*/
|
||||
.fr-breadcrumb ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb ol {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb ul,
|
||||
.fr-breadcrumb ol {
|
||||
padding-left: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link:not([aria-current])::after,
|
||||
.fr-breadcrumb__link[aria-current=false]::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/arrow-right-s-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-breadcrumb {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link[aria-current]:not([aria-current=false]) {
|
||||
color: #3a3a3a;
|
||||
}
|
||||
}
|
1
home/dist/component/breadcrumb/breadcrumb.legacy.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.legacy.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/breadcrumb/breadcrumb.legacy.min.css
vendored
Normal file
7
home/dist/component/breadcrumb/breadcrumb.legacy.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 (-ms-high-contrast:active),(-ms-high-contrast:none){.fr-breadcrumb ol,.fr-breadcrumb ul{list-style-type:none}.fr-breadcrumb ol,.fr-breadcrumb ul{margin-bottom:0;margin-top:0;padding-left:0}.fr-breadcrumb__link:not([aria-current]):after,.fr-breadcrumb__link[aria-current=false]:after{background-color:transparent;background-image:url(../../icons/system/arrow-right-s-line.svg);background-repeat:no-repeat;background-size:100%;height:1rem;width:1rem}.fr-breadcrumb{color:#666}.fr-breadcrumb__link[aria-current]:not([aria-current=false]){color:#3a3a3a}}
|
1
home/dist/component/breadcrumb/breadcrumb.legacy.min.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.legacy.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
159
home/dist/component/breadcrumb/breadcrumb.main.css
vendored
Normal file
159
home/dist/component/breadcrumb/breadcrumb.main.css
vendored
Normal file
|
@ -0,0 +1,159 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@charset "UTF-8";
|
||||
|
||||
/* ¯¯¯¯¯¯¯¯¯ *\
|
||||
BREADCRUMB
|
||||
\* ˍˍˍˍˍˍˍˍˍ */
|
||||
|
||||
/**
|
||||
un padding de 4px et une marge négative en compensation sont mis en place afin d'éviter de couper le focus.
|
||||
*/
|
||||
.fr-breadcrumb {
|
||||
margin: 1rem 0 2rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
|
||||
--text-spacing: 0 0 0.5rem;
|
||||
position: relative;
|
||||
color: var(--text-mention-grey);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button {
|
||||
background-image: var(--underline-img), var(--underline-img);
|
||||
background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - var(--underline-thickness));
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
transition: background-size 0s;
|
||||
background-size: var(--underline-hover-width) calc(var(--underline-thickness) * 2), var(--underline-idle-width) var(--underline-thickness);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
--hover-tint: var(--idle);
|
||||
--active-tint: var(--idle);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button:hover,
|
||||
.fr-breadcrumb__button:active {
|
||||
--underline-hover-width: var(--underline-max-width);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button[aria-expanded=true] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb .fr-collapse {
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list {
|
||||
--ul-type: none;
|
||||
--ol-type: none;
|
||||
--ul-start: 0;
|
||||
--ol-start: 0;
|
||||
--xl-block: 0;
|
||||
--li-bottom: 0;
|
||||
--ol-content: none;
|
||||
transform: translateY(4px);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list li {
|
||||
display: inline;
|
||||
line-height: 1.75rem;
|
||||
|
||||
/**
|
||||
* flèche séparatrice en font-icon
|
||||
*/
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list li:not(:first-child)::before {
|
||||
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/system/arrow-right-s-line.svg");
|
||||
mask-image: url("../../icons/system/arrow-right-s-line.svg");
|
||||
--icon-size: 1rem;
|
||||
content: "";
|
||||
margin-left: 0.25rem;
|
||||
margin-right: 0.25rem;
|
||||
vertical-align: -0.0625em;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link {
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
background-image: var(--underline-img), var(--underline-img);
|
||||
background-position: var(--underline-x) 100%, var(--underline-x) calc(100% - var(--underline-thickness));
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
transition: background-size 0s;
|
||||
background-size: var(--underline-hover-width) calc(var(--underline-thickness) * 2), var(--underline-idle-width) var(--underline-thickness);
|
||||
|
||||
--hover-tint: var(--idle);
|
||||
--active-tint: var(--idle);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link:hover,
|
||||
.fr-breadcrumb__link:active {
|
||||
--underline-hover-width: var(--underline-max-width);
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link[aria-current]:not([aria-current=false]) {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
|
||||
--underline-img: none;
|
||||
color: var(--text-default-grey);
|
||||
}
|
||||
@media (min-width: 36em) {
|
||||
/*! media sm */
|
||||
}
|
||||
@media (min-width: 48em) {
|
||||
/*! media md */
|
||||
.fr-breadcrumb {
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb .fr-collapse {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
transform: none;
|
||||
visibility: inherit;
|
||||
overflow: visible;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb .fr-collapse::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__list {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
@media (min-width: 62em) {
|
||||
/*! media lg */
|
||||
}
|
||||
@media (min-width: 78em) {
|
||||
/*! media xl */
|
||||
}
|
1
home/dist/component/breadcrumb/breadcrumb.main.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.main.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/breadcrumb/breadcrumb.main.min.css
vendored
Normal file
7
home/dist/component/breadcrumb/breadcrumb.main.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/.fr-breadcrumb{--text-spacing:0 0 0.5rem;color:var(--text-mention-grey);font-size:.75rem;line-height:1.25rem;margin:1rem 0 2rem;position:relative}.fr-breadcrumb__button{--hover-tint:var(--idle);--active-tint:var(--idle);background-image:var(--underline-img),var(--underline-img);background-position:var(--underline-x) 100%,var(--underline-x) calc(100% - var(--underline-thickness));background-repeat:no-repeat,no-repeat;background-size:var(--underline-hover-width) calc(var(--underline-thickness)*2),var(--underline-idle-width) var(--underline-thickness);color:inherit;font-size:.75rem;line-height:1.25rem;margin:0;padding:0;transition:background-size 0s}.fr-breadcrumb__button:active,.fr-breadcrumb__button:hover{--underline-hover-width:var(--underline-max-width)}.fr-breadcrumb__button[aria-expanded=true]{display:none}.fr-breadcrumb .fr-collapse{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px;transform:translateY(-4px)}.fr-breadcrumb__list{--ul-type:none;--ol-type:none;--ul-start:0;--ol-start:0;--xl-block:0;--li-bottom:0;--ol-content:none;transform:translateY(4px)}.fr-breadcrumb__list li{display:inline;line-height:1.75rem}.fr-breadcrumb__list li:not(:first-child):before{--icon-size:1rem;background-color:currentColor;content:"";display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:.25rem;margin-right:.25rem;-webkit-mask-image:url(../../icons/system/arrow-right-s-line.svg);mask-image:url(../../icons/system/arrow-right-s-line.svg);-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:calc((.75em - var(--icon-size))*.5);vertical-align:-.0625em;width:var(--icon-size)}.fr-breadcrumb__link{--hover-tint:var(--idle);--active-tint:var(--idle);background-image:var(--underline-img),var(--underline-img);background-position:var(--underline-x) 100%,var(--underline-x) calc(100% - var(--underline-thickness));background-repeat:no-repeat,no-repeat;background-size:var(--underline-hover-width) calc(var(--underline-thickness)*2),var(--underline-idle-width) var(--underline-thickness);font-size:.75rem;line-height:1.25rem;padding:0;position:relative;transition:background-size 0s;vertical-align:top}.fr-breadcrumb__link:active,.fr-breadcrumb__link:hover{--underline-hover-width:var(--underline-max-width)}.fr-breadcrumb__link[aria-current]:not([aria-current=false]){--underline-img:none;color:var(--text-default-grey);cursor:default;pointer-events:none}@media (min-width:36em){
|
||||
/*! media sm */}@media (min-width:48em){
|
||||
/*! media md */.fr-breadcrumb{margin-bottom:2.5rem}.fr-breadcrumb__button{display:none}.fr-breadcrumb .fr-collapse{margin-left:0;margin-right:0;max-height:none;overflow:visible;padding-left:0;padding-right:0;transform:none;visibility:inherit}.fr-breadcrumb .fr-collapse:before{content:none}.fr-breadcrumb__list{transform:none}}@media (min-width:62em){
|
||||
/*! media lg */}@media (min-width:78em){
|
||||
/*! media xl */}
|
1
home/dist/component/breadcrumb/breadcrumb.main.min.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.main.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
11
home/dist/component/breadcrumb/breadcrumb.min.css
vendored
Normal file
11
home/dist/component/breadcrumb/breadcrumb.min.css
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/.fr-breadcrumb{--text-spacing:0 0 0.5rem;color:var(--text-mention-grey);font-size:.75rem;line-height:1.25rem;margin:1rem 0 2rem;position:relative}.fr-breadcrumb__button{--hover-tint:var(--idle);--active-tint:var(--idle);background-image:var(--underline-img),var(--underline-img);background-position:var(--underline-x) 100%,var(--underline-x) calc(100% - var(--underline-thickness));background-repeat:no-repeat,no-repeat;background-size:var(--underline-hover-width) calc(var(--underline-thickness)*2),var(--underline-idle-width) var(--underline-thickness);color:inherit;font-size:.75rem;line-height:1.25rem;margin:0;padding:0;transition:background-size 0s}.fr-breadcrumb__button:active,.fr-breadcrumb__button:hover{--underline-hover-width:var(--underline-max-width)}.fr-breadcrumb__button[aria-expanded=true]{display:none}.fr-breadcrumb .fr-collapse{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px;transform:translateY(-4px)}.fr-breadcrumb__list{--ul-type:none;--ol-type:none;--ul-start:0;--ol-start:0;--xl-block:0;--li-bottom:0;--ol-content:none;transform:translateY(4px)}.fr-breadcrumb__list li{display:inline;line-height:1.75rem}.fr-breadcrumb__list li:not(:first-child):before{--icon-size:1rem;background-color:currentColor;content:"";display:inline-block;flex:0 0 auto;height:var(--icon-size);margin-left:.25rem;margin-right:.25rem;-webkit-mask-image:url(../../icons/system/arrow-right-s-line.svg);mask-image:url(../../icons/system/arrow-right-s-line.svg);-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:calc((.75em - var(--icon-size))*.5);vertical-align:-.0625em;width:var(--icon-size)}.fr-breadcrumb__link{--hover-tint:var(--idle);--active-tint:var(--idle);background-image:var(--underline-img),var(--underline-img);background-position:var(--underline-x) 100%,var(--underline-x) calc(100% - var(--underline-thickness));background-repeat:no-repeat,no-repeat;background-size:var(--underline-hover-width) calc(var(--underline-thickness)*2),var(--underline-idle-width) var(--underline-thickness);font-size:.75rem;line-height:1.25rem;padding:0;position:relative;transition:background-size 0s;vertical-align:top}.fr-breadcrumb__link:active,.fr-breadcrumb__link:hover{--underline-hover-width:var(--underline-max-width)}.fr-breadcrumb__link[aria-current]:not([aria-current=false]){--underline-img:none;color:var(--text-default-grey);cursor:default;pointer-events:none}@media (min-width:36em){
|
||||
/*! media sm */
|
||||
/*! media sm */}@media (min-width:48em){
|
||||
/*! media md */.fr-breadcrumb{margin-bottom:2.5rem}.fr-breadcrumb__button{display:none}.fr-breadcrumb .fr-collapse{margin-left:0;margin-right:0;max-height:none;overflow:visible;padding-left:0;padding-right:0;transform:none;visibility:inherit}.fr-breadcrumb .fr-collapse:before{content:none}.fr-breadcrumb__list{transform:none}
|
||||
/*! 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-breadcrumb ol,.fr-breadcrumb ul{list-style-type:none}.fr-breadcrumb ol,.fr-breadcrumb ul{margin-bottom:0;margin-top:0;padding-left:0}.fr-breadcrumb__link:not([aria-current]):after,.fr-breadcrumb__link[aria-current=false]:after{background-color:transparent;background-image:url(../../icons/system/arrow-right-s-line.svg);background-repeat:no-repeat;background-size:100%;height:1rem;width:1rem}.fr-breadcrumb{color:#666}.fr-breadcrumb__link[aria-current]:not([aria-current=false]){color:#3a3a3a}}@media print{.fr-breadcrumb{color:#666;display:none}.fr-breadcrumb__link[aria-current]:not([aria-current=false]){color:#3a3a3a}}
|
1
home/dist/component/breadcrumb/breadcrumb.min.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
102
home/dist/component/breadcrumb/breadcrumb.module.js
vendored
Normal file
102
home/dist/component/breadcrumb/breadcrumb.module.js
vendored
Normal file
|
@ -0,0 +1,102 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
|
||||
const config = {
|
||||
prefix: 'fr',
|
||||
namespace: 'dsfr',
|
||||
organisation: '@gouvfr',
|
||||
version: '1.11.2'
|
||||
};
|
||||
|
||||
const api = window[config.namespace];
|
||||
|
||||
const BreadcrumbSelector = {
|
||||
BREADCRUMB: api.internals.ns.selector('breadcrumb'),
|
||||
BUTTON: api.internals.ns.selector('breadcrumb__button')
|
||||
};
|
||||
|
||||
class Breadcrumb extends api.core.Instance {
|
||||
constructor () {
|
||||
super();
|
||||
this.count = 0;
|
||||
this.focusing = this.focus.bind(this);
|
||||
}
|
||||
|
||||
static get instanceClassName () {
|
||||
return 'Breadcrumb';
|
||||
}
|
||||
|
||||
init () {
|
||||
this.getCollapse();
|
||||
this.isResizing = true;
|
||||
}
|
||||
|
||||
get proxy () {
|
||||
const scope = this;
|
||||
return Object.assign(super.proxy, {
|
||||
focus: scope.focus.bind(scope),
|
||||
disclose: scope.collapse.disclose.bind(scope.collapse)
|
||||
});
|
||||
}
|
||||
|
||||
getCollapse () {
|
||||
const collapse = this.collapse;
|
||||
if (collapse) {
|
||||
collapse.listen(api.core.DisclosureEvent.DISCLOSE, this.focusing);
|
||||
} else {
|
||||
this.addAscent(api.core.DisclosureEmission.ADDED, this.getCollapse.bind(this));
|
||||
}
|
||||
}
|
||||
|
||||
resize () {
|
||||
const collapse = this.collapse;
|
||||
const links = this.links;
|
||||
if (!collapse || !links.length) return;
|
||||
|
||||
if (this.isBreakpoint(api.core.Breakpoints.MD)) {
|
||||
if (collapse.buttonHasFocus) links[0].focus();
|
||||
} else {
|
||||
if (links.indexOf(document.activeElement) > -1) collapse.focus();
|
||||
}
|
||||
}
|
||||
|
||||
get links () {
|
||||
return [...this.querySelectorAll('a[href]')];
|
||||
}
|
||||
|
||||
get collapse () {
|
||||
return this.element.getDescendantInstances(api.core.Collapse.instanceClassName, null, true)[0];
|
||||
}
|
||||
|
||||
focus () {
|
||||
this.count = 0;
|
||||
this._focus();
|
||||
}
|
||||
|
||||
_focus () {
|
||||
const link = this.links[0];
|
||||
if (!link) return;
|
||||
link.focus();
|
||||
this.request(this.verify.bind(this));
|
||||
}
|
||||
|
||||
verify () {
|
||||
this.count++;
|
||||
if (this.count > 100) return;
|
||||
const link = this.links[0];
|
||||
if (!link) return;
|
||||
if (document.activeElement !== link) this._focus();
|
||||
}
|
||||
|
||||
get collapsePrimary () {
|
||||
const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(BreadcrumbSelector.BUTTON));
|
||||
return buttons[0];
|
||||
}
|
||||
}
|
||||
|
||||
api.breadcrumb = {
|
||||
BreadcrumbSelector: BreadcrumbSelector,
|
||||
Breadcrumb: Breadcrumb
|
||||
};
|
||||
|
||||
api.internals.register(api.breadcrumb.BreadcrumbSelector.BREADCRUMB, api.breadcrumb.Breadcrumb);
|
||||
//# sourceMappingURL=breadcrumb.module.js.map
|
1
home/dist/component/breadcrumb/breadcrumb.module.js.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.module.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
home/dist/component/breadcrumb/breadcrumb.module.min.js
vendored
Normal file
3
home/dist/component/breadcrumb/breadcrumb.module.min.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
const s=window.dsfr,e={BREADCRUMB:s.internals.ns.selector("breadcrumb"),BUTTON:s.internals.ns.selector("breadcrumb__button")};class t extends s.core.Instance{constructor(){super(),this.count=0,this.focusing=this.focus.bind(this)}static get instanceClassName(){return"Breadcrumb"}init(){this.getCollapse(),this.isResizing=!0}get proxy(){const s=this;return Object.assign(super.proxy,{focus:s.focus.bind(s),disclose:s.collapse.disclose.bind(s.collapse)})}getCollapse(){const e=this.collapse;e?e.listen(s.core.DisclosureEvent.DISCLOSE,this.focusing):this.addAscent(s.core.DisclosureEmission.ADDED,this.getCollapse.bind(this))}resize(){const e=this.collapse,t=this.links;e&&t.length&&(this.isBreakpoint(s.core.Breakpoints.MD)?e.buttonHasFocus&&t[0].focus():t.indexOf(document.activeElement)>-1&&e.focus())}get links(){return[...this.querySelectorAll("a[href]")]}get collapse(){return this.element.getDescendantInstances(s.core.Collapse.instanceClassName,null,!0)[0]}focus(){this.count=0,this._focus()}_focus(){const s=this.links[0];s&&(s.focus(),this.request(this.verify.bind(this)))}verify(){if(this.count++,this.count>100)return;const s=this.links[0];s&&document.activeElement!==s&&this._focus()}get collapsePrimary(){return this.element.children.map((s=>s.getInstance("CollapseButton"))).filter((s=>null!==s&&s.hasClass(e.BUTTON)))[0]}}s.breadcrumb={BreadcrumbSelector:e,Breadcrumb:t},s.internals.register(s.breadcrumb.BreadcrumbSelector.BREADCRUMB,s.breadcrumb.Breadcrumb);
|
||||
//# sourceMappingURL=breadcrumb.module.min.js.map
|
1
home/dist/component/breadcrumb/breadcrumb.module.min.js.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.module.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
119
home/dist/component/breadcrumb/breadcrumb.nomodule.js
vendored
Normal file
119
home/dist/component/breadcrumb/breadcrumb.nomodule.js
vendored
Normal file
|
@ -0,0 +1,119 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
var config = {
|
||||
prefix: 'fr',
|
||||
namespace: 'dsfr',
|
||||
organisation: '@gouvfr',
|
||||
version: '1.11.2'
|
||||
};
|
||||
|
||||
var api = window[config.namespace];
|
||||
|
||||
var BreadcrumbSelector = {
|
||||
BREADCRUMB: api.internals.ns.selector('breadcrumb'),
|
||||
BUTTON: api.internals.ns.selector('breadcrumb__button')
|
||||
};
|
||||
|
||||
var Breadcrumb = /*@__PURE__*/(function (superclass) {
|
||||
function Breadcrumb () {
|
||||
superclass.call(this);
|
||||
this.count = 0;
|
||||
this.focusing = this.focus.bind(this);
|
||||
}
|
||||
|
||||
if ( superclass ) Breadcrumb.__proto__ = superclass;
|
||||
Breadcrumb.prototype = Object.create( superclass && superclass.prototype );
|
||||
Breadcrumb.prototype.constructor = Breadcrumb;
|
||||
|
||||
var prototypeAccessors = { proxy: { configurable: true },links: { configurable: true },collapse: { configurable: true },collapsePrimary: { configurable: true } };
|
||||
var staticAccessors = { instanceClassName: { configurable: true } };
|
||||
|
||||
staticAccessors.instanceClassName.get = function () {
|
||||
return 'Breadcrumb';
|
||||
};
|
||||
|
||||
Breadcrumb.prototype.init = function init () {
|
||||
this.getCollapse();
|
||||
this.isResizing = true;
|
||||
};
|
||||
|
||||
prototypeAccessors.proxy.get = function () {
|
||||
var scope = this;
|
||||
return Object.assign.call(this, superclass.prototype.proxy, {
|
||||
focus: scope.focus.bind(scope),
|
||||
disclose: scope.collapse.disclose.bind(scope.collapse)
|
||||
});
|
||||
};
|
||||
|
||||
Breadcrumb.prototype.getCollapse = function getCollapse () {
|
||||
var collapse = this.collapse;
|
||||
if (collapse) {
|
||||
collapse.listen(api.core.DisclosureEvent.DISCLOSE, this.focusing);
|
||||
} else {
|
||||
this.addAscent(api.core.DisclosureEmission.ADDED, this.getCollapse.bind(this));
|
||||
}
|
||||
};
|
||||
|
||||
Breadcrumb.prototype.resize = function resize () {
|
||||
var collapse = this.collapse;
|
||||
var links = this.links;
|
||||
if (!collapse || !links.length) { return; }
|
||||
|
||||
if (this.isBreakpoint(api.core.Breakpoints.MD)) {
|
||||
if (collapse.buttonHasFocus) { links[0].focus(); }
|
||||
} else {
|
||||
if (links.indexOf(document.activeElement) > -1) { collapse.focus(); }
|
||||
}
|
||||
};
|
||||
|
||||
prototypeAccessors.links.get = function () {
|
||||
return [].concat( this.querySelectorAll('a[href]') );
|
||||
};
|
||||
|
||||
prototypeAccessors.collapse.get = function () {
|
||||
return this.element.getDescendantInstances(api.core.Collapse.instanceClassName, null, true)[0];
|
||||
};
|
||||
|
||||
Breadcrumb.prototype.focus = function focus () {
|
||||
this.count = 0;
|
||||
this._focus();
|
||||
};
|
||||
|
||||
Breadcrumb.prototype._focus = function _focus () {
|
||||
var link = this.links[0];
|
||||
if (!link) { return; }
|
||||
link.focus();
|
||||
this.request(this.verify.bind(this));
|
||||
};
|
||||
|
||||
Breadcrumb.prototype.verify = function verify () {
|
||||
this.count++;
|
||||
if (this.count > 100) { return; }
|
||||
var link = this.links[0];
|
||||
if (!link) { return; }
|
||||
if (document.activeElement !== link) { this._focus(); }
|
||||
};
|
||||
|
||||
prototypeAccessors.collapsePrimary.get = function () {
|
||||
var buttons = this.element.children.map(function (child) { return child.getInstance('CollapseButton'); }).filter(function (button) { return button !== null && button.hasClass(BreadcrumbSelector.BUTTON); });
|
||||
return buttons[0];
|
||||
};
|
||||
|
||||
Object.defineProperties( Breadcrumb.prototype, prototypeAccessors );
|
||||
Object.defineProperties( Breadcrumb, staticAccessors );
|
||||
|
||||
return Breadcrumb;
|
||||
}(api.core.Instance));
|
||||
|
||||
api.breadcrumb = {
|
||||
BreadcrumbSelector: BreadcrumbSelector,
|
||||
Breadcrumb: Breadcrumb
|
||||
};
|
||||
|
||||
api.internals.register(api.breadcrumb.BreadcrumbSelector.BREADCRUMB, api.breadcrumb.Breadcrumb);
|
||||
|
||||
})();
|
||||
//# sourceMappingURL=breadcrumb.nomodule.js.map
|
1
home/dist/component/breadcrumb/breadcrumb.nomodule.js.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.nomodule.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
home/dist/component/breadcrumb/breadcrumb.nomodule.min.js
vendored
Normal file
3
home/dist/component/breadcrumb/breadcrumb.nomodule.min.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
!function(){"use strict";var t=window.dsfr,e={BREADCRUMB:t.internals.ns.selector("breadcrumb"),BUTTON:t.internals.ns.selector("breadcrumb__button")},s=function(s){function n(){s.call(this),this.count=0,this.focusing=this.focus.bind(this)}s&&(n.__proto__=s),n.prototype=Object.create(s&&s.prototype),n.prototype.constructor=n;var o={proxy:{configurable:!0},links:{configurable:!0},collapse:{configurable:!0},collapsePrimary:{configurable:!0}},i={instanceClassName:{configurable:!0}};return i.instanceClassName.get=function(){return"Breadcrumb"},n.prototype.init=function(){this.getCollapse(),this.isResizing=!0},o.proxy.get=function(){var t=this;return Object.assign.call(this,s.prototype.proxy,{focus:t.focus.bind(t),disclose:t.collapse.disclose.bind(t.collapse)})},n.prototype.getCollapse=function(){var e=this.collapse;e?e.listen(t.core.DisclosureEvent.DISCLOSE,this.focusing):this.addAscent(t.core.DisclosureEmission.ADDED,this.getCollapse.bind(this))},n.prototype.resize=function(){var e=this.collapse,s=this.links;e&&s.length&&(this.isBreakpoint(t.core.Breakpoints.MD)?e.buttonHasFocus&&s[0].focus():s.indexOf(document.activeElement)>-1&&e.focus())},o.links.get=function(){return[].concat(this.querySelectorAll("a[href]"))},o.collapse.get=function(){return this.element.getDescendantInstances(t.core.Collapse.instanceClassName,null,!0)[0]},n.prototype.focus=function(){this.count=0,this._focus()},n.prototype._focus=function(){var t=this.links[0];t&&(t.focus(),this.request(this.verify.bind(this)))},n.prototype.verify=function(){if(this.count++,!(this.count>100)){var t=this.links[0];t&&document.activeElement!==t&&this._focus()}},o.collapsePrimary.get=function(){return this.element.children.map((function(t){return t.getInstance("CollapseButton")})).filter((function(t){return null!==t&&t.hasClass(e.BUTTON)}))[0]},Object.defineProperties(n.prototype,o),Object.defineProperties(n,i),n}(t.core.Instance);t.breadcrumb={BreadcrumbSelector:e,Breadcrumb:s},t.internals.register(t.breadcrumb.BreadcrumbSelector.BREADCRUMB,t.breadcrumb.Breadcrumb)}();
|
||||
//# sourceMappingURL=breadcrumb.nomodule.min.js.map
|
1
home/dist/component/breadcrumb/breadcrumb.nomodule.min.js.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.nomodule.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
13
home/dist/component/breadcrumb/breadcrumb.print.css
vendored
Normal file
13
home/dist/component/breadcrumb/breadcrumb.print.css
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/
|
||||
@media print {
|
||||
.fr-breadcrumb {
|
||||
color: #666;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fr-breadcrumb__link[aria-current]:not([aria-current=false]) {
|
||||
color: #3a3a3a;
|
||||
}
|
||||
}
|
1
home/dist/component/breadcrumb/breadcrumb.print.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.print.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
home/dist/component/breadcrumb/breadcrumb.print.min.css
vendored
Normal file
3
home/dist/component/breadcrumb/breadcrumb.print.min.css
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
|
||||
*/@media print{.fr-breadcrumb{color:#666;display:none}.fr-breadcrumb__link[aria-current]:not([aria-current=false]){color:#3a3a3a}}
|
1
home/dist/component/breadcrumb/breadcrumb.print.min.css.map
vendored
Normal file
1
home/dist/component/breadcrumb/breadcrumb.print.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
31
home/dist/component/button/README.md
vendored
Normal file
31
home/dist/component/button/README.md
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
# button
|
||||
|
||||
Le bouton est un élément d’interaction avec l’interface permettant à l’utilisateur d’effectuer une action.
|
||||
|
||||
## Dépendances
|
||||
```shell
|
||||
button
|
||||
└─ core
|
||||
```
|
||||
|
||||
## Utilisation
|
||||
Afin d’utiliser le composant `button`, il est nécessaire d’ajouter les fichiers de styles et de scripts présents dans le dossier dist dans l'ordre suivant :\n
|
||||
```html
|
||||
<html>
|
||||
<head>
|
||||
<link href="css/core/core.min.css" rel="stylesheet">
|
||||
<link href="css/button/button.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" nomodule href="js/legacy/legacy.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/core/core.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/core/core.nomodule.min.js" ></script>
|
||||
<script type="module" href="js/button/button.module.min.js" ></script>
|
||||
<script type="text/javascript" nomodule href="js/button/button.nomodule.min.js" ></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Consulter [la documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/bouton) sur le module Bouton
|
1707
home/dist/component/button/button.css
vendored
Normal file
1707
home/dist/component/button/button.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
home/dist/component/button/button.css.map
vendored
Normal file
1
home/dist/component/button/button.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
380
home/dist/component/button/button.legacy.css
vendored
Normal file
380
home/dist/component/button/button.legacy.css
vendored
Normal file
|
@ -0,0 +1,380 @@
|
|||
/*!
|
||||
* DSFR v1.11.2 | 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 all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
.fr-btn::before,
|
||||
.fr-btn::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn[href] {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.fr-btn[class^=fr-icon-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn[class^=fr-icon-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn[class*=" fr-icon-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn[class*=" fr-icon-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn[class^=fr-fi-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn[class^=fr-fi-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn[class*=" fr-fi-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn[class*=" fr-fi-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-btn--sm::before,
|
||||
.fr-btn--sm::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
}
|
||||
|
||||
.fr-btn--sm[class^=fr-icon-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--sm[class^=fr-icon-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn--sm[class*=" fr-icon-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--sm[class*=" fr-icon-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn--sm[class^=fr-fi-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--sm[class^=fr-fi-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn--sm[class*=" fr-fi-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--sm[class*=" fr-fi-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--lg::before,
|
||||
.fr-btn--lg::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.fr-btn--lg[class^=fr-icon-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--lg[class^=fr-icon-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn--lg[class*=" fr-icon-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--lg[class*=" fr-icon-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn--lg[class^=fr-fi-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--lg[class^=fr-fi-]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after,
|
||||
.fr-btn--lg[class*=" fr-fi-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::before,
|
||||
.fr-btn--lg[class*=" fr-fi-"]:not([class^=fr-btn--icon-]):not([class*=" fr-btn--icon-"])::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.fr-btn--close::before,
|
||||
.fr-btn--close::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/close-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--tooltip::before,
|
||||
.fr-btn--tooltip::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/question-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--fullscreen::before,
|
||||
.fr-btn--fullscreen::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/media/fullscreen-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--display::before,
|
||||
.fr-btn--display::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/system/fr--theme-fill.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--briefcase::before,
|
||||
.fr-btn--briefcase::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/business/briefcase-fill.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--account::before,
|
||||
.fr-btn--account::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/user/account-circle-fill.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btn--team::before,
|
||||
.fr-btn--team::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("../../icons/user/team-line.svg");
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
ul.fr-btns-group {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ol.fr-btns-group {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.fr-btns-group,
|
||||
ol.fr-btns-group {
|
||||
padding-left: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-icon-]::before,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-icon-]::after,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-icon-"]::before,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-icon-"]::after,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-fi-]::before,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-fi-]::after,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-fi-"]::before,
|
||||
.fr-btns-group--sm:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-fi-"]::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-icon-]::before,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-icon-]::after,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-icon-"]::before,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-icon-"]::after,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-fi-]::before,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class^=fr-fi-]::after,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-fi-"]::before,
|
||||
.fr-btns-group--lg:not([class^=fr-btns-group--icon-]):not([class*=" fr-btns-group--icon-"]) .fr-btn[class*=" fr-fi-"]::after {
|
||||
background-color: transparent;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.fr-btn {
|
||||
background-color: #000091;
|
||||
color: #f5f5fe;
|
||||
}
|
||||
|
||||
.fr-btn:hover {
|
||||
background-color: #1212ff;
|
||||
}
|
||||
|
||||
.fr-btn:active {
|
||||
background-color: #2323ff;
|
||||
}
|
||||
|
||||
.fr-btn:disabled,
|
||||
a.fr-btn:not([href]) {
|
||||
color: #929292;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.fr-btn--secondary {
|
||||
background-color: transparent;
|
||||
color: #000091;
|
||||
box-shadow: inset 0 0 0 1px #000091;
|
||||
}
|
||||
|
||||
.fr-btn--secondary:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fr-btn--secondary:active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.fr-btn--secondary:disabled,
|
||||
a.fr-btn--secondary:not([href]) {
|
||||
color: #929292;
|
||||
box-shadow: inset 0 0 0 1px #e5e5e5;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.fr-btn--secondary:disabled:hover,
|
||||
a.fr-btn--secondary:not([href]):hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fr-btn--secondary:disabled:active,
|
||||
a.fr-btn--secondary:not([href]):active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary,
|
||||
.fr-btn--account {
|
||||
background-color: transparent;
|
||||
color: #000091;
|
||||
box-shadow: inset 0 0 0 1px #ddd;
|
||||
}
|
||||
|
||||
.fr-btn--tertiary:hover,
|
||||
.fr-btn--account:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary:active,
|
||||
.fr-btn--account:active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary:disabled,
|
||||
a.fr-btn--tertiary:not([href]),
|
||||
a.fr-btn--account:not([href]),
|
||||
.fr-btn--account:disabled {
|
||||
color: #929292;
|
||||
box-shadow: inset 0 0 0 1px #e5e5e5;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.fr-btn--tertiary:disabled:hover,
|
||||
a.fr-btn--tertiary:not([href]):hover,
|
||||
a.fr-btn--account:not([href]):hover,
|
||||
.fr-btn--account:disabled:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary:disabled:active,
|
||||
a.fr-btn--tertiary:not([href]):active,
|
||||
a.fr-btn--account:not([href]):active,
|
||||
.fr-btn--account:disabled:active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary-no-outline,
|
||||
.fr-btn--close,
|
||||
.fr-btn--display,
|
||||
.fr-btn--fullscreen,
|
||||
.fr-btn--tooltip,
|
||||
.fr-btn--briefcase,
|
||||
.fr-btn--team {
|
||||
background-color: transparent;
|
||||
color: #000091;
|
||||
}
|
||||
|
||||
.fr-btn--tertiary-no-outline:hover,
|
||||
.fr-btn--close:hover,
|
||||
.fr-btn--display:hover,
|
||||
.fr-btn--fullscreen:hover,
|
||||
.fr-btn--tooltip:hover,
|
||||
.fr-btn--briefcase:hover,
|
||||
.fr-btn--team:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary-no-outline:active,
|
||||
.fr-btn--close:active,
|
||||
.fr-btn--display:active,
|
||||
.fr-btn--fullscreen:active,
|
||||
.fr-btn--tooltip:active,
|
||||
.fr-btn--briefcase:active,
|
||||
.fr-btn--team:active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary-no-outline:disabled,
|
||||
a.fr-btn--tertiary-no-outline:not([href]),
|
||||
a.fr-btn--close:not([href]),
|
||||
a.fr-btn--display:not([href]),
|
||||
a.fr-btn--fullscreen:not([href]),
|
||||
a.fr-btn--tooltip:not([href]),
|
||||
a.fr-btn--briefcase:not([href]),
|
||||
a.fr-btn--team:not([href]),
|
||||
.fr-btn--close:disabled,
|
||||
.fr-btn--display:disabled,
|
||||
.fr-btn--fullscreen:disabled,
|
||||
.fr-btn--tooltip:disabled,
|
||||
.fr-btn--briefcase:disabled,
|
||||
.fr-btn--team:disabled {
|
||||
color: #929292;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.fr-btn--tertiary-no-outline:disabled:hover,
|
||||
a.fr-btn--tertiary-no-outline:not([href]):hover,
|
||||
a.fr-btn--close:not([href]):hover,
|
||||
a.fr-btn--display:not([href]):hover,
|
||||
a.fr-btn--fullscreen:not([href]):hover,
|
||||
a.fr-btn--tooltip:not([href]):hover,
|
||||
a.fr-btn--briefcase:not([href]):hover,
|
||||
a.fr-btn--team:not([href]):hover,
|
||||
.fr-btn--close:disabled:hover,
|
||||
.fr-btn--display:disabled:hover,
|
||||
.fr-btn--fullscreen:disabled:hover,
|
||||
.fr-btn--tooltip:disabled:hover,
|
||||
.fr-btn--briefcase:disabled:hover,
|
||||
.fr-btn--team:disabled:hover {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fr-btn--tertiary-no-outline:disabled:active,
|
||||
a.fr-btn--tertiary-no-outline:not([href]):active,
|
||||
a.fr-btn--close:not([href]):active,
|
||||
a.fr-btn--display:not([href]):active,
|
||||
a.fr-btn--fullscreen:not([href]):active,
|
||||
a.fr-btn--tooltip:not([href]):active,
|
||||
a.fr-btn--briefcase:not([href]):active,
|
||||
a.fr-btn--team:not([href]):active,
|
||||
.fr-btn--close:disabled:active,
|
||||
.fr-btn--display:disabled:active,
|
||||
.fr-btn--fullscreen:disabled:active,
|
||||
.fr-btn--tooltip:disabled:active,
|
||||
.fr-btn--briefcase:disabled:active,
|
||||
.fr-btn--team:disabled:active {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
1
home/dist/component/button/button.legacy.css.map
vendored
Normal file
1
home/dist/component/button/button.legacy.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/button/button.legacy.min.css
vendored
Normal file
7
home/dist/component/button/button.legacy.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
home/dist/component/button/button.legacy.min.css.map
vendored
Normal file
1
home/dist/component/button/button.legacy.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1107
home/dist/component/button/button.main.css
vendored
Normal file
1107
home/dist/component/button/button.main.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
home/dist/component/button/button.main.css.map
vendored
Normal file
1
home/dist/component/button/button.main.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
home/dist/component/button/button.main.min.css
vendored
Normal file
7
home/dist/component/button/button.main.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
home/dist/component/button/button.main.min.css.map
vendored
Normal file
1
home/dist/component/button/button.main.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
11
home/dist/component/button/button.min.css
vendored
Normal file
11
home/dist/component/button/button.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
home/dist/component/button/button.min.css.map
vendored
Normal file
1
home/dist/component/button/button.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
23
home/dist/component/button/button.module.js
vendored
Normal file
23
home/dist/component/button/button.module.js
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */
|
||||
|
||||
const config = {
|
||||
prefix: 'fr',
|
||||
namespace: 'dsfr',
|
||||
organisation: '@gouvfr',
|
||||
version: '1.11.2'
|
||||
};
|
||||
|
||||
const api = window[config.namespace];
|
||||
|
||||
const ButtonSelector = {
|
||||
EQUISIZED_BUTTON: `${api.internals.ns.selector('btns-group--equisized')} ${api.internals.ns.selector('btn')}`,
|
||||
EQUISIZED_GROUP: api.internals.ns.selector('btns-group--equisized')
|
||||
};
|
||||
|
||||
api.button = {
|
||||
ButtonSelector: ButtonSelector
|
||||
};
|
||||
|
||||
api.internals.register(api.button.ButtonSelector.EQUISIZED_BUTTON, api.core.Equisized);
|
||||
api.internals.register(api.button.ButtonSelector.EQUISIZED_GROUP, api.core.EquisizedsGroup);
|
||||
//# sourceMappingURL=button.module.js.map
|
1
home/dist/component/button/button.module.js.map
vendored
Normal file
1
home/dist/component/button/button.module.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"button.module.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/button/script/button/button-selector.js","../../../src/component/button/index.js","../../../src/component/button/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nexport const ButtonSelector = {\n EQUISIZED_BUTTON: `${api.internals.ns.selector('btns-group--equisized')} ${api.internals.ns.selector('btn')}`,\n EQUISIZED_GROUP: api.internals.ns.selector('btns-group--equisized')\n};\n","import api from './api.js';\nimport { ButtonSelector } from './script/button/button-selector';\n\napi.button = {\n ButtonSelector: ButtonSelector\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.button.ButtonSelector.EQUISIZED_BUTTON, api.core.Equisized);\napi.internals.register(api.button.ButtonSelector.EQUISIZED_GROUP, api.core.EquisizedsGroup);\n\nexport default api;\n"],"names":[],"mappings":";;AAAA,MAAM,MAAM,GAAG;AACf,EAAE,MAAM,EAAE,IAAI;AACd,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,YAAY,EAAE,SAAS;AACzB,EAAE,OAAO,EAAE,QAAQ;AACnB,CAAC;;ACJD,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;;ACC7B,MAAM,cAAc,GAAG;AAC9B,EAAE,gBAAgB,EAAE,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/G,EAAE,eAAe,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;AACrE,CAAC;;ACFD,GAAG,CAAC,MAAM,GAAG;AACb,EAAE,cAAc,EAAE,cAAc;AAChC,CAAC;;ACHD,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,gBAAgB,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACvF,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,eAAe,EAAE,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC"}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue