Files
ferrovia-infogare/src/pages/afficheurs/classiques/quais/ClassiquesArriveesQuais.css
T
Ferrovia f06ebbaf48 V2.0.0 : VOICI LES MODIFICATIONS MAJEURS APPRTÉES DANS CETTE VERSION :
-> REFONTE DU DESIGN DES AFFICHEURS CLASSIQUES (GÉNÉRAL + QUAIS)
-> IMPLÉMENTATION DU DESIGN AFL : GÉNÉRAL ET QUAIS

-> CHOIX DE LA SÉLECTION DES TYPES D'AFFICHEURS (GÉNÉRAL / QUAIS) UNE FOIS LE TYPE D'AFFICHEUR SÉLECTIONNÉS

EN COURS DE DÉVELOPPEMENT :

-> IMPLÉMENTATION DES PERTURBATION DU LANDEMAIN POUR LES HORAIRES DU LANDEMAIN AFFICHÉS AVANT MINUIT.
-> IMPLÉMENTATION DES AFFICHEURS D'INFORMATIONS / INFOS TRAVAUX, etc... (AFFICHEURS AFL)
2026-06-14 22:02:08 +02:00

338 lines
7.3 KiB
CSS

@font-face {
font-family: 'Achemine';
src: url('/public/fonts/achemine_regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Achemine';
src: url('/public/fonts/achemine_bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
body, html {
margin: 0;
padding: 0;
background-color: #006330; /* Green theme */
overflow: hidden;
}
.aff-quais-arrivees-redesign__container {
display: flex;
flex-direction: row;
width: 100vw;
height: 100vh;
position: relative;
font-family: 'Achemine', 'Helvetica Neue', Arial, sans-serif;
background-color: #006330;
color: #fff;
overflow: hidden;
}
.aff-quais-arrivees-redesign__empty {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.aff-quais-arrivees-redesign__empty-text {
font-size: 6rem;
font-weight: 700;
color: #ffffff;
text-align: center;
}
/* =========================================================
LEFT PANEL
========================================================= */
.aff-quais-arrivees-redesign__left {
position: absolute;
top: 0;
left: 0;
width: 35%;
bottom: 80px;
background-color: #f3eef4; /* Lilac/Light Grey background */
box-sizing: border-box;
padding: 30px 40px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.aff-quais-arrivees-redesign__sncf-logo {
width: 90px;
height: auto;
margin-bottom: 25px;
z-index: 2;
}
.aff-quais-arrivees-redesign__time-status {
display: flex;
align-items: baseline;
gap: 15px;
margin-bottom: 5px;
z-index: 2;
}
.aff-quais-arrivees-redesign__time {
color: #006330; /* Green theme text */
font-weight: 700;
font-size: 7.5rem;
line-height: 1;
}
.aff-quais-arrivees-redesign__status {
color: #006330; /* Green theme status */
font-weight: 700;
font-size: 2.4rem;
line-height: 1;
}
.aff-quais-arrivees-redesign__destination {
color: #006330; /* Green theme destination (origin) */
font-weight: 700;
font-size: 5.5rem; /* Slightly smaller to fit 2 lines if needed */
line-height: 1.1;
margin-bottom: 5px;
z-index: 2;
white-space: normal; /* Allow wrapping */
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
max-height: 13rem; /* Prevent overflowing panel */
}
.aff-quais-arrivees-redesign__train-info {
display: flex;
align-items: center;
gap: 10px;
z-index: 2;
}
.aff-quais-arrivees-redesign__train-type {
color: #006330; /* Green theme train type */
font-weight: 700;
font-size: 2.2rem;
letter-spacing: 0.5px;
}
.aff-quais-arrivees-redesign__train-number {
color: #7e8a80; /* Grey/Green train number */
font-weight: 400;
font-size: 2.2rem;
letter-spacing: 0.5px;
}
.aff-quais-arrivees-redesign__icons {
position: absolute;
bottom: 20px;
left: 40px;
display: flex;
align-items: center;
z-index: 2;
}
.aff-quais-arrivees-redesign__watermark {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%) rotate(-90deg);
transform-origin: right center;
font-size: 17rem; /* Massive size */
color: #dbebdf; /* Light green/grey watermark */
font-weight: 700;
z-index: 1;
pointer-events: none;
user-select: none;
letter-spacing: 1.5rem;
line-height: 1;
white-space: nowrap;
}
/* =========================================================
RIGHT PANEL
========================================================= */
.aff-quais-arrivees-redesign__right {
position: absolute;
top: 0;
right: 0;
width: 65%;
bottom: 80px;
background-color: #006330; /* Green theme */
box-sizing: border-box;
padding: 30px 0 30px 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.aff-quais-arrivees-redesign__provenance-title {
font-size: 3.4rem;
color: #dbeb1a; /* Yellow provenance header */
margin-left: 60px;
margin-bottom: 20px;
font-weight: 700;
}
.aff-quais-arrivees-redesign__stops-list {
list-style: none;
margin: 0;
padding: 0 0 0 60px; /* Space from left edge */
width: 100%;
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
gap: 8px; /* Closer spacing between stops */
}
.aff-quais-arrivees-redesign__stop {
display: flex;
align-items: center;
font-size: 3.4rem;
font-weight: 400;
color: #ffffff;
position: relative;
min-height: 42px;
padding-left: 50px; /* Space for rail and bullet */
}
/* Bullet styling */
.aff-quais-arrivees-redesign__stop-bullet {
position: absolute;
left: 0; /* Centered on 24px rail: (24-16)/2 = 4 */
margin-left: 4px;
top: 50%;
transform: translateY(-50%);
width: 16px; /* Slightly larger bullet */
height: 16px;
background-color: #fbec22;
border-radius: 50%;
z-index: 4;
}
.aff-quais-arrivees-redesign__stop-text {
position: relative;
z-index: 4;
white-space: nowrap;
letter-spacing: 0.5px;
padding-left: 10px; /* Space from bullet */
}
/* The vertical rail segments drawn behind each bullet */
.aff-quais-arrivees-redesign__stop::before {
content: '';
position: absolute;
left: 0;
width: 24px; /* Much wider rail */
background-color: #8fa993; /* Light green-grey rail color */
top: -10px;
bottom: -10px;
z-index: 1;
}
/* Rail starts at the first bullet's center */
.aff-quais-arrivees-redesign__stop:first-child::before {
top: 50%;
}
/* Last stop has no rail continuing below */
.aff-quais-arrivees-redesign__stop:last-child::before {
bottom: 50%;
}
/* =========================================================
FOOTER
========================================================= */
.aff-quais-arrivees-redesign__footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 80px;
background-color: #006330; /* Green theme */
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 0 40px;
z-index: 10;
}
.aff-quais-arrivees-redesign__footer-left {
font-size: 3rem;
font-weight: 700;
color: #ffffff;
font-style: italic;
font-family: 'Achemine', 'Helvetica Neue', Arial, sans-serif;
letter-spacing: 0.5px;
}
.aff-quais-arrivees-redesign__footer-right {
display: flex;
align-items: center;
}
.aff-quais-arrivees-redesign__clock {
border: 2px solid #ffffff;
padding: 4px 14px;
font-size: 3rem;
font-weight: 700;
color: #ffffff;
display: flex;
align-items: center;
gap: 10px;
font-family: 'Achemine', 'Helvetica Neue', Arial, sans-serif;
}
.aff-quais-arrivees-redesign__clock-s {
color: #f5a623;
}
.aff-quais-arrivees-redesign__time--long-text {
font-size: 3.5rem !important;
line-height: 1.2 !important;
}
.aff-quais-arrivees-redesign__time--suppressed,
.aff-quais-arrivees-redesign__status--suppressed {
color: #ff4c5b !important;
}
.aff-quais-arrivees-redesign__time--delayed,
.aff-quais-arrivees-redesign__status--delayed {
color: #ff9e43 !important;
}
/* Disrupted Stop styling */
.aff-quais-arrivees-redesign__stop-text--suppressed {
text-decoration: line-through;
color: #ff4c5b;
opacity: 0.6;
}
.aff-quais-arrivees-redesign__stop-text--delayed {
color: #ff9e43;
}
.aff-quais-arrivees-redesign__stop-status-badge {
font-size: 2.2rem;
font-weight: bold;
margin-left: 10px;
}
.aff-quais-arrivees-redesign__stop-status-badge--suppressed {
color: #ff4c5b;
}
.aff-quais-arrivees-redesign__stop-status-badge--delayed {
color: #ff9e43;
}