/**
 * Admin Welcome Screen
 */

// Clear out the margins of the admin page.
body.toplevel_page_stackable {
    #wpcontent {
        padding-left: 0;
    }
    .wrap {
        margin: 0;
    }
}

@import 'common';

// Actual page styles.
body.toplevel_page_stackable {
    .s-header, .s-body-container {
        padding: 50px;
    }
    .s-header {
        background: linear-gradient(to right, #ab5af1, #fb6874);
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 100px;
        img {
            height: 50px;
        }
    }

    h1 {
        color: #fff;
        font-size: 2.5em;
        font-weight: bold;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.5em;
    }
    .s-box {
        @include box();
    }
    .s-button {
        border: none;
        border-radius: 4px;
        box-shadow: none !important;
        cursor: pointer;
        opacity: 1;
        background: #ab5af1;
        transition: opacity .2s ease-in-out;
        box-shadow: none !important;
        color: #fff;
        text-decoration: none;
        padding: .75em 1.25em;
        display: block;
        margin: 0 auto;
        max-width: 200px;
        text-align: center;
        &:hover {
            opacity: .85;
            box-shadow: none !important;
        }
    }
    .s-body-container {
        display: grid;
        grid-template-columns: 1fr 350px;
        grid-gap: 30px;
        padding-top: 0;
        margin-top: -50px;
        *:first-child {
            margin-top: 0 !important;
        }
        *:last-child {
            margin-bottom: 0 !important;
        }
        p, li {
            font-size: 18px;
        }
        li {
            margin-bottom: .6em;
        }
    }
    .s-side {
        h2, h3 {
            text-align: center;
        }
    }
    .s-gambit-logo {
        display: inline-block;
        vertical-align: middle;
        padding-top: 10px;
        margin: 0 10px;
    }
    .s-gif {
        display: block;
        margin: 0 auto;
    }
    .s-plus-button {
        height: 1em;
        vertical-align: top;
        width: 1em;
    }
}

// Collapse to a single column for mobile.
@media screen and (max-width: 960px) {
    body.toplevel_page_stackable {
        .s-body-container {
            grid-template-columns: 1fr;
        }
    }
}