shop_list.less 4.04 KB
@import '../css/style/m-empty.css';

.sp-hot {
    h2 {
        font-size: 13px;
        font-weight: normal;
    }
    .sp-goods-item {
        padding: 19px 19px 4px;
        a {
            padding: 0;
            border: none;
        }
        img {
            margin-bottom: 8px;
            width: 100%;
            max-width: 100%;
        }
        .price {
            margin-bottom: 5px;
        }
    }
}
.sp-section {
    .sp-section-item {
        border: none;
    }
    .sp-goods {
        padding: 0;
        margin-left: -20px;
    }
    .sp-goods-head {
        border: 1px solid #eee;
        border-bottom: none;
        margin-bottom: 20px;
        .head-item {
            border-bottom: 1px solid #eee;
            line-height: 38px;
            span {
                display: inline-block;
                vertical-align: middle;
            }
        }
    }
    .sp-goods-item {
        padding: 0 0 20px 20px;
        a {
            border: 1px solid #eee;
            // &:hover{
            // 	color: #23ab38;
            // 	border-color: #23ab38;
            // }
        }
        .info {
            padding: 10px 15px;
        }
    }
}
.bread-crumb,
.cate,
.head-tab {
    float: left;
    padding: 0 15px;
    li {
        float: left;
        font-size: 13px;
        line-height: 38px;
    }

    .on {
        a, .text {
            color: #23ab38;
            cursor: default;
        }
    }

    .text {
        display: inline-block;
        color: #333;
        padding: 0 10px;
        vertical-align: middle;
    }
    a:hover {
        color: #23ab38;
    }
    span {
        display: inline-block;
    }
}
.category {
    .title {
        padding-left: 25px;
    }
    .cate {
        float: none;
        margin-left: 103px;
        padding: 0;
    }
}
.head-tab {
    padding: 0;
    float: none;
    background-color: #F9F9F9;
    li {
        border-right: 1px solid #eee;
        padding: 0 10px;
    }
    a {
        display: block;
        padding: 0 15px;
        color: #999;
		cursor: pointer;
        &:hover {
            color: #23ab38;
        }
    }
    .u-arrow {
        display: inline-block;
        border: 6px solid #ccc;
        border-color: #ccc transparent transparent;
        font-size: 0;
        vertical-align: middle;
        margin-top: 3px;
    }
    .on {
        background-color: #FFF;
        a {
            color: #23ab38;
        }
    }
    .sep {
        position: relative;
        color: #999;
        width: 12px;
        text-align: center;
        z-index: 2;
    }
    input {
        position: relative;
        line-height: 18px;
        padding: 2px 5px;
        border: 1px solid #ddd;
        width: 70px;
        color: #333;
        text-align: center;
        z-index: 2;
        &:focus {
            border-color: #23ab38;
        }
    }
    .submit {
        visibility: hidden;
        position: relative;
        background: #23ab38;
        border: 1px solid #23ab38;
        border-radius: 2px;
        color: #FFF;
        font-size: 12px;
        text-align: center;
        width: 48px;
        line-height: 18px;
        vertical-align: middle;
        cursor: pointer;
        margin-right: -48px;
        -webkit-transition: all 0.15s ease-out;
        -o-transition: all 0.15s ease-out;
        transition: all 0.15s ease-out;
    }
    .highlight {
        position: relative;
        &:before {
            content: '';
            position: absolute;
            visibility: hidden;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding-right: 48px;
            background-color: #FFF;
            box-shadow: 0 2px 3px #ddd;
            z-index: 1;
            -webkit-transition: all 0.15s ease-out;
            -o-transition: all 0.15s ease-out;
            transition: all 0.15s ease-out;
        }
        &:hover {
            .submit {
                visibility: visible;
                z-index: 2;
            }
            &:before {
                visibility: visible;
            }
        }
    }
}
.empty img {
	vertical-align: middle;
}