_search.scss 1.42 KB
.searchPage {
    background-color: $YOHO-white-color;
    padding: 0 10px;
}

.searchBox {
    height: 52px;
    line-height: 52px;
    border-bottom: 2px solid $YOHO-black-color;
    background-color: $YOHO-white-color;
    position: relative;
    .icon-app-search {
        display: inline-block;
        font-size: 20px;
        color: $YOHO-search-color;
        vertical-align: middle;
    }
    input.searchInput {
        width: 190px;
        border: 0;
        font-size: 18px;
        padding: 0 30px 0 0;
        vertical-align: middle;
        &:focus {
            outline: none;
            border: 0;
        }
    }
    a.cancelSearch {
        width: 45px;
        height: 25px;
        border: 1px solid $YOHO-border-color;
        display: inline-block;
        line-height: 25px;
        text-align: center;
    }
}

.searchHistory {
    h2 {
        font-size: 14px;
        font-weight: normal;
        height: 44px;
        line-height: 44px;
    }
    a {
        display: block;
        height: 44px;
        line-height: 44px;
        font-size: 14px;
        padding-right: 8px;
    }
    em {
        font-size: 9px;
    }
}

// search none return
.noneReturn {
    padding: 68px 0 30px;
    color: $YOHO-border-color;
    text-align: center;
    p:first-of-type {
        font-size: 40px;
    }
}

.clearSearchText {
    position: absolute;
    right: 63px;
    top: 15px;
    font-size: 20px;
    color: $YOHO-border-color;
}