-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (77 loc) · 1.24 KB
/
style.css
File metadata and controls
77 lines (77 loc) · 1.24 KB
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
html, body {
height: 100%;
margin: 0;
font-family: "Vazirmatn", "Segoe UI", Arial, sans-serif;
background: #f9fafb;
}
#app {
display: flex;
flex-direction: row-reverse;
height: 100%;
}
.sidebar {
width: 360px;
background: #fff;
padding: 16px;
overflow-y: auto;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
display: flex;
flex-direction: column;
}
.sidebar h2 {
margin-top: 0;
color: #1e88e5;
}
.search {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.search input {
flex: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
}
.search button {
padding: 10px 14px;
background: #1e88e5;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
}
#stationsList {
flex: 1;
}
.station-item {
padding: 8px;
border-bottom: 1px solid #eee;
cursor: pointer;
transition: background 0.2s;
}
.station-item:hover {
background: #f0f0f0;
}
.station-name {
font-weight: bold;
}
.station-sub {
font-size: 12px;
color: #666;
}
#map {
flex: 1;
}
@media (max-width: 900px) {
#app {
flex-direction: column;
}
.sidebar {
width: 100%;
height: 300px;
}
#map {
height: calc(100vh - 300px);
}
}