@charset 'UTF-8'; .channel-header { .search-bar__container { padding: 0 9px 0 3px; } } .search-bar__container { @include flex(0 0 56px); padding: 12px 8px 0 0; } .icon--rotate { @include animation(spin .7s infinite linear); } .search-item-snippet { @include clearfix; text-overflow: ellipsis; ul, ol { padding-left: 20px; } } .sidebar__collapse { @include single-transition(all, .2s, linear); @include translateX(0); cursor: pointer; display: none; fill: $white; font-size: 35px; left: 0; line-height: 40px; padding-left: 1px; position: absolute; text-align: center; width: 49px; z-index: 5; } .sidebar__search-icon { @include opacity(.5); color: $dark-gray; display: none; font-size: 14px; margin-left: 10px; position: absolute; top: 15px; } .sidebar__clear-icon { @include opacity(.5); color: $dark-gray; width: 40px; margin-right: 20px; position: absolute; top: 12px; right: 0; cursor: pointer; visibility: hidden; } .search__form { position: relative; .search-bar__container & { @include border-radius(2px); border: 1px solid $light-gray; margin: 0; width: 300px; } .sidebar--right & { width: 300px; float: left; margin-left: 17px; margin-right: 9px; } .search-bar { box-shadow: none; height: 40px; padding-right: 30px; .search-bar__container & { border: none; height: 30px; } } .icon--refresh { @include opacity(0.5); position: absolute; right: 27px; top: 27px; .search-bar__container & { right: 7px; top: 8px; } } } .search-items-container { @include flex(1 1 auto); -webkit-overflow-scrolling: touch; height: calc(100% - 56px); overflow: auto; padding-top: 10px; position: relative; } .search-results-header { border-bottom: $border-gray; color: #999999; font-size: 1em; font-weight: 400; height: 44px; line-height: 44px; padding: 0 10px; text-transform: uppercase; } .search-item__container { .post { margin: 0; padding: 0 1em 1em; &:first-child { border: none; } .search-channel__name { font-weight: 600; margin: 0 0 10px; } } } .col__controls { font-size: 13px; position: absolute; right: 0; top: 0; a { @include opacity(.8); vertical-align: top; &:hover { @include opacity(1); } } .search-item__jump { font-size: 13px; position: relative; top: 1px; } .search-item__comment { margin-right: 5px; } } .search-item-time { @include opacity(.7); font-size: .9em; } .search-results-none { padding: 10px; } .search-highlight { background-color: $yellow; }