1 | .modalOverlay {
|
---|
2 | position: fixed;
|
---|
3 | top: 0;
|
---|
4 | left: 0;
|
---|
5 | width: 100vw;
|
---|
6 | height: 100vh;
|
---|
7 | background-color: rgba(0, 0, 0, 0.6);
|
---|
8 | display: flex;
|
---|
9 | justify-content: center;
|
---|
10 | align-items: center;
|
---|
11 | z-index: 1000;
|
---|
12 | backdrop-filter: blur(5px);
|
---|
13 | }
|
---|
14 |
|
---|
15 | .modalContent {
|
---|
16 | background-color: white;
|
---|
17 | padding: 20px;
|
---|
18 | border-radius: 12px;
|
---|
19 | width: 400px;
|
---|
20 | max-width: 90%;
|
---|
21 | box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
|
---|
22 | text-align: center;
|
---|
23 | animation: fadeIn 0.3s ease-out;
|
---|
24 | }
|
---|
25 |
|
---|
26 | .mapImage {
|
---|
27 | width: 100%;
|
---|
28 | height: auto;
|
---|
29 | border-radius: 8px;
|
---|
30 | margin-bottom: 15px;
|
---|
31 | }
|
---|
32 |
|
---|
33 | .title {
|
---|
34 | font-size: 1.5rem;
|
---|
35 | color: #333;
|
---|
36 | margin-bottom: 10px;
|
---|
37 | text-transform: uppercase;
|
---|
38 | }
|
---|
39 |
|
---|
40 | p {
|
---|
41 | margin: 5px 0;
|
---|
42 | font-size: 0.9rem;
|
---|
43 | color: #555;
|
---|
44 | }
|
---|
45 |
|
---|
46 | a {
|
---|
47 | color: #1e90ff;
|
---|
48 | text-decoration: none;
|
---|
49 | font-weight: bold;
|
---|
50 | }
|
---|
51 |
|
---|
52 | a:hover {
|
---|
53 | text-decoration: underline;
|
---|
54 | }
|
---|
55 |
|
---|
56 | .buttonContainer {
|
---|
57 | display: flex;
|
---|
58 | justify-content: space-between;
|
---|
59 | margin-top: 20px;
|
---|
60 | gap: 10px;
|
---|
61 | }
|
---|
62 |
|
---|
63 | button {
|
---|
64 | padding: 10px 15px;
|
---|
65 | font-size: 0.9rem;
|
---|
66 | border: none;
|
---|
67 | border-radius: 5px;
|
---|
68 | cursor: pointer;
|
---|
69 | transition: background-color 0.3s, transform 0.2s;
|
---|
70 | }
|
---|
71 |
|
---|
72 | button:active {
|
---|
73 | transform: scale(0.95);
|
---|
74 | }
|
---|
75 |
|
---|
76 | button:disabled {
|
---|
77 | background-color: #d3d3d3;
|
---|
78 | color: #888;
|
---|
79 | cursor: not-allowed;
|
---|
80 | }
|
---|
81 |
|
---|
82 | .viewButton {
|
---|
83 | background-color: #1e90ff;
|
---|
84 | color: white;
|
---|
85 | }
|
---|
86 |
|
---|
87 | .viewButton:hover {
|
---|
88 | background-color: #155a8a;
|
---|
89 | }
|
---|
90 |
|
---|
91 | button:disabled.viewButton {
|
---|
92 | background-color: #d3d3d3;
|
---|
93 | color: #888;
|
---|
94 | }
|
---|
95 |
|
---|
96 | .editButton {
|
---|
97 | background-color: #ffa500;
|
---|
98 | color: white;
|
---|
99 | }
|
---|
100 |
|
---|
101 | .editButton:hover {
|
---|
102 | background-color: #cc8400;
|
---|
103 | }
|
---|
104 |
|
---|
105 | button:disabled.editButton {
|
---|
106 | background-color: #d3d3d3;
|
---|
107 | color: #888;
|
---|
108 | }
|
---|
109 |
|
---|
110 | .deleteButton {
|
---|
111 | background-color: #ff4c4c;
|
---|
112 | color: white;
|
---|
113 | }
|
---|
114 |
|
---|
115 | .deleteButton:hover {
|
---|
116 | background-color: #cc0000;
|
---|
117 | }
|
---|
118 |
|
---|
119 | .closeButton {
|
---|
120 | margin-top: 20px;
|
---|
121 | padding: 10px 15px;
|
---|
122 | background-color: #f5f5f5;
|
---|
123 | color: #333;
|
---|
124 | border: none;
|
---|
125 | border-radius: 5px;
|
---|
126 | cursor: pointer;
|
---|
127 | transition: background-color 0.3s ease;
|
---|
128 | }
|
---|
129 |
|
---|
130 | .closeButton:hover {
|
---|
131 | background-color: #e0e0e0;
|
---|
132 | }
|
---|
133 |
|
---|
134 | @keyframes fadeIn {
|
---|
135 | from {
|
---|
136 | opacity: 0;
|
---|
137 | transform: scale(0.9);
|
---|
138 | }
|
---|
139 | to {
|
---|
140 | opacity: 1;
|
---|
141 | transform: scale(1);
|
---|
142 | }
|
---|
143 | }
|
---|
144 | .editPopupOverlay {
|
---|
145 | position: fixed;
|
---|
146 | top: 0;
|
---|
147 | left: 0;
|
---|
148 | width: 100vw;
|
---|
149 | height: 100vh;
|
---|
150 | background-color: rgba(0, 0, 0, 0.6);
|
---|
151 | display: flex;
|
---|
152 | justify-content: center;
|
---|
153 | align-items: center;
|
---|
154 | z-index: 1100;
|
---|
155 | backdrop-filter: blur(5px);
|
---|
156 | }
|
---|
157 |
|
---|
158 | .editPopupContent {
|
---|
159 | background-color: white;
|
---|
160 | padding: 20px;
|
---|
161 | border-radius: 12px;
|
---|
162 | width: 400px;
|
---|
163 | max-width: 90%;
|
---|
164 | box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
|
---|
165 | text-align: center;
|
---|
166 | animation: fadeIn 0.3s ease-out;
|
---|
167 | }
|
---|
168 |
|
---|
169 | .editField {
|
---|
170 | margin: 15px 0;
|
---|
171 | text-align: left;
|
---|
172 | }
|
---|
173 |
|
---|
174 | .editField label {
|
---|
175 | display: block;
|
---|
176 | margin-bottom: 5px;
|
---|
177 | font-size: 0.9rem;
|
---|
178 | color: #555;
|
---|
179 | }
|
---|
180 |
|
---|
181 | .editField input {
|
---|
182 | width: 100%;
|
---|
183 | padding: 10px;
|
---|
184 | font-size: 0.9rem;
|
---|
185 | border: 1px solid #ccc;
|
---|
186 | border-radius: 5px;
|
---|
187 | box-sizing: border-box;
|
---|
188 | }
|
---|
189 |
|
---|
190 | .editPopupButtons {
|
---|
191 | display: flex;
|
---|
192 | justify-content: space-between;
|
---|
193 | margin-top: 20px;
|
---|
194 | gap: 10px;
|
---|
195 | }
|
---|
196 |
|
---|
197 | .submitButton {
|
---|
198 | background-color: #4caf50;
|
---|
199 | color: white;
|
---|
200 | padding: 10px 15px;
|
---|
201 | border: none;
|
---|
202 | border-radius: 5px;
|
---|
203 | cursor: pointer;
|
---|
204 | transition: background-color 0.3s ease;
|
---|
205 | }
|
---|
206 |
|
---|
207 | .submitButton:hover {
|
---|
208 | background-color: #45a049;
|
---|
209 | }
|
---|
210 |
|
---|
211 | .cancelButton {
|
---|
212 | background-color: #f44336;
|
---|
213 | color: white;
|
---|
214 | padding: 10px 15px;
|
---|
215 | border: none;
|
---|
216 | border-radius: 5px;
|
---|
217 | cursor: pointer;
|
---|
218 | transition: background-color 0.3s ease;
|
---|
219 | }
|
---|
220 |
|
---|
221 | .cancelButton:hover {
|
---|
222 | background-color: #d32f2f;
|
---|
223 | }
|
---|
224 |
|
---|
225 | .editIcon {
|
---|
226 | width: 20px;
|
---|
227 | height: 20px;
|
---|
228 | margin-left: 10px;
|
---|
229 | cursor: pointer;
|
---|
230 | transition: transform 0.2s ease;
|
---|
231 | }
|
---|
232 |
|
---|
233 | .editIcon:hover {
|
---|
234 | transform: scale(1.1);
|
---|
235 | }
|
---|