@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: 10000; .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 { background-color: #313131; border-radius: 5px; height: 18px; padding: 4px; box-shadow: lightgrey 0.15em 0.15em 0.1em; margin: 2px; margin-bottom: 4px; border-top: dimgrey 1px solid; border-left: dimgrey 1px solid; display: flex; .searchBox-logoff, .searchBox-dashboards { border-radius: 3px; background: olivedrab; color: white; position: relative; display: none; margin-left: 3px; padding-left: 2px; padding-right: 2px; padding-bottom: 11px; cursor: default; } .searchBox-logoff { background: red; } .searchBox-dashSelect{ background-color: black; color: white; font-size: 9; margin-right: 6; border-radius: 5px; position: relative; height: 15px; transform: translate(0,-3px); &: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; } }