Blame view

public/scss/channel/_search.css 2.88 KB
lijing authored
1 2 3 4 5 6 7 8 9 10
.search-associate {
    width: 100%;
    background: #f8f8f8;
    display: none;
    position: absolute;
    z-index: 1;

    li {
        height: 84px;
        line-height: 84px;
ccbikai(👎🏻🍜) authored
11
        width: 100%;
lijing authored
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
        padding: 0 20px;
        clear: both;
        margin-bottom: 5px;
        background: #fff;
        box-sizing: border-box;
    }

    .keyword {
        float: left;
        font-size: 30px;
    }

    .count {
        float: right;
        color: #b0b0b0;
        font-size: 18px;

        i {
            font-size: 12PX;
            margin-left: 10px;
            position: relative;
            top: 3px;
        }
    }
}

.search-brand-page {
    .search-input {
        position: relative;
        padding: 14px 22px;
        background: #f8f8f8;
ccbikai(👎🏻🍜) authored
43
lijing authored
44 45 46
        form {
            width: 100%;
        }
ccbikai(👎🏻🍜) authored
47
lijing authored
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
        .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;
            color: #b8b8b8;
        }

        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: white;
            color: #b8b8b8;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
ccbikai(👎🏻🍜) authored
114
            border: 1px solid #b8b8b8;
lijing authored
115 116 117 118 119 120 121
            border-radius: 0.2rem;
        }

        .clear-history {
            font-size: 28px;
        }
ccbikai(👎🏻🍜) authored
122
        .clear-icon {
lijing authored
123 124 125 126 127 128
            float: right;
            color: #b8b8b8;
            border: none;
            background: white;
        }
ccbikai(👎🏻🍜) authored
129
        span {
lijing authored
130 131 132 133
            margin-right: 10px;
            font-size: 14px;
        }
ccbikai(👎🏻🍜) authored
134 135
        .history-search {
            border-bottom: 1px solid #f3f3f3;
lijing authored
136 137
        }
ccbikai(👎🏻🍜) authored
138
        .hot-search {
lijing authored
139 140 141
            margin-top: 20px;
        }
ccbikai(👎🏻🍜) authored
142
        .clearfix {
lijing authored
143 144 145 146 147 148 149
            margin-left: 30px;
        }

        .left-icon {
            font-size: 24px;
        }
    }
郭成尧 authored
150
}