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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
.timetable-full-header {
margin-bottom: 2rem;
}
.back-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: var(--link-color, #007bff);
text-decoration: none;
margin-bottom: 1rem;
font-weight: 500;
transition: color 0.2s ease;
}
.back-link:hover {
color: var(--link-hover-color, #0056b3);
text-decoration: underline;
}
.back-icon {
width: 1.2rem;
height: 1.2rem;
}
.page-title .stop-name {
font-size: 1.2rem;
font-weight: 600;
color: var(--text-primary, #333);
}
.page-title .stop-id {
font-size: 1rem;
color: var(--text-secondary, #666);
font-weight: normal;
margin-left: 0.5rem;
}
.timetable-full-content {
margin-top: 1rem;
}
.error-message {
text-align: center;
padding: 3rem 2rem;
background-color: var(--error-background, #f8f9fa);
border: 1px solid var(--error-border, #dee2e6);
border-radius: 8px;
margin: 2rem 0;
}
.error-message p {
margin-bottom: 1rem;
color: var(--error-color, #dc3545);
font-weight: 500;
}
.error-detail {
font-size: 0.9rem;
color: var(--text-secondary, #666) !important;
font-weight: normal !important;
}
.timetable-controls {
margin-bottom: 1.5rem;
display: flex;
justify-content: center;
}
.past-toggle {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background-color: var(--button-background, #f8f9fa);
color: var(--text-primary, #333);
border: 1px solid var(--button-border, #dee2e6);
border-radius: 6px;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
}
.past-toggle:hover {
background-color: var(--button-hover-background, #e9ecef);
}
.past-toggle.active {
background-color: var(--link-color, #007bff);
color: white;
border-color: var(--link-color, #007bff);
}
.toggle-icon {
width: 1rem;
height: 1rem;
}
/* Next entry highlight */
.timetable-card.timetable-next {
border: 2px solid var(--accent-color, #28a745);
background: var(--surface-next, #e8f5e8) !important;
}
/* Override timetable cards styles for full page */
.timetable-full-content .timetable-cards {
display: flex;
flex-direction: column;
gap: 1rem;
}
.timetable-full-content .timetable-caption {
font-size: 1.2rem;
margin-bottom: 1.5rem;
}
.timetable-full-content .timetable-card {
padding: 1.25rem;
}
/* Responsive design */
@media (max-width: 768px) {
.page-title {
font-size: 1.5rem;
}
.page-title .stop-name {
font-size: 1.1rem;
}
.timetable-full-content .timetable-cards {
gap: 0.75rem;
}
.timetable-full-content .timetable-card {
padding: 1rem;
}
}
|