_vip-grade.css 3.9 KB
.vip-grade-page {
    background: #f0f0f0;
    padding-bottom: 30px;

    .block {
        padding: 0 30px;
        margin-bottom: 30px;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        background: #fff;
    }

    .basic-info {
        padding-top: 30px;
        padding-bottom: 25px;

        p {
            width: 100%;
            height: auto;
            overflow: hidden;
            display: block;
        }

        span {
            overflow: hidden;
        }

        .user-name {
            float: left;
            max-width: 240px;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 25px;
            margin-right: 0.5rem;
        }

        .vip-icon {
            float: left;
            width: 72px;
            height: 32px;
            line-height: 36px;
        }

        .vip-3 {
            background: url("/home/vip/vip-3.png");
        }

        .vip-2 {
            background: url("/home/vip/vip-2.png");
        }

        .vip-1 {
            background: url("/home/vip/vip-1.png");
        }

        .grade-desc {
            margin-top: 20px;
            font-size: 22px;
            color: #b0b0b0;
        }

        .sum-cost {
            font-size: 22px;

            > span {
                font-style: italic;
                font-size: 28px;
                color: #d1021c;
            }
        }

        .progresser {
            position: relative;
            width: 100%;
            padding: 20px 0;
        }

        .outer {
            height: 20px;
            background: #e6e6e6;
            border-radius: 10px;
        }

        .inner {
            position: absolute;
            top: 20px;
            height: 20px;
            background: #d1021c;
            border-radius: 10px;
        }

        .beacon {
            position: absolute;
            margin-top: 5px;
            font-style: italic;
        }

        .beacon-max {
            right: 0;
        }

        .cost-limit {
            position: absolute;
            top: -5px;
            right: 0;
            color: #b0b0b0;
        }

        .cost-gap {
            color: #000;
            margin: 0 8px;
        }

        .sub-desc {
            display: block;
        }
    }

    .cost {
        padding: 0 0 0 30px;
    }

    .cost li {
        height: 90px;
        line-height: 90px;
        font-size: 30px;
        padding-right: 0;

        &:first-child {
            border-bottom: 1px solid #e0e0e0;
        }

        > span {
            float: right;
            padding: 0 30px 0 0;
        }
    }

    .privilege {
        padding-right: 0;
        padding-bottom: 40px;

        .title {
            height: 90px;
            line-height: 90px;
            font-size: 30px;
            border-bottom: 1px solid #e0e0e0;
        }
    }

    .all-privilege {
        display: block;
        height: 90px;
        line-height: 90px;
        font-size: 30px;
        margin-bottom: 0;

        .iconfont {
            float: right;
            color: #e0e0e0;
        }
    }
}

.vip-privilege-page {
    padding: 0 20px;
}

.privilege-list {
    background: #fff;

    .icon {
        float: left;
        display: block;
        width: 70px;
        height: 70px;
    }

    a {
        width: 690px;
        clear: both;
        float: left;
        padding: 25px 0;
        border-bottom: solid 1px #e5e5e5;
        position: relative;

        &:last-child {
            border-bottom: 0;
        }

        .iconfont {
            float: right;
            line-height: 70px;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            right: -10px;
        }
    }

    p {
        font-size: 28px;
        margin-left: 30px;
        min-height: 70px;
        width: 560px;
        float: left;
    }

    span {
        display: block;
        color: #b0b0b0;
        font-size: 22px;
    }
}