- Login : case à cocher « Se souvenir de moi » sous le champ email ; mémorisation de l'identifiant (email uniquement) dans le localStorage du navigateur, pré-remplissage à la visite suivante sur le même navigateur, effacement si décochée ; erreurs de stockage ignorées - Panneau Totaux : « Total du mois » en gras et « Total annuel partiel » non gras ; « Remboursement indicatif » renommé « Remboursement indicatif pour ce mois » ; « Montant prévisionnel annuel » non gras - Steering : nouvelle règle imposant les réponses en français - Mise à jour requirements.md (Req 17 + glossaire), design-requirements.md (Req 17 technique) et design.md (LoginComponent, PanneauTotaux)
112 lines
1.6 KiB
SCSS
112 lines
1.6 KiB
SCSS
.login {
|
|
padding: 1.5rem;
|
|
max-width: 420px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.login__logo {
|
|
display: block;
|
|
margin: 0 auto 1rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 1rem;
|
|
text-align: center;
|
|
color: var(--couleur-anthracite);
|
|
}
|
|
|
|
.champ {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.champ label {
|
|
font-weight: 600;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.champ input {
|
|
padding: 0.5rem;
|
|
border: 1px solid #bbb;
|
|
border-radius: 6px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.champ input[aria-invalid='true'] {
|
|
border-color: #c62828;
|
|
}
|
|
|
|
.champ-case {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.champ-case input {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.champ-case label {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.erreur {
|
|
color: #c62828;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.erreur-globale {
|
|
color: #c62828;
|
|
background: #fdecea;
|
|
border: 1px solid #f5c6c2;
|
|
border-radius: 6px;
|
|
padding: 0.5rem 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.actions {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.btn-principal {
|
|
padding: 0.55rem 1.25rem;
|
|
background: var(--couleur-bleu);
|
|
color: #fff;
|
|
border: 1px solid var(--couleur-bleu);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 0.95rem;
|
|
|
|
&:hover:not(:disabled) {
|
|
background: var(--couleur-orange);
|
|
border-color: var(--couleur-orange);
|
|
}
|
|
}
|
|
|
|
.btn-principal:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.liens {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
margin-top: 1.25rem;
|
|
}
|
|
|
|
.liens a {
|
|
color: var(--couleur-bleu);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.liens a:hover {
|
|
text-decoration: underline;
|
|
}
|