Files
sd-park-pass-map/app/globals.css

76 lines
1.1 KiB
CSS

* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
color: inherit;
text-decoration: none;
}
.leaflet-container {
height: 100vh;
width: 100%;
}
.info-panel {
position: absolute;
top: 10px;
left: 10px;
background: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
z-index: 1000;
max-width: 350px;
max-height: 90vh;
overflow-y: auto;
transition: all 0.3s ease;
}
.info-panel.collapsed {
max-width: 200px;
max-height: 60px;
overflow: hidden;
}
.legend {
margin-top: 10px;
}
.legend-item {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.legend-color {
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 8px;
}
.available {
background-color: #4CAF50;
}
.unavailable {
background-color: #f44336;
}