blob: 3f7621e31fddef3d3470f7c337fb722035c65b45 (
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
|
/* Stop Sheet Styles */
.stop-sheet-content {
padding: 16px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.stop-sheet-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
}
.stop-sheet-title {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-color);
margin: 0;
}
.stop-sheet-id {
font-size: 1rem;
color: var(--subtitle-color);
}
.stop-sheet-loading {
display: flex;
justify-content: center;
align-items: center;
padding: 32px;
color: var(--subtitle-color);
font-size: 1rem;
}
.stop-sheet-estimates {
flex: 1;
overflow-y: auto;
min-height: 0;
}
.stop-sheet-subtitle {
font-size: 1.1rem;
font-weight: 500;
color: var(--text-color);
margin: 0 0 12px 0;
}
.stop-sheet-no-estimates {
text-align: center;
padding: 32px 16px;
color: var(--subtitle-color);
font-size: 0.95rem;
}
.stop-sheet-estimates-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.stop-sheet-estimate-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
background-color: var(--message-background-color);
border-radius: 8px;
border: 1px solid var(--border-color);
}
.stop-sheet-estimate-line {
flex-shrink: 0;
}
.stop-sheet-estimate-details {
flex: 1;
min-width: 0;
}
.stop-sheet-estimate-route {
font-weight: 500;
color: var(--text-color);
font-size: 0.95rem;
margin-bottom: 2px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stop-sheet-estimate-time {
font-size: 0.85rem;
color: var(--subtitle-color);
}
.stop-sheet-estimate-distance {
color: var(--subtitle-color);
}
.stop-sheet-view-all {
display: block;
padding: 12px 16px;
background-color: var(--button-background-color);
color: white;
text-decoration: none;
text-align: center;
border-radius: 8px;
font-weight: 500;
transition: background-color 0.2s ease;
margin-block-start: 1rem;
margin-inline-start: auto;
}
.stop-sheet-view-all:hover {
background-color: var(--button-hover-background-color);
text-decoration: none;
}
/* Override react-modal-sheet styles for better integration */
[data-rsbs-overlay] {
background-color: rgba(0, 0, 0, 0.3);
}
[data-rsbs-header] {
background-color: var(--background-color);
border-bottom: 1px solid var(--border-color);
}
[data-rsbs-header]:before {
background-color: var(--subtitle-color);
}
[data-rsbs-root] [data-rsbs-overlay] {
border-top-left-radius: 16px;
border-top-right-radius: 16px;
}
[data-rsbs-root] [data-rsbs-content] {
background-color: var(--background-color);
border-top-left-radius: 16px;
border-top-right-radius: 16px;
max-height: 95vh;
overflow: hidden;
}
|