_modal.css 2.05 KB
@import "overlay";

.modal {
    position: absolute;
    margin: 0 auto;
    background: #fcfcfc;
    width: 512px;
    z-index: 1001;

    h2 {
        font-size: 32px;
        text-align: center;
        margin-top: 50px;
        margin-bottom: 0;
    }

    p {
        font-size: 21px;
        text-align: center;
        margin: 20px 40px 48px;
    }

    hr {
        border: none;
        border-top: 1px solid #e0e0e0;
        margin: 0;
    }

    .button-group {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: stretch;
        height: 88px;

        a.modal-button {
            flex: 1;
            align-self: center;
            text-align: center;
            color: $blue;
            font-size: 30px;
        }

        :not(:first-child) {
            border-left: 1px solid #e0e0e0;
        }
    }
}

.animation-target {
    animation: animation 1000ms linear both;
}

/* stylelint-disable */

/* Generated with Bounce.js. Edit at http://goo.gl/W7f9he */
@keyframes animation {
    0% {
        transform: matrix3d(0.5, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    4.3% {
        transform: matrix3d(0.757, 0, 0, 0, 0, 0.757, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    8.61% {
        transform: matrix3d(0.939, 0, 0, 0, 0, 0.939, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    12.91% {
        transform: matrix3d(1.026, 0, 0, 0, 0, 1.026, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    17.22% {
        transform: matrix3d(1.047, 0, 0, 0, 0, 1.047, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    28.33% {
        transform: matrix3d(1.01, 0, 0, 0, 0, 1.01, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    39.44% {
        transform: matrix3d(0.997, 0, 0, 0, 0, 0.997, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    61.66% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    83.98% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }

    100% {
        transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

/* stylelint-enable */