File size: 1,355 Bytes
cefde1b
8a90a90
cefde1b
 
 
 
8a90a90
 
cefde1b
 
 
 
8a90a90
 
cefde1b
 
 
 
 
 
 
8a90a90
 
cefde1b
8a90a90
cefde1b
 
8a90a90
 
cefde1b
 
 
 
 
 
 
8a90a90
 
cefde1b
 
 
8a90a90
 
cefde1b
 
 
8a90a90
 
cefde1b
 
 
 
 
8a90a90
 
cefde1b
 
 
 
 
8a90a90
 
cefde1b
 
 
 
 
 
 
8a90a90
 
cefde1b
 
 
8a90a90
 
cefde1b
 
8a90a90
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
/* --- 保留原本所有樣式,並在下方追加以下內容 --- */

.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 4rem 0 3rem 0;
}

.bus-section {
    background: white;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.bus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bus-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

select {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 0;
    font-size: 0.9rem;
    outline: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.time-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 核心:精準設定滾動高度限制大約 10 行路線的視覺空間 */
.table-container {
    max-height: 400px; 
    overflow-y: auto;
    border: 1px solid #eeeeee;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

th {
    background-color: #fafafa;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: 600;
    border-bottom: 1px solid #eeeeee;
}

th, td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f5f5f5;
}

tr:hover {
    background-color: #fcfcfc;
}