->Refonte visuelle + Prise en charge du mode sombre par l'ensemble des composants.
134 lines
2.8 KiB
CSS
134 lines
2.8 KiB
CSS
.attribution-depart-arrivee {
|
|
padding: 20px;
|
|
background-color: #ffffff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.attribution-depart-arrivee-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.attribution-depart-arrivee-header h2 {
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
color: #0047ab;
|
|
}
|
|
|
|
.attribution-depart-arrivee-table-container {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.attribution-depart-arrivee-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.attribution-depart-arrivee-table th,
|
|
.attribution-depart-arrivee-table td {
|
|
padding: 12px 15px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.attribution-depart-arrivee-table th {
|
|
background-color: #f9fafb;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
}
|
|
|
|
.attribution-depart-arrivee-table tr.row-depart {
|
|
background-color: #eff6ff; /* Bleu très pastel */
|
|
}
|
|
|
|
.attribution-depart-arrivee-table tr.row-arrivee {
|
|
background-color: #f0fdf4; /* Vert très pastel */
|
|
}
|
|
|
|
.attribution-depart-arrivee-table tr:hover {
|
|
filter: brightness(0.97);
|
|
}
|
|
|
|
.event-badge {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.event-badge.depart {
|
|
background-color: #dbeafe;
|
|
color: #1e40af;
|
|
}
|
|
|
|
.event-badge.arrivee {
|
|
background-color: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.quai-select {
|
|
padding: 6px 10px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 4px;
|
|
background-color: #ffffff;
|
|
font-size: 0.9rem;
|
|
color: #374151;
|
|
outline: none;
|
|
cursor: pointer;
|
|
width: 120px;
|
|
}
|
|
|
|
.quai-select:focus {
|
|
border-color: #0047ab;
|
|
box-shadow: 0 0 0 2px rgba(0, 71, 171, 0.2);
|
|
}
|
|
|
|
/* Dark Mode */
|
|
body.dark-mode .attribution-depart-arrivee,
|
|
[data-theme="dark"] .attribution-depart-arrivee {
|
|
background-color: #151f30;
|
|
color: #f1f5f9;
|
|
border-color: #243247;
|
|
}
|
|
|
|
body.dark-mode .attribution-depart-arrivee-header h2,
|
|
[data-theme="dark"] .attribution-depart-arrivee-header h2 {
|
|
color: #38bdf8;
|
|
}
|
|
|
|
body.dark-mode .attribution-depart-arrivee-table th,
|
|
[data-theme="dark"] .attribution-depart-arrivee-table th {
|
|
background-color: #0e1726;
|
|
color: #94a3b8;
|
|
border-bottom-color: #243247;
|
|
}
|
|
|
|
body.dark-mode .attribution-depart-arrivee-table td,
|
|
[data-theme="dark"] .attribution-depart-arrivee-table td {
|
|
border-bottom-color: #1e293b;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
body.dark-mode .attribution-depart-arrivee-table tr.row-depart,
|
|
[data-theme="dark"] .attribution-depart-arrivee-table tr.row-depart {
|
|
background-color: #0d2744;
|
|
}
|
|
|
|
body.dark-mode .attribution-depart-arrivee-table tr.row-arrivee,
|
|
[data-theme="dark"] .attribution-depart-arrivee-table tr.row-arrivee {
|
|
background-color: #0e2e21;
|
|
}
|
|
|
|
body.dark-mode .quai-select,
|
|
[data-theme="dark"] .quai-select {
|
|
background-color: #0b111e;
|
|
border-color: #243247;
|
|
color: #f8fafc;
|
|
}
|
|
|