@import "../globalCssVariables"; @import "./NaviconButton.scss"; .searchBox-container { display: flex; flex-direction: column; width: 100%; height: 100%; position: relative; font-size: 10px; line-height: 1; overflow-y: auto; overflow-x: visible; background: lightgrey; overflow: visible; z-index: 1000; .searchBox-bar { height: $searchpanel-height; display: flex; justify-content: center; align-items: center; background-color: black; .searchBox-lozenges { position: absolute; left: 15; display: flex; .searchBox-lozenge-user, .searchBox-lozenge-dashboard, .searchBox-lozenge { height: 18px; padding: 4px; margin-right: 5px; display: flex; align-items: center; border: grey 1px solid; .searchBox-logoff, .searchBox-dashboards { border-radius: 3px; background: olivedrab; color: white; display: none; margin-left: 5px; padding: 1px 2px 1px 2px; cursor: pointer; } .searchBox-logoff { background: red; } .searchBox-dashSelect{ border: none; background-color: transparent; &:hover { cursor: pointer; } } } .searchBox-lozenge-user:hover { .searchBox-logoff { display:inline-block; } } .searchBox-lozenge-dashboard:hover { .searchBox-dashboards { display:inline-block; } } } .searchBox-query { position: relative; display: flex; width: 450; } .searchBox-barChild { &.searchBox-collection { flex: 0 1 auto; margin-left: 2px; margin-right: 2px } &.searchBox-input { margin:5px; border-radius:20px; border:black; display: block; width: 130px; -webkit-transition: width 0.4s; transition: width 0.4s; align-self: stretch; outline:none; &:focus { width: 500px; outline:none; } } &.searchBox-filter { align-self: stretch; button{ transform:none; &:hover { transform: none; } } } &.searchBox-submit { margin-left: 2px; margin-right: 2px } &.searchBox-close { color: $light-color; max-height: $searchpanel-height; } } } } .searchBox-results { display: flex; flex-direction: column; top: 300px; display: flex; flex-direction: column; height: 100%; overflow: visible; .no-result { width: 500px; background: $light-color-secondary; padding: 10px; height: 50px; text-transform: uppercase; text-align: left; font-weight: bold; } }