diff --git a/index.html b/index.html index ccfd455..5d8f022 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@ background-color: #000; position: sticky; top: 0; - z-index: 100; + z-index: 10000; border-bottom: 2px solid #FFED00; } @@ -100,6 +100,7 @@ border-radius: 6px; transition: background-color 0.2s; line-height: 1; + z-index: 10001; } .menu-btn:active { @@ -116,7 +117,7 @@ height: 100%; background-color: #000; border-left: 2px solid #FFED00; - z-index: 1000; + z-index: 10003; transition: right 0.3s ease; } @@ -131,7 +132,7 @@ width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); - z-index: 999; + z-index: 10002; display: none; } @@ -1679,7 +1680,138 @@ font-size: 16px; } } + + /* Live-Map Styles */ + .livemap-container { + width: 100%; + height: calc(100vh - 140px); + position: relative; + overflow: hidden; + } + + #liveMap { + width: 100%; + height: 100%; + } + + .livemap-controls { + position: absolute; + top: 10px; + left: 10px; + right: 10px; + z-index: 1000; + display: flex; + flex-direction: column; + gap: 10px; + } + + .livemap-info { + background-color: rgba(0, 0, 0, 0.85); + padding: 12px 16px; + border-radius: 8px; + border: 2px solid #FFED00; + font-size: 16px; + font-weight: bold; + text-align: center; + color: #FFED00; + } + + .livemap-filters { + display: flex; + gap: 8px; + flex-wrap: wrap; + justify-content: center; + } + + .filter-btn { + background-color: rgba(0, 0, 0, 0.85); + border: 2px solid #666; + color: #FFED00; + padding: 8px 14px; + border-radius: 6px; + font-family: 'DotMatrix', 'Courier New', monospace; + font-size: 14px; + cursor: pointer; + transition: all 0.2s; + font-weight: bold; + } + + .filter-btn.active { + background-color: #FFED00; + color: #000; + border-color: #FFED00; + } + + .filter-btn:active { + transform: scale(0.95); + } + + /* Leaflet Marker Styling */ + .vehicle-marker { + font-size: 24px; + text-align: center; + animation: pulse-marker 2s ease-in-out infinite; + } + + @keyframes pulse-marker { + 0%, 100% { transform: scale(1); } + 50% { transform: scale(1.1); } + } + + .vehicle-popup { + font-family: 'DotMatrix', 'Courier New', monospace; + } + + .vehicle-popup .popup-line { + font-size: 18px; + font-weight: bold; + color: #FFED00; + margin-bottom: 8px; + } + + .vehicle-popup .popup-direction { + font-size: 14px; + margin-bottom: 6px; + } + + .vehicle-popup .popup-delay { + font-size: 12px; + color: #ff5555; + font-weight: bold; + } + + @media (max-width: 767px) { + .livemap-controls { + top: 5px; + left: 5px; + right: 5px; + } + + .livemap-info { + padding: 10px 12px; + font-size: 14px; + } + + .filter-btn { + padding: 6px 10px; + font-size: 12px; + } + + .vehicle-marker { + font-size: 20px; + } + } + + + + + +