fix(classiques): fine-tune text dimensions and hierarchy strictly according to SNCF display reference img 1

This commit is contained in:
mathis committed 2026-08-31 00:24:21 +02:00
1 parent e351398fe6
commit b90c699302
2 files changed
+44 -44

No files matched your search

@@ -162,7 +162,7 @@
.aff-classiques-arrivees__stop-bullet { .aff-classiques-arrivees__stop-bullet {
color: var(--yellow); color: var(--yellow);
font-size: 42px; font-size: 46px;
margin-right: 14px; margin-right: 14px;
margin-left: 18px; margin-left: 18px;
line-height: 1; line-height: 1;
@@ -175,8 +175,8 @@
.aff-classiques-arrivees__stop-name { .aff-classiques-arrivees__stop-name {
color: #d0d8e2; color: #d0d8e2;
font-size: 58px; font-size: 62px;
font-weight: 400; font-weight: 600;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
letter-spacing: -0.3px; letter-spacing: -0.3px;
@@ -203,8 +203,8 @@
/* Colonne 2 : Type de train + Numéro OU Statut */ /* Colonne 2 : Type de train + Numéro OU Statut */
.aff-classiques-arrivees__col-meta { .aff-classiques-arrivees__col-meta {
width: 185px; width: 200px;
min-width: 185px; min-width: 200px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
@@ -217,7 +217,7 @@
} }
.aff-classiques-arrivees__train-type { .aff-classiques-arrivees__train-type {
font-size: 26px; font-size: 28px;
font-weight: 700; font-weight: 700;
color: var(--white); color: var(--white);
line-height: 1.1; line-height: 1.1;
@@ -227,7 +227,7 @@
} }
.aff-classiques-arrivees__train-number { .aff-classiques-arrivees__train-number {
font-size: 26px; font-size: 28px;
font-weight: 700; font-weight: 700;
color: var(--white); color: var(--white);
line-height: 1.1; line-height: 1.1;
@@ -238,8 +238,8 @@
.aff-classiques-arrivees__status-ontime { .aff-classiques-arrivees__status-ontime {
color: var(--white); color: var(--white);
font-size: 28px; font-size: 32px;
font-weight: 400; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
text-transform: lowercase; text-transform: lowercase;
@@ -248,7 +248,7 @@
.aff-classiques-arrivees__status-delayed { .aff-classiques-arrivees__status-delayed {
color: var(--yellow); color: var(--yellow);
font-size: 26px; font-size: 30px;
font-weight: 700; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
@@ -257,7 +257,7 @@
.aff-classiques-arrivees__status-suppressed { .aff-classiques-arrivees__status-suppressed {
color: #ff4d4d; color: #ff4d4d;
font-size: 28px; font-size: 32px;
font-weight: 700; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
@@ -267,8 +267,8 @@
/* Colonne 3 : Heure (Grande, jaune vif) */ /* Colonne 3 : Heure (Grande, jaune vif) */
.aff-classiques-arrivees__col-time { .aff-classiques-arrivees__col-time {
width: 250px; width: 260px;
min-width: 250px; min-width: 260px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
@@ -281,7 +281,7 @@
.aff-classiques-arrivees__time { .aff-classiques-arrivees__time {
color: var(--yellow); color: var(--yellow);
font-size: 72px; font-size: 76px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
letter-spacing: -0.5px; letter-spacing: -0.5px;
@@ -307,14 +307,14 @@
.aff-classiques-arrivees__destination { .aff-classiques-arrivees__destination {
color: var(--white); color: var(--white);
font-size: 64px; font-size: 70px;
font-weight: 400; font-weight: 700;
line-height: 1; line-height: 1;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
letter-spacing: -0.2px; letter-spacing: -0.4px;
} }
/* Colonne 5 : Quai / Voie (Premier plan absolu z-index: 20, au-dessus du watermark) */ /* Colonne 5 : Quai / Voie (Premier plan absolu z-index: 20, au-dessus du watermark) */
@@ -331,10 +331,10 @@
} }
.aff-classiques-arrivees__platform-box { .aff-classiques-arrivees__platform-box {
width: 82px; width: 86px;
height: 80px; height: 86px;
border: 2.5px solid var(--white); border: 3px solid var(--white);
border-radius: 6px; border-radius: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -344,7 +344,7 @@
.aff-classiques-arrivees__platform-text { .aff-classiques-arrivees__platform-text {
color: var(--white); color: var(--white);
font-size: 56px; font-size: 60px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
@@ -162,7 +162,7 @@
.aff-classiques-departs__stop-bullet { .aff-classiques-departs__stop-bullet {
color: var(--yellow); color: var(--yellow);
font-size: 42px; font-size: 46px;
margin-right: 14px; margin-right: 14px;
margin-left: 18px; margin-left: 18px;
line-height: 1; line-height: 1;
@@ -175,8 +175,8 @@
.aff-classiques-departs__stop-name { .aff-classiques-departs__stop-name {
color: #d0d8e2; color: #d0d8e2;
font-size: 58px; font-size: 62px;
font-weight: 400; font-weight: 600;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
letter-spacing: -0.3px; letter-spacing: -0.3px;
@@ -203,8 +203,8 @@
/* Colonne 2 : Type de train + Numéro OU Statut */ /* Colonne 2 : Type de train + Numéro OU Statut */
.aff-classiques-departs__col-meta { .aff-classiques-departs__col-meta {
width: 185px; width: 200px;
min-width: 185px; min-width: 200px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
@@ -217,7 +217,7 @@
} }
.aff-classiques-departs__train-type { .aff-classiques-departs__train-type {
font-size: 26px; font-size: 28px;
font-weight: 700; font-weight: 700;
color: var(--white); color: var(--white);
line-height: 1.1; line-height: 1.1;
@@ -227,7 +227,7 @@
} }
.aff-classiques-departs__train-number { .aff-classiques-departs__train-number {
font-size: 26px; font-size: 28px;
font-weight: 700; font-weight: 700;
color: var(--white); color: var(--white);
line-height: 1.1; line-height: 1.1;
@@ -238,8 +238,8 @@
.aff-classiques-departs__status-ontime { .aff-classiques-departs__status-ontime {
color: var(--white); color: var(--white);
font-size: 28px; font-size: 32px;
font-weight: 400; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
text-transform: lowercase; text-transform: lowercase;
@@ -248,7 +248,7 @@
.aff-classiques-departs__status-delayed { .aff-classiques-departs__status-delayed {
color: var(--yellow); color: var(--yellow);
font-size: 26px; font-size: 30px;
font-weight: 700; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
@@ -257,7 +257,7 @@
.aff-classiques-departs__status-suppressed { .aff-classiques-departs__status-suppressed {
color: #ff4d4d; color: #ff4d4d;
font-size: 28px; font-size: 32px;
font-weight: 700; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
@@ -267,8 +267,8 @@
/* Colonne 3 : Heure (Grande, jaune vif) */ /* Colonne 3 : Heure (Grande, jaune vif) */
.aff-classiques-departs__col-time { .aff-classiques-departs__col-time {
width: 250px; width: 260px;
min-width: 250px; min-width: 260px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
@@ -281,7 +281,7 @@
.aff-classiques-departs__time { .aff-classiques-departs__time {
color: var(--yellow); color: var(--yellow);
font-size: 72px; font-size: 76px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
letter-spacing: -0.5px; letter-spacing: -0.5px;
@@ -307,14 +307,14 @@
.aff-classiques-departs__destination { .aff-classiques-departs__destination {
color: var(--white); color: var(--white);
font-size: 64px; font-size: 70px;
font-weight: 400; font-weight: 700;
line-height: 1; line-height: 1;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
letter-spacing: -0.2px; letter-spacing: -0.4px;
} }
/* Colonne 5 : Quai / Voie (Premier plan absolu z-index: 20, au-dessus du watermark) */ /* Colonne 5 : Quai / Voie (Premier plan absolu z-index: 20, au-dessus du watermark) */
@@ -331,10 +331,10 @@
} }
.aff-classiques-departs__platform-box { .aff-classiques-departs__platform-box {
width: 82px; width: 86px;
height: 80px; height: 86px;
border: 2.5px solid var(--white); border: 3px solid var(--white);
border-radius: 6px; border-radius: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -344,7 +344,7 @@
.aff-classiques-departs__platform-text { .aff-classiques-departs__platform-text {
color: var(--white); color: var(--white);
font-size: 56px; font-size: 60px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;