1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103 section > div[data-mqtt-topic="departures2mqtt"] {
background: #444;
padding: 0;
}
section > div[data-mqtt-topic="grafana"] {
background: #444;
padding: 0;
}
section > div[data-mqtt-topic="grafana"] iframe {
border-radius: inherit;
width: 100%;
height: 20rem;
margin-bottom: -6px;
}
section > div[data-mqtt-topic="departures2mqtt"] * {
box-sizing: unset;
}
section > div[data-mqtt-topic="departures2mqtt"] > .loader {
margin: 0 auto;
}
.lastUpdated {
text-align: center;
font-style: italic;
}
.table {
display: flex;
flex-direction: row;
}
.table-row {
display: flex;
flex-direction: column;
width: 100%;
}
.table-column {
padding: .5em;
height: 1em;
display: flex;
flex-direction: column;
justify-content: center;
}
.table-column {
background-color: #ddd;
}
.line-column {
width: 20%;
}
.direction-column {
width: 60%;
}
.dep-column {
width: 20%;
}
.table {
flex-wrap: wrap;
padding: 20px;
padding-top: 10px;
background: #444;
}
.table-column {
background: #444;
color: white;
}
.table-column:not(.table-heading):not(.table-title) {
font-family: monospace;
font-size: 15px;
background: #222;
border-bottom: 1px solid grey;
color: #ffaa00;
}
.table-row:last-child {
border-bottom: 0;
}
.table-title {
padding: .85em;
padding-bottom: 0;
font-size: 1.4em;
}
.table-heading {
border-left: 2px solid white;
}
.table-empty {
flex-basis: 100%;
text-align: center;
}