@import '../global/globalCssVariables.module.scss'; .searchBox-container { width: 100%; height: 100%; font-size: 10px; line-height: 1; background: none; z-index: 1000; padding: 0px; overflow: auto; cursor: default; .searchBox-bar { width: 100%; height: fit-content; display: flex; justify-content: center; align-items: center; background-color: none; padding: 5px; top: 0px; position: sticky; overflow-y: scroll; border-bottom: $standard-border; .searchBox-type { display: block; width: 55px; outline: none; padding: 1px 5px 1px 5px; color: black; height: 25px; border: 1px solid black; border-right: 0px; } .searchBox-input { display: block; width: calc(100% - 55px); outline: none; padding: 1px 5px 1px 5px; color: black; height: 25px; border: 1px solid black; } } .section-header { .section-title { font-size: $body-text; font-weight: 600; } .section-subtitle { display: flex; color: $light-gray; } padding: 5px 10px; display: flex; flex-direction: column; gap: 3px; background: $medium-blue; color: white; } .searchBox-recommendations-container { display: flex; flex-direction: column; width: 100%; height: fit-content; justify-content: 'center'; .searchBox-recommendations-view { margin-top: 10px; display: flex; width: 100%; height: fit-content; flex-direction: column; gap: 10px; padding: 0px 10px; } } .searchBox-results-container { display: flex; flex-direction: column; width: 100%; height: fit-content; justify-content: 'center'; .searchBox-results-view { display: inline-block; width: 100%; height: fit-content; .searchBox-results-scroll-view-result { display: inline-block; vertical-align: middle; width: 100%; height: fit-content; cursor: pointer; font-size: 15px; padding: 10px; &.searchBox-results-scroll-view-result-selected { background: #999; } .searchBox-result-title { display: relative; float: left; width: calc(100% - 45px); text-align: left; overflow: hidden; max-height: 2.4em; line-height: 1.2em; text-overflow: ellipsis; } .searchBox-result-type { font-size: 12px; margin-top: 6px; display: relative; float: right; width: 45px; text-align: right; color: #222; } .searchBox-result-keys { font-size: 10px; margin-top: 1px; display: relative; float: left; width: 100%; text-align: left; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } }