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