fix(classiques): align text styles, weights, and box shapes to strictly match SNCF display img 1

This commit is contained in:
mathis committed 2026-08-31 00:04:48 +02:00
1 parent 5d954af44a
commit e351398fe6
2 files changed
+42 -30

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: 54px; font-size: 42px;
margin-right: 14px; margin-right: 14px;
margin-left: 18px; margin-left: 18px;
line-height: 1; line-height: 1;
@@ -175,11 +175,11 @@
.aff-classiques-arrivees__stop-name { .aff-classiques-arrivees__stop-name {
color: #d0d8e2; color: #d0d8e2;
font-size: 66px; font-size: 58px;
font-weight: 700; font-weight: 400;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
letter-spacing: -0.5px; letter-spacing: -0.3px;
} }
/* Colonne 1 : Logo opérateur (blanc) */ /* Colonne 1 : Logo opérateur (blanc) */
@@ -223,6 +223,7 @@
line-height: 1.1; line-height: 1.1;
text-transform: uppercase; text-transform: uppercase;
white-space: nowrap; white-space: nowrap;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-arrivees__train-number { .aff-classiques-arrivees__train-number {
@@ -232,15 +233,17 @@
line-height: 1.1; line-height: 1.1;
margin-top: 4px; margin-top: 4px;
white-space: nowrap; white-space: nowrap;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-arrivees__status-ontime { .aff-classiques-arrivees__status-ontime {
color: var(--white); color: var(--white);
font-size: 28px; font-size: 28px;
font-weight: 700; font-weight: 400;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
text-transform: lowercase; text-transform: lowercase;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-arrivees__status-delayed { .aff-classiques-arrivees__status-delayed {
@@ -249,6 +252,7 @@
font-weight: 700; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-arrivees__status-suppressed { .aff-classiques-arrivees__status-suppressed {
@@ -258,12 +262,13 @@
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
text-transform: lowercase; text-transform: lowercase;
font-family: "Achemine", sans-serif;
} }
/* Colonne 3 : Heure (Grande, jaune vif) */ /* Colonne 3 : Heure (Grande, jaune vif) */
.aff-classiques-arrivees__col-time { .aff-classiques-arrivees__col-time {
width: 260px; width: 250px;
min-width: 260px; min-width: 250px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
@@ -276,7 +281,7 @@
.aff-classiques-arrivees__time { .aff-classiques-arrivees__time {
color: var(--yellow); color: var(--yellow);
font-size: 74px; font-size: 72px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
letter-spacing: -0.5px; letter-spacing: -0.5px;
@@ -302,13 +307,14 @@
.aff-classiques-arrivees__destination { .aff-classiques-arrivees__destination {
color: var(--white); color: var(--white);
font-size: 68px; font-size: 64px;
font-weight: 700; font-weight: 400;
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;
} }
/* 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) */
@@ -325,10 +331,10 @@
} }
.aff-classiques-arrivees__platform-box { .aff-classiques-arrivees__platform-box {
width: 90px; width: 82px;
height: 86px; height: 80px;
border: 3.5px solid var(--white); border: 2.5px solid var(--white);
border-radius: 12px; border-radius: 6px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -338,7 +344,7 @@
.aff-classiques-arrivees__platform-text { .aff-classiques-arrivees__platform-text {
color: var(--white); color: var(--white);
font-size: 62px; font-size: 56px;
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: 54px; font-size: 42px;
margin-right: 14px; margin-right: 14px;
margin-left: 18px; margin-left: 18px;
line-height: 1; line-height: 1;
@@ -175,11 +175,11 @@
.aff-classiques-departs__stop-name { .aff-classiques-departs__stop-name {
color: #d0d8e2; color: #d0d8e2;
font-size: 66px; font-size: 58px;
font-weight: 700; font-weight: 400;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;
letter-spacing: -0.5px; letter-spacing: -0.3px;
} }
/* Colonne 1 : Logo opérateur (blanc) */ /* Colonne 1 : Logo opérateur (blanc) */
@@ -223,6 +223,7 @@
line-height: 1.1; line-height: 1.1;
text-transform: uppercase; text-transform: uppercase;
white-space: nowrap; white-space: nowrap;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-departs__train-number { .aff-classiques-departs__train-number {
@@ -232,15 +233,17 @@
line-height: 1.1; line-height: 1.1;
margin-top: 4px; margin-top: 4px;
white-space: nowrap; white-space: nowrap;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-departs__status-ontime { .aff-classiques-departs__status-ontime {
color: var(--white); color: var(--white);
font-size: 28px; font-size: 28px;
font-weight: 700; font-weight: 400;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
text-transform: lowercase; text-transform: lowercase;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-departs__status-delayed { .aff-classiques-departs__status-delayed {
@@ -249,6 +252,7 @@
font-weight: 700; font-weight: 700;
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
font-family: "Achemine", sans-serif;
} }
.aff-classiques-departs__status-suppressed { .aff-classiques-departs__status-suppressed {
@@ -258,12 +262,13 @@
line-height: 1.1; line-height: 1.1;
white-space: nowrap; white-space: nowrap;
text-transform: lowercase; text-transform: lowercase;
font-family: "Achemine", sans-serif;
} }
/* Colonne 3 : Heure (Grande, jaune vif) */ /* Colonne 3 : Heure (Grande, jaune vif) */
.aff-classiques-departs__col-time { .aff-classiques-departs__col-time {
width: 260px; width: 250px;
min-width: 260px; min-width: 250px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
@@ -276,7 +281,7 @@
.aff-classiques-departs__time { .aff-classiques-departs__time {
color: var(--yellow); color: var(--yellow);
font-size: 74px; font-size: 72px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
letter-spacing: -0.5px; letter-spacing: -0.5px;
@@ -302,13 +307,14 @@
.aff-classiques-departs__destination { .aff-classiques-departs__destination {
color: var(--white); color: var(--white);
font-size: 68px; font-size: 64px;
font-weight: 700; font-weight: 400;
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;
} }
/* 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) */
@@ -325,10 +331,10 @@
} }
.aff-classiques-departs__platform-box { .aff-classiques-departs__platform-box {
width: 90px; width: 82px;
height: 86px; height: 80px;
border: 3.5px solid var(--white); border: 2.5px solid var(--white);
border-radius: 12px; border-radius: 6px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -338,7 +344,7 @@
.aff-classiques-departs__platform-text { .aff-classiques-departs__platform-text {
color: var(--white); color: var(--white);
font-size: 62px; font-size: 56px;
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
font-family: "Achemine", sans-serif; font-family: "Achemine", sans-serif;