@use 'sass:color'; @use '../../global/globalCssVariables.module.scss' as global; .mapBox { width: 100%; height: 100%; overflow: hidden; display: flex; position: absolute; .mapboxgl-marker { cursor: default; } .mapboxgl-map { overflow: unset !important; } .mapboxgl-ctrl { display: none !important; } .mapBox-infoWindow { background-color: white; opacity: 0.75; padding: 12px; font-size: 17; } .mapBox-searchbar { display: flex; flex-direction: row; gap: 5px; align-items: center; width: calc(100% - 40px); z-index: 1; position: relative; background: lightGray; } .mapbox-settings-panel { z-index: 900; padding: 10px 20px; display: flex; background-color: rgb(187, 187, 187); font-size: 1.3em; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; position: absolute; border-top-left-radius: 5px; border-bottom-left-radius: 5px; .mapbox-style-select { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; } .mapbox-terrain-selection { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 4px; } } .mapbox-geocoding-search-results { z-index: 900; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: absolute; background-color: rgb(187, 187, 187); font-size: 1.4em; padding: 10px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; .search-result-container { width: 100%; padding: 10px; &:hover { background-color: color.adjust(rgb(187, 187, 187), $lightness: 10%); } } } .animation-panel { z-index: 900; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; background-color: rgb(187, 187, 187); padding: 10px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; position: absolute; #route-to-animate-title { font-size: 1.25em; font-weight: bold; } .route-animation-options { display: flex; justify-content: flex-start; align-items: center; width: 100%; .animation-suboptions { display: flex; justify-content: flex-start; align-items: center; gap: 7px; width: 100%; label { margin-bottom: 0px; } .speed-label { margin-right: 5px; } #divider { margin-left: 10px; margin-right: 10px; } } } } .zoom-box { position: absolute; z-index: 900; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: white; font-size: 1.4em; border-radius: 5px; bottom: 5px; left: 5px; padding: 3px; } .mapBox-topbar { display: flex; flex-direction: row; } .mapBox-overlayButton-sidebar { background: #121721; height: 25px; width: 25px; right: 5px; display: flex; position: absolute; align-items: center; justify-content: center; border-radius: 3px; pointer-events: all; z-index: 1; // so it appears on top of the document's title, if shown box-shadow: global.$standard-box-shadow; transition: 0.2s; &:hover { filter: brightness(0.85); } } .mapBox-wrapper { width: 100%; transform-origin: top left; .mapBox-input { box-sizing: border-box; border: 1px solid transparent; width: 240px; height: 32px; padding: 0 12px; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); font-size: 14px; outline: none; text-overflow: ellipses; position: absolute; left: 50%; margin-left: -120px; } } .mapBox-sidebar { position: absolute; right: 0px; height: 100%; } .mapBox-sidebar-handle { top: 0px; //top: calc(50% - 17.5px); // use this to center vertically -- make sure it looks okay for slide views width: 10px; height: 100%; max-height: 35px; background: lightgray; border-radius: 20px; cursor: grabbing; } .mapBox-addMarker { left: 50%; margin-left: 120px; right: unset !important; margin-top: -10px; height: max-content; } .searchbox { display: none; } .mapBox-addMarker { display: none; } } .mapBox:hover { .mapBox-addMarker { display: block; } .searchbox { display: block; } }