-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
160 lines (135 loc) · 3.06 KB
/
styles.css
File metadata and controls
160 lines (135 loc) · 3.06 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
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
152
153
154
155
156
157
158
159
160
body {
margin: 0;
padding: 0;
}
.container {
display: flex;
height: 100vh;
}
#map {
background-color: #0d0232;
height: 100%;
width: 68vw;
}
#text-section {
width: 32vw;
background-color: #060021;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#text-section h2 {
margin-top: 0;
color: #ffffff;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#text-section p {
margin: 0 0 10px;
color: #00eaff;
font-family: 'Courier New', Courier, monospace;
}
#text-section b {
color: #ffffff;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#changeMapBtn {
position: absolute;
top: 0px;
left: 50px;
z-index: 1000;
border: none;
padding: 0%;
width: 70px;
height: 70px;
border-radius: 20%;
cursor: pointer;
}
#changeMapBtn img {
border-radius: 20%;
}
.btnStyle {
background-color: #002143;
border: 1px solid #00ffe5;
color: #fff;
padding: 10px 20px;
margin-top: 10px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
margin-left: 6px;
}
.btnStyle:hover {
background-color: #001529;
border-color: #00fbff;
}
#menu {
position: absolute;
top: 100px;
left: 10px;
z-index: 1000;
background: white;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#layerSelect {
position: absolute;
top: 100px;
left: 10px;
background-color: #fff;
padding: 8px;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
z-index: 1000;
}
#layerSelect select {
width: 100px;
padding: 6px;
font-size: 14px;
border: 1px solid #000000;
border-radius: 4px;
background-color: #dfdfdf;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
text-align-last: center;
cursor: pointer;
}
#warningPopup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.9);
color: #fff;
padding: 200000px;
border-radius: 8px;
width: 100%;
z-index: 10002;
opacity: 1;
transition: opacity 1s ease; /* CSS transition for opacity */
}
#warningContent {
text-align: center;
}
/* Media Query for Mobile */
@media (max-width: 768px) {
.container {
flex-direction: column; /* Stack items vertically */
}
#map {
width: 100%;
height: 50vh; /* Adjust height as needed */
}
#text-section {
order: 2; /* Display at bottom on mobile */
width: 100%;
padding: 10px;
}
#layerSelect {
order: 3; /* Display below text-section on mobile */
}
}