_search.css 1.79 KB
.search-page {
    .search-input {
        position: relative;
        padding: 14px 22px;
        background: #f8f8f8;
        form {
            width: 100%;
        }
        .search-icon {
            position: absolute;
            font-size: 24px;
            top: 26px;
            left: 36px;
            color: #b2b2b2;
        }

        input {
            height: 56px;
            width: 378px;
            border-radius: 28px;
            padding: 0 52px;
            font-size: 24px;
            background: #fff;
            border: none;
        }

        .clear-input {
            position: absolute;
            top: 20px;
            right: 145px;
            font-size: 32px;
            color: #666;
        }

        .search {
            position: absolute;
            top: 18px;
            right: 40px;
            border: none;
            background: transparent;
            color: #666;
            font-size: 30px;
            line-height: 56px;
        }
    }

    .search-items {
        padding: 40px 20px;

        h3 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        li {
            float: left;
            margin-right: 20px;
            margin-bottom: 20px;
            max-width: 100%;
            overflow: hidden;
        }

        a {
            display: block;
            height: 68px;
            line-height: 68px;
            padding: 0 20px;
            font-size: 28px;
            background: #f8f8f8;
            color: #000;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .clear-history {
            height: 64px;
            line-height: 64px;
            border: 1px solid #e6e6e6;
            background: #fff;
            font-size: 28px;
        }
    }
}