Files
SchotzIAD/frontend/src/app/features/bareme/bareme.component.scss
T
MadJax 6bdd67fd00 Uniformiser le survol des boutons (orange) et le rendu des boutons Annuler
- Survol orange plein (texte blanc) étendu aux boutons d'action
  secondaires : « Utiliser mon domicile », « Export PDF » (résumés
  mensuel/annuel), « Recopier le dernier barème », « Modifier » et
  « Enregistrer/Ajouter » (carnet d'adresses)
- Boutons « Annuler » uniformisés sur tout le site (fond blanc, bordure
  grise, survol gris clair), via classes dédiées .btn-annuler (barème)
  et .btn--annuler (carnet), alignés sur trajet-form et confirm-dialog
- Suppression (rouge), boutons à icône et indicateurs d'état inchangés
- Charte graphique de design.md mise à jour (convention d'interaction)
2026-10-03 10:20:25 +02:00

148 lines
2.2 KiB
SCSS

.bareme {
padding: 1.5rem;
max-width: 960px;
margin: 0 auto;
}
h1 {
font-size: 1.4rem;
margin-bottom: 1rem;
}
h2 {
font-size: 1.1rem;
margin: 1.5rem 0 0.75rem;
}
.annee-form {
display: flex;
align-items: flex-end;
gap: 1rem;
}
.ligne {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.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;
}
.erreur {
color: #c62828;
margin-top: 0.25rem;
}
.actions {
margin-top: 0.5rem;
display: flex;
gap: 0.75rem;
}
.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;
}
.btn-secondaire {
padding: 0.55rem 1.25rem;
background: #fff;
color: #1565c0;
border: 1px solid #1565c0;
border-radius: 6px;
cursor: pointer;
font-size: 0.95rem;
// "Recopier" : même rendu que le bouton "Export PDF" des résumés
// (fond blanc/bleu, survol orange plein + texte blanc).
&:hover:not(:disabled) {
background: var(--couleur-orange);
border-color: var(--couleur-orange);
color: #fff;
}
}
// Bouton "Annuler" uniformisé : fond blanc, bordure grise, survol gris clair
// (même rendu que l'écran d'ajout/modification d'un trajet).
.btn-annuler {
color: #33475b;
border-color: #c4c9d1;
&:hover:not(:disabled) {
background: #f3f5f8;
}
}
.btn-lien {
background: none;
border: none;
color: #1565c0;
cursor: pointer;
padding: 0 0.5rem;
font-size: 0.9rem;
}
.btn-lien.danger {
color: #c62828;
}
.vide {
color: #777;
}
.tranches {
width: 100%;
border-collapse: collapse;
}
.tranches th,
.tranches td {
text-align: left;
padding: 0.5rem 0.75rem;
border-bottom: 1px solid #e0e0e0;
}
.tranches th {
font-weight: 600;
background: #f5f5f5;
}
.tranches tr.en-edition {
background: #e3f2fd;
}
.actions-cellule {
white-space: nowrap;
}