godaddy-wordpress/go

View on GitHub
.dev/assets/shared/css/woocommerce/notice.scss

Summary

Maintainability
Test Coverage
/*! WooCommerce store notice */
.woocommerce-store-notice.demo_store {
    background-color: var(--go--color--primary);
    bottom: 0;
    color: var(--go--color--white);
    font-size: 80%;
    left: 0;
    margin: 0;
    padding: 0.75rem 1rem;
    position: fixed;
    right: 0;
    top: inherit;
    z-index: 9998;

    a {
        color: var(--go--color--white);
        text-decoration: underline;

        @include media(medium) {
            margin-left: 1rem;
        }

        &:hover {
            text-decoration: none;
        }
    }
}

body.woocommerce-cart {

    .woocommerce-message {
        display: flex;
        flex-direction: column-reverse;

        a.button,
        a.restore-item {
            align-self: flex-start;
        }
    }
}

body.admin-bar .woocommerce-store-notice.demo_store {
    top: initial;
}