/*!
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/
@charset "UTF-8";
/* ¯¯¯¯¯¯¯¯¯ *\
Password
\* ˍˍˍˍˍˍˍˍˍ */
.fr-password {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: wrap;
--text-spacing: 0 0 0.5rem 0;
}
.fr-password [data-fr-capslock] .fr-password__input {
padding-right: 3rem;
}
.fr-password [data-fr-capslock]::before {
content: "";
display: block;
position: absolute;
top: 0.75rem;
right: 1rem;
width: 1rem;
height: 1rem;
pointer-events: none;
--data-uri-svg: url("data:image/svg+xml;charset=utf-8,");
background-image: var(--data-uri-svg);
}
.fr-password__checkbox {
order: -1;
flex: 0;
align-self: flex-end;
margin-left: auto;
padding-left: 0.5rem;
}
.fr-password__checkbox .fr-label {
text-wrap: nowrap;
}
.fr-password .fr-input-wrap {
flex: 1 0 100%;
}
.fr-password__input {
margin-bottom: 0.75rem;
}
.fr-password__input::-webkit-caps-lock-indicator {
content: none;
}
.fr-password__input::-ms-reveal {
display: none;
}
.fr-password > .fr-label {
order: -1;
flex: 1;
min-width: 50%;
}
.fr-password .fr-message:first-child {
--comma: " ";
}
.fr-password .fr-message--valid[data-fr-valid] {
--content: " - "attr(data-fr-valid) var(--comma);
}
.fr-password .fr-message--error[data-fr-error] {
--content: " - "attr(data-fr-error) var(--comma);
}
.fr-password__btn {
background-color: transparent;
--hover: inherit;
--active: inherit;
color: var(--text-action-high-blue-france);
}
.fr-password__btn:disabled,
a.fr-password__btn:not([href]) {
color: var(--text-disabled-grey);
background-color: transparent;
--hover: inherit;
--active: inherit;
}
:root[data-fr-theme=dark] .fr-password [data-fr-capslock]::before {
--data-uri-svg: url("data:image/svg+xml;charset=utf-8,");
}
.fr-password .fr-password__checkbox input[type=checkbox] + label {
color: var(--text-label-grey);
}
.fr-password .fr-password__checkbox input[type=checkbox] + label::before {
background-image: radial-gradient(at 5px 4px, transparent 4px, var(--border-action-high-blue-france) 4px, var(--border-action-high-blue-france) 5px, transparent 6px), linear-gradient(var(--border-action-high-blue-france), var(--border-action-high-blue-france)), radial-gradient(at calc(100% - 5px) 4px, transparent 4px, var(--border-action-high-blue-france) 4px, var(--border-action-high-blue-france) 5px, transparent 6px), linear-gradient(var(--border-action-high-blue-france), var(--border-action-high-blue-france)), radial-gradient(at calc(100% - 5px) calc(100% - 4px), transparent 4px, var(--border-action-high-blue-france) 4px, var(--border-action-high-blue-france) 5px, transparent 6px), linear-gradient(var(--border-action-high-blue-france), var(--border-action-high-blue-france)), radial-gradient(at 5px calc(100% - 4px), transparent 4px, var(--border-action-high-blue-france) 4px, var(--border-action-high-blue-france) 5px, transparent 6px), linear-gradient(var(--border-action-high-blue-france), var(--border-action-high-blue-france)), var(--data-uri-svg);
}
@media (min-width: 36em) {
/*! media sm */
}
@media (min-width: 48em) {
/*! media md */
}
@media (min-width: 62em) {
/*! media lg */
}
@media (min-width: 78em) {
/*! media xl */
}