87 lines
1.4 KiB
CSS
87 lines
1.4 KiB
CSS
/* General App Styling */
|
|
:root {
|
|
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
color-scheme: light dark;
|
|
color: rgba(255, 255, 255, 0.87);
|
|
background-color: #242424;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
place-items: center;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* Layout Styling */
|
|
.App {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
text-align: left;
|
|
}
|
|
|
|
.App-header {
|
|
background-color: #282c34;
|
|
padding: 10px 20px;
|
|
color: white;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.App-header h1 {
|
|
font-size: 1.5em;
|
|
margin: 0;
|
|
}
|
|
|
|
.App-main {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
overflow: hidden; /* Prevent scrolling at the main level */
|
|
}
|
|
|
|
.control-panel {
|
|
width: 350px;
|
|
padding: 20px;
|
|
background-color: #333;
|
|
overflow-y: auto; /* Allow scrolling if filters are many */
|
|
flex-shrink: 0;
|
|
box-shadow: 2px 0 5px rgba(0,0,0,0.5);
|
|
z-index: 10;
|
|
}
|
|
|
|
.map-container {
|
|
flex-grow: 1;
|
|
background-color: #1e1e1e;
|
|
position: relative; /* Needed for loading/error overlays */
|
|
}
|
|
|
|
.map-container .error {
|
|
color: #ff6b6b;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.map-container p {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|