Adjust staffldb styling

This commit is contained in:
Fred Boniface 2023-07-03 23:51:55 +01:00
parent ef576051bd
commit 329eaa85d1
1 changed files with 21 additions and 10 deletions

View File

@ -124,16 +124,16 @@
</tr> </tr>
{#each services as service} {#each services as service}
<tr> <tr>
<th class="id id-data">{service.trainid}</th> <th class="id id-data data">{service.trainid}</th>
<th class="from from-data">{service.origin.location.tiploc}</th> <th class="from from-data data">{service.origin.location.tiploc}</th>
<th class="to to-data">{service.destination.location.tiploc}</th> <th class="to to-data data">{service.destination.location.tiploc}</th>
<th class="plat plat-data">{service.platform || '-'}</th> <th class="plat plat-data data">{service.platform || '-'}</th>
<th class="time time-data">{parseDateTime(service.sta)}</th> <th class="time time-data data">{parseDateTime(service.sta)}</th>
<th class="time time-data">{'-'}</th> <th class="time time-data data">{'-'}</th>
<th class="time time-data">{parseDateTime(service.std)}</th> <th class="time time-data data">{parseDateTime(service.std)}</th>
<th class="time time-data">{'-'}</th> <th class="time time-data data">{'-'}</th>
</tr> </tr>
<tr> <tr class="text-row">
<td colspan="8" class="text-data"> <td colspan="8" class="text-data">
{service.operator} {service.operator}
</td> </td>
@ -151,13 +151,24 @@
margin: auto; margin: auto;
} }
.data {
font-weight: normal;
}
.id-data { .id-data {
color: lightgray; color: lightgray;
text-align: left;
} }
.from-data, .to-data { .from-data, .to-data {
color: yellow; color: yellow;
text-decoration: none; text-decoration: none;
text-align: left;
}
.text-row {
margin-top: 0px;
padding-bottom: 5px;
} }
.text-data { .text-data {