-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpuneStyle.css
114 lines (94 loc) · 2.44 KB
/
puneStyle.css
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
body, html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
box-sizing: border-box; /* Ensure padding and borders are included in the element's width and height */
}
#map {
width: 100%;
height: 100vh;
position: relative; /* Keep map positioned relative to its container */
}
.navbar {
display: flex;
gap: 10px;
position: absolute; /* Position navbar over the map */
top: 2vh; /* Distance from the top of the viewport */
right: 2vw; /*Distance from the left of the viewport */
padding: 5px; /* Add padding inside the navbar for a spacious look */
border-radius: 20px; /* High border radius for rounded corners */
background-color: rgba(255, 255, 255, 0.9); /* Optional: Add a semi-transparent background */
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Optional: Add shadow for better visibility */
z-index: 1000; /* Ensure it stays on top of the map */
box-sizing: border-box; /* Ensure padding doesn’t add to the height */
}
.navbar button {
font-size: medium;
padding: 10px 15px; /* Larger padding for a more spacious button */
background-color: #007bff;
color: white;
border: none;
border-radius: 20px; /* Rounded corners for buttons */
cursor: pointer;
text-align: center; /* Center text inside the button */
}
.navbar button:hover {
background-color: #0056b3;
}
.overlay {
position: absolute;
top: 10vh;
left: 2vw;
width: 20vw;
max-height: 80vh;
overflow-y: auto;
padding: 2vh;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 0 1.5vh rgba(0, 0, 0, 0.3);
z-index: 1000;
}
.overlay h2 {
margin-top: 0;
font-size: 1.5em;
}
#markerNames {
list-style: none;
padding: 0;
margin: 0;
overflow: auto;
}
#markerNames li {
margin-bottom: 1vh;
font-size: 1em;
cursor: pointer;
}
#markerNames li:hover {
text-decoration: underline;
color: #007bff;
}
#searchInput {
width: 16vw;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
overflow: auto;
}
.info-overlay {
position: absolute;
top: 10vh;
right: 2vw;
width: auto;
height: auto;
max-width: 20vw;
max-height: 80vh;
overflow-y: auto;
padding: 2vh;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 0 1.5vh rgba(0, 0, 0, 0.3);
z-index: 1001;
display: none;
}