godaddy-wordpress/go

View on GitHub
.dev/assets/design-styles/modern/css/blocks/wc-button.scss

Summary

Maintainability
Test Coverage
body.woocommerce-page {

    #respond input#submit.alt,
    .button.alt {

        &:active,
        &:focus,
        &:hover {

            /* Must use :before, since woo reserves after for loader icon */
            &::before {
                background-color: var(--go--color--white);
                bottom: 0;
                content: "";
                display: block;
                height: 8px;
                left: var(--go-button--padding--x);
                position: absolute;
                right: var(--go-button--padding--x);
            }
        }
    }
}