[d565449] | 1 | .main {
|
---|
| 2 | position: relative;
|
---|
| 3 | width: 100vw;
|
---|
| 4 | height: 100vh; /* Full screen height */
|
---|
| 5 | overflow: hidden; /* Prevent scrolling */
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | .toolbar {
|
---|
| 9 | width: 100%;
|
---|
| 10 | display: flex;
|
---|
| 11 | align-items: center;
|
---|
| 12 | padding: 10px;
|
---|
| 13 | position: absolute;
|
---|
| 14 | top: 0; /* Position toolbar at the top */
|
---|
| 15 | z-index: 10; /* Ensure the toolbar is above the map */
|
---|
| 16 | background-color: rgba(255, 255, 255, 0.8); /* Optional: translucent background */
|
---|
| 17 | backdrop-filter: blur(5px); /* Optional: blur effect */
|
---|
| 18 | flex-wrap: wrap; /* Allow items to wrap on smaller screens */
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | .left {
|
---|
| 22 | width: 100%;
|
---|
| 23 | max-width: 100%;
|
---|
| 24 | padding-left: 10vw;
|
---|
| 25 | display: flex;
|
---|
| 26 | flex-direction: row;
|
---|
| 27 | align-items: flex-end; /* Align items at the bottom */
|
---|
| 28 | flex-wrap: nowrap;
|
---|
| 29 | gap: 20px;
|
---|
| 30 | padding-right: 100px;
|
---|
| 31 | height: 100%; /* Ensure the .left container takes full height of the parent */
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | .right {
|
---|
| 35 | position: absolute;
|
---|
| 36 | top: 1.2em; /* Positioned at the top-right in desktop */
|
---|
| 37 | right: 50px;
|
---|
| 38 | z-index: 10; /* Ensure the profile is floating over the map */
|
---|
| 39 | }
|
---|
| 40 |
|
---|
| 41 | .mapContainer {
|
---|
| 42 | position: relative;
|
---|
| 43 | top: 80px;
|
---|
| 44 | left: 0;
|
---|
| 45 | width: 100vw; /* Make the map fill the entire width of the screen */
|
---|
| 46 | height: 100vh; /* Make the map fill the entire height of the screen */
|
---|
| 47 | z-index: 1; /* Ensure the map is behind the toolbar */
|
---|
| 48 | background-color:beige /* Set your map's background color */
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | .mapControlsContainer {
|
---|
| 52 | position: absolute;
|
---|
| 53 | bottom: 20px;
|
---|
| 54 | right: 20px;
|
---|
| 55 | z-index: 10; /* Ensure the map controls are above the map */
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | @media (max-width: 768px) {
|
---|
| 59 | .toolbar {
|
---|
| 60 | flex-direction: column; /* Stack elements vertically */
|
---|
| 61 | align-items: center;
|
---|
| 62 | max-width: 100%;
|
---|
| 63 | padding: 20px 20px;
|
---|
| 64 | position: relative;
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | .left {
|
---|
| 68 | width: 100%;
|
---|
| 69 | max-width: 100%; /* Take full width */
|
---|
| 70 | flex-direction: column;
|
---|
| 71 | justify-content: flex-start;
|
---|
| 72 | align-items: center;
|
---|
| 73 | padding-left: 0;
|
---|
| 74 | padding-right: 0;
|
---|
| 75 | }
|
---|
| 76 |
|
---|
| 77 | /* Profile floating above Search and Filter */
|
---|
| 78 | .right {
|
---|
| 79 | position: absolute; /* Keep it floating */
|
---|
| 80 | top: 0.8em; /* Make sure it's above the search */
|
---|
| 81 | right: 20px;
|
---|
| 82 | z-index: 11; /* Ensure it's on top */
|
---|
| 83 | }
|
---|
| 84 |
|
---|
| 85 | .left {
|
---|
| 86 | margin-top: 40px; /* Push the Search and Filter below the Profile */
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 | .mapControlsContainer {
|
---|
| 90 | bottom: 10px;
|
---|
| 91 | right: 10px;
|
---|
| 92 | }
|
---|
| 93 | }
|
---|