319 lines
5.2 KiB
CSS
319 lines
5.2 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
overflow: hidden;
|
|
background: #1a1a1a;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
#app {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
width: 320px;
|
|
background: #2a2a2a;
|
|
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
|
|
z-index: 1000;
|
|
transition: margin-left 0.3s ease;
|
|
position: relative;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sidebar.collapsed {
|
|
margin-left: -320px;
|
|
}
|
|
|
|
/* Sidebar toggle control */
|
|
.leaflet-control-sidebar {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.sidebar h2 {
|
|
color: #8b5cf6;
|
|
margin-bottom: 5px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #a0a0a0;
|
|
font-size: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.info-section {
|
|
border-bottom: 1px solid #3a3a3a;
|
|
padding-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.filters-section,
|
|
.map-info {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.filters-section h3,
|
|
.map-info h3 {
|
|
color: #8b5cf6;
|
|
margin-bottom: 10px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
border-radius: 4px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.filter-group label:hover {
|
|
background: #3a3a3a;
|
|
}
|
|
|
|
.filter-group input[type="checkbox"] {
|
|
margin-right: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.coming-soon {
|
|
color: #a0a0a0;
|
|
font-style: italic;
|
|
font-size: 13px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#map-stats {
|
|
font-size: 14px;
|
|
color: #c0c0c0;
|
|
}
|
|
|
|
#map-stats p {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
/* Map */
|
|
#map {
|
|
flex: 1;
|
|
height: 100vh;
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
/* Leaflet overrides for dark theme */
|
|
.leaflet-container {
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
.leaflet-control-zoom a {
|
|
background: #2a2a2a;
|
|
color: #e0e0e0;
|
|
border-color: #3a3a3a;
|
|
}
|
|
|
|
.leaflet-control-zoom a:hover {
|
|
background: #3a3a3a;
|
|
color: #fff;
|
|
}
|
|
|
|
.leaflet-bar {
|
|
border: 1px solid #3a3a3a;
|
|
}
|
|
|
|
/* Coordinates display */
|
|
.coordinates-display {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: rgba(42, 42, 42, 0.95);
|
|
color: #e0e0e0;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-family: 'Courier New', monospace;
|
|
z-index: 1000;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
|
|
pointer-events: none;
|
|
}
|
|
|
|
#coord-text {
|
|
color: #8b5cf6;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Filter controls */
|
|
.filter-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.filter-btn {
|
|
flex: 1;
|
|
padding: 6px 12px;
|
|
background: #3a3a3a;
|
|
color: #e0e0e0;
|
|
border: 1px solid #4a4a4a;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background: #4a4a4a;
|
|
}
|
|
|
|
.filter-btn:active {
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
/* Filter groups by skill */
|
|
.skill-group {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.skill-header {
|
|
color: #8b5cf6;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
margin-bottom: 4px;
|
|
padding: 4px 8px;
|
|
background: rgba(139, 92, 246, 0.1);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Filter items */
|
|
.filter-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
margin-left: 8px;
|
|
border-radius: 4px;
|
|
transition: background 0.2s;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.filter-label:hover {
|
|
background: #3a3a3a;
|
|
}
|
|
|
|
.filter-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
image-rendering: pixelated;
|
|
image-rendering: -moz-crisp-edges;
|
|
image-rendering: crisp-edges;
|
|
}
|
|
|
|
.loading-text {
|
|
color: #a0a0a0;
|
|
font-style: italic;
|
|
font-size: 13px;
|
|
padding: 8px;
|
|
}
|
|
|
|
/* Dark theme popups */
|
|
.leaflet-popup-content-wrapper {
|
|
background: #2a2a2a;
|
|
color: #e0e0e0;
|
|
border: 1px solid #3a3a3a;
|
|
}
|
|
|
|
.leaflet-popup-content {
|
|
margin: 8px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.leaflet-popup-tip {
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
/* Master toggle for marker categories */
|
|
.master-toggle {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.master-toggle input[type="checkbox"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: #8b5cf6;
|
|
}
|
|
|
|
/* Map labels (text overlays) */
|
|
.map-label {
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.label-text {
|
|
color: #e0e0e0;
|
|
text-shadow:
|
|
-1px -1px 2px #000,
|
|
1px -1px 2px #000,
|
|
-1px 1px 2px #000,
|
|
1px 1px 2px #000,
|
|
0 0 4px #000;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
font-weight: bold;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* House price styling in popup */
|
|
.house-price {
|
|
color: #ffd700;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Popup styling for various marker types */
|
|
.leaflet-popup-content strong {
|
|
color: #8b5cf6;
|
|
}
|
|
|
|
.leaflet-popup-content em {
|
|
color: #a0a0a0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
width: 280px;
|
|
}
|
|
|
|
.sidebar.collapsed {
|
|
margin-left: -280px;
|
|
}
|
|
}
|