_brand.scss 1.61 KB
.search-wrap {
    position: relative;
    z-index: 2;
    height: 44rem / $remNum;
    padding: 0 (8rem / $remNum);
    background: #f0f0f0;
    text-align: center;
    input {
        width: 304rem / $remNum;
        height: 28rem / $remNum;
        margin: (8rem / $remNum) 0 0 0;
        padding: 0;
        border: none;
        outline: none;
        font-size: 14rem / $remNum;
        border-radius: 2px;
    }
    input:focus, input.hasVal {
        width: 272rem / $remNum;
        padding-left: 32rem / $remNum;
    }
    .search-btn {
        position: absolute;
        color: #8e8e93;
        font-size: 14rem / $remNum;
        top: 12rem / $remNum;
        left: 50%;
        margin-left: -21rem / $remNum;
        span {
            margin-right: 2rem / $remNum;
            font-size: 14rem / $remNum;
            vertical-align: 2%;
        }
    }
    input:focus ~ .search-btn, input.hasVal ~ .search-btn {
        left: 18rem / $remNum;
        margin-left: 0;
        em {
            display: none;
        }
    }
}

.brand-slide {
    .slide-box {
        height: 176rem / $remNum;
        .box {
            img {
                height: 176rem / $remNum;
            }
        }
    }
}

.no-search {
    display: none;
    text-align: center;
    font-size: 12rem / $remNum;
    margin: (20rem / $remNum) 0 0 0;
    a {
        font-size: 12rem / $remNum;
        line-height: 16rem / $remNum;
        color: #000;
    }
}

.overlay {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.overlay.show {
    display: block;
}