_invite-share.css 1.75 KB
.invite-share {
    height: 110px;
    background: rgba(68, 68, 68, 0.95);
    width: 100%;
    box-sizing: content-box;
    color: #fff;
    line-height: 110px;
    position: relative;

    .close-invite {
        width: 38px;
        height: 34px;
        position: absolute;
        top: 50%;
        left: 8px;
        display: block;
        text-align: center;
        line-height: 34px;
        transform: translateY(-50%);
        font-size: 28px;
    }

    .head-ico {
        width: 75px;
        height: 75px;
        left: 52px;
        display: inline-block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 38px;
        background-image: resolve("home/index/user-avatar.png");
        background-size: 100%;
        overflow: hidden;
    }

    .invite-name {
        position: absolute;
        top: 50%;
        transform: translateY(-60%);
        font-size: 24px;
        left: 143px;
    }

    .invite-trend {
        position: absolute;
        top: 50%;
        transform: translateY(-30%);
        font-size: 22px;
        left: 143px;
    }

    .invite-go {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        line-height: 43px;
        border-radius: 5px;
        text-decoration: none;
        right: 15px;
        background: #d0021b;
        width: 100px;
        height: 43px;
        text-align: center;
        color: #fff;
    }
}

.share-packet {
    display: block;
    width: 181px;
    height: 246px;
    background-image: resolve("activity/expand-new/share-packet.gif");
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 100;
    right: 0;
    top: 50%;
    margin-top: -120px;
}