Prepare upgrade of timetable lookup tool

This commit is contained in:
Fred Boniface 2023-07-12 23:15:32 +01:00
parent 81ec43ef5a
commit 6795809098
3 changed files with 9 additions and 6 deletions

View File

@ -222,7 +222,7 @@
table-layout: fixed; table-layout: fixed;
width: 100%; width: 100%;
max-width: 875px; max-width: 875px;
margin: 0px; margin: auto;
padding: 0px; padding: 0px;
color: white; color: white;
} }
@ -264,7 +264,6 @@
td.from, td.from,
td.to { td.to {
color: yellow; color: yellow;
text-align: left;
} }
td.to, td.to,
@ -332,7 +331,10 @@
font-size: 19px; font-size: 19px;
} }
.tableTxt { .tableTxt {
font-size: 13px; font-size: 14px;
}
td.to,td.from,th.to,th.from {
text-align: center;
} }
} }

View File

@ -234,10 +234,10 @@
color: yellow; color: yellow;
} }
.tablePlatform { .tablePlatform {
width: 5%; width: 9%;
} }
.tableTime { .tableTime {
width: 15%; width: 14%;
} }
.tableDelay { .tableDelay {
width: 7%; width: 7%;

View File

@ -9,7 +9,8 @@
isExpanded = !isExpanded; isExpanded = !isExpanded;
} }
</script> </script>
<!-- The next version of backend will only return a subset of information required to display the container-header
, the container will then be responsible for fetching more data using the trainUid. -->
<div class="container"> <div class="container">
<div class="container-header" on:click={expand} on:keypress={expand}> <div class="container-header" on:click={expand} on:keypress={expand}>
<span class="header" <span class="header"