Add train details on public LDB

This commit is contained in:
Fred Boniface
2023-06-26 21:56:19 +01:00
parent 7ae10634e5
commit 6803438c63
2 changed files with 113 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<script>
export let variables = {title:""}
</script>
<div>
<span>{variables.title}</span>
<slot />
</div>
<style>
span {
font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-weight: 600;
font-size: 20px;
}
div {
position: fixed;
top: 60px;
left: 50%;
transform: translateX(-50%);
width: 75%;
height: auto;
max-height: 75vh;
overflow-y: scroll;
max-width: 400px;
margin: auto;
margin-top: 25px;
padding: 10px;
background-color: var(--overlay-color);
border-radius: 10px;
}
</style>