aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes/estimates-$id.css
blob: 8906147bd845cfbe12d02b79e94afd8354ff36fc (plain)
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
140
141
142
143
144
145
146
147
148
149
150
151
.table-responsive {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table caption {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table th {
  border-bottom: 2px solid #ddd;
}

.table tfoot td {
  text-align: center;
}

/* Estimates page specific styles */
.estimates-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.estimates-stop-id {
  font-size: 1rem;
  color: var(--subtitle-color);
  margin-left: 0.5rem;
}

.estimates-arrival {
  color: #28a745;
  font-weight: 500;
}

.estimates-delayed {
  color: #dc3545;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.button {
  padding: 0.75rem 1rem;
  background-color: var(--button-background-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  background-color: var(--button-hover-background-color);
}

.button:disabled {
  background-color: var(--button-disabled-background-color);
  cursor: not-allowed;
}

.star-icon {
  margin-right: 0.5rem;
  color: #ccc;
  fill: none;
}

.star-icon.active {
  color: var(--star-color);
  /* Yellow color for active star */
  fill: var(--star-color);
}

/* Pencil (edit) icon next to header */
.edit-icon {
  margin-right: 0.5rem;
  color: #ccc;
  cursor: pointer;
  stroke-width: 2px;
}

.edit-icon:hover {
  color: var(--star-color);
}

/* Timetable section styles */
.timetable-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem; /* Add bottom padding before footer */
}

/* Timetable cards should be single column */
.timetable-section .timetable-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timetable-section .timetable-card {
  padding: 0.875rem;
}

.timetable-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--link-color, #007bff);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--link-color, #007bff);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  background-color: var(--link-color, #007bff);
  color: white;
  text-decoration: none;
}

.external-icon {
  width: 1rem;
  height: 1rem;
}