_hot-rank.css 3.4 KB
.rank-main {
    padding: 14px 0 0 30px;
    background: #fff;

    li {
        height: 230px;
        overflow: hidden;

        .item-img {
            float: left;
            width: 150px;
            height: 200px;
            padding: 14px 0;
            line-height: 200px;
            text-align: center;

            img {
                max-width: 100%;
                max-height: 100%;
                vertical-align: middle;
            }
        }

        .item-content {
            float: left;
            width: 407px;
            height: 213px;
            margin: 0 0 0 13px;
            padding: 14px 0 0 30px;
            border-top: 1px solid #e0e0e0;
            overflow: hidden;

            .rank-icon {
                display: block;
                height: 45px;
                width: 50px;
                line-height: 50px;
                text-align: center;
                font-size: 22px;
                color: #fff;
                background: resolve("../img/me/employ/rank.png") no-repeat;
                background-position: center top;
                background-size: auto 100%;

                &.top {
                    background: resolve("../img/me/employ/rank-t.png") no-repeat;
                    background-position: center top;
                    background-size: 100%;
                    line-height: 54px;
                }
            }

            h2 {
                margin: 15px 0 0 !important;
                padding: 0 !important;
                width: 9.5rem;
                max-height: 72px;
                overflow: hidden;
                line-height: 36px;
                color: #444;
                font-size: 28px;

                &.hasActive {
                    margin: 5px 0 0 !important;
                }
            }

            p {
                margin: 0 !important;
                padding: 0 !important;
                width: 9.5rem;
                line-height: 36px;
                font-size: 24px;
                color: #d0021b;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;

                b {
                    text-decoration: line-through;
                    color: #b0b0b0;
                    margin-left: 10px;
                }
            }
        }
    }

    li:first-child {
        .item-content {
            border: none;
        }
    }
}
.goods-nav {
    border-bottom: 2px solid #e6e6e6;
    height: 67px;
    overflow: hidden;

    li {
        float: left;
        width: auto;
        height: 67px;
        line-height: 67px;
        width: 145px;
        text-align: center;
        font-size: 28px;

        a {
            display: inline-block;
            padding: 0 5px;
            font-size: 28px;
            color: #999;
            height: 65px;
        }
    }

    li:first-child {
        margin-left: 30px;
    }

    li.focus {
        a {
            border-bottom: 4px solid #000;
            color: #000;
        }
    }
}

.s-goods-nav {
    box-sizing:border-box;
    overflow: hidden;

    li {
        margin: 0 10px;
        padding:0 15px;
        width: auto;
        height: 100%;
        color: #999;
        &.active{
            color: #000;
        }
        &.bgActive{
            color: #000;
            background-color:#e0e0e0;
        }
        a {
            padding: 0;
        }
    }

    li:first-child {
        margin: 0 0 0 39px;
    }
}