216 lines
4.3 KiB
CSS
216 lines
4.3 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#map {
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Floating panels on top of the map */
|
|
.floating-panel {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
|
|
z-index: 1000;
|
|
width: 280px;
|
|
}
|
|
|
|
.floating-panel h3 {
|
|
margin-bottom: 10px;
|
|
font-size: 16px;
|
|
color: #333;
|
|
}
|
|
|
|
.floating-panel input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-bottom: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.btn-group {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-group button, .floating-panel button {
|
|
flex: 1;
|
|
padding: 8px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.btn-group button:hover, .floating-panel button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
/* Modal Styling */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 2000;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
width: 100%;
|
|
max-width: 450px;
|
|
position: relative;
|
|
box-shadow: 0 5px 25px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.close-btn {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 20px;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
color: #666;
|
|
}
|
|
|
|
.close-btn:hover {
|
|
color: #000;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group input, .form-group select {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: #28a745;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background-color: #218838;
|
|
}
|
|
|
|
/* 3D Viewer Overlays (Full Screen) */
|
|
#viewer-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 3000;
|
|
background: black;
|
|
}
|
|
|
|
#panorama-viewer {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#close-viewer-btn {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
padding: 12px 24px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
z-index: 3001;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
#close-viewer-btn:hover {
|
|
background: white;
|
|
}
|
|
/* Modal Overlay */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0; left: 0; width: 100%; height: 100%;
|
|
background: rgba(0,0,0,0.7);
|
|
display: flex; align-items: center; justify-content: center;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #fff;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
width: 90%; max-width: 500px;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group { margin-bottom: 15px; }
|
|
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; }
|
|
.form-group input, .form-group textarea, .form-group select {
|
|
width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px;
|
|
}
|
|
|
|
/* Tabs */
|
|
.tab-container { display: flex; gap: 10px; margin-bottom: 10px; }
|
|
.tab-btn {
|
|
flex: 1; padding: 8px; cursor: pointer; border: 1px solid #007bff;
|
|
background: #fff; color: #007bff; border-radius: 4px;
|
|
}
|
|
.tab-btn.active { background: #007bff; color: #fff; }
|
|
|
|
.divider { border-top: 1px dashed #ccc; padding-top: 15px; }
|
|
|
|
.modal-footer {
|
|
display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px;
|
|
}
|
|
|
|
.save-btn { background: #28a745; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
|
|
.cancel-btn { background: #6c757d; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
|