web-share.scss 2.31 KB
.web-share {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9;

    .web-share-button {
        display: block;
        width: 100%;
        height: 100%;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
}

.web-share-tips-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 29;

    .web-share-tips-container {
        position: absolute;
        width: 100%;
        height: 400px;
        top: 50%;
        margin-top: -200px;

        .web-share-tips {
            position: relative;
            margin: 38px auto;
            width: 460.8px;
            background-color: #fff;
            border-radius: 10px;
            color: #444;
        }

        .web-share-tips .title {
            font-size: 29px;
            line-height: 40.96px;
            color: #d0021b;
            text-align: center;
            padding: 34.1px 51.2px 0 51.2px;
        }

        .web-share-tips .desc {
            min-height: 39.25px;
            font-size: 24px;
            line-height: 39px;
            padding: 14px 51.2px 34.1px 51.2px;
            text-align: center;
        }

        .web-share-tips .web-share-buttons-container {
            width: 100%;
            height: 75px;
            display: flex;
            flex-direction: row;
            flex: 1;
            border-top: 1px solid #e0e0e0;
        }

        .web-share-tips .web-share-buttons-container a {
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: 75px;
            font-size: 29px;
            text-decoration: none;
            color: #444;
        }

        .web-share-tips .web-share-buttons-container .button-download {
            border-left: 1px solid #e0e0e0;
            color: #d0021b;
        }
    }

    &.show {
        display: block;
    }
}

.web-share-img-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 30;
    background-image: url("img/activity/feature/share.png");
    background-size: contain;
    background-position: 0 50%;
    background-repeat: no-repeat;

    &.show {
        display: block;
    }
}