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