/**===================== 2.35 Typeahead-search CSS Start ==========================**/ .Typeahead { width: 100%; * { box-sizing: border-box; &:before { box-sizing: border-box; } &:after { box-sizing: border-box; } } .tt-hint { display: none !important; } } .u-cf { &:before { content: " "; display: table; } &:after { content: " "; display: table; clear: both; } } .u-hidden { display: none !important; } .u-posRelative { position: relative; } .Typeahead-spinner { position: absolute; top: 14px; right: 18px; display: none; color: #c5c5c5; } .ProfileCard-avatar { svg { height: 18px; vertical-align: bottom; path { color: #7e7c7c !important; } polygon { color: #7e7c7c !important; } } } .Typeahead-hint { width: 100%; padding: 5px 8px; font-size: 24px; line-height: 30px; border: 1px solid #024e6a; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; position: absolute; top: 0; left: 0; color: #ccd6dd; opacity: 1; } .Typeahead-menu { position: absolute; top: 100%; left: 0; padding: 15px; z-index: 100; display: none; width: 100%; overflow: hidden; background-color: $white; box-shadow: 0 5px 10px rgba(0, 0, 0, .2); } .Typeahead-menu.is-open { display: block; } .Typeahead-selectable { cursor: pointer; + { .Typeahead-selectable { border-top: 1px solid #ccd6dd; } } } .ProfileCard { position: relative; padding: 10px; border: 1px solid $gray-60 !important; margin-bottom: 10px; border-radius: 10px; &:hover { .ProfileCard-avatar { border-color: #f5f8fa; } color: #414345; background: #f8f8f8; .ProfileCard-screenName { color: $white; } .ProfileCard-stat-label { color: $white; } } } .ProfileCard-avatar { position: absolute; border-radius: 5px; } .ProfileCard-details { padding-left: 35px; float: left; } .ProfileCard-realName { display: inline-block; color: $dark-gray; } .ProfileCard-screenName { display: inline-block; color: $dark-gray; } .ProfileCard-description { margin-top: 5px; font-size: 14px; line-height: 18px; } .ProfileCard-stats { float: right; text-align: right; } .ProfileCard-stat { display: inline-block; font-size: 12px; line-height: 16px; text-transform: uppercase; + { .ProfileCard-stat { margin-left: 5px; } } } .ProfileCard-stat-label { color: $dark-gray; font-weight: 500; } .ProfileCard.is-active { color: $white; background: var(--theme-deafult); .ProfileCard-screenName { color: $white; } .ProfileCard-stat-label { color: $white; } } .EmptyMessage { position: relative; padding: 10px; font-size: 14px; line-height: 30px; text-align: center; } .Typeahead-spinner { width: 1rem; height: 1rem; } // typehead new search $color_1: #333; $color_2: #fff; $color_3: #aaa; $background-color_1: #fff; $background-color_2: #444; $background-color_3: #333; $background-color_4: #eee; .sey-container { display: none; position: absolute; box-shadow: 1px 2px 6px; background-color: $background-color_1; color: $color_1; transition: left 0.1s ease-in-out; z-index: 1; } .sey-list { padding: 0; margin: 0; list-style-type: none; } .sey-show { display: block; } .sey-hide { display: none; } .sey-empty { cursor: default; padding: 7px; } .sey-item { cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 7px; &:hover { background-color: $background-color_2; color: $color_2; } } .sey-selected { background-color: $background-color_3; color: $color_2; } .sey-char-highlight { font-weight: bold; } .sey-category-id { background-color: $background-color_4; color: $color_3; text-align: right; text-transform: capitalize; font-style: italic; font-size: 12px; box-shadow: 1px 0px 1px; padding: 7px; } /**===================== 2.35 Typeahead-search CSS Ends ==========================**/