lightspeeddevelopment/lsx-customizer

View on GitHub
assets/css/scss/global/mixins/_button.scss

Summary

Maintainability
Test Coverage

0.6 should be written without a leading zero as .6
Open

        letter-spacing: 0.6px;

Properties should be ordered align-items, display, justify-content, margin, padding, text-align, vertical-align, width
Open

    display: flex;

Line should be indented with spaces, not tabs
Open

    &,

Rule declaration should be followed by an empty line
Open

        }

Selector block-editor-block-list__block should be written in lowercase with hyphens
Open

            &.wp-block.block-editor-block-list__block {

Line should be indented with spaces, not tabs
Open

    &,

Line should be indented with spaces, not tabs
Open

    padding: 0;

Line should be indented with spaces, not tabs
Open

    @include lsx-button-colour($color, $color-hover, $bg, $bg-hover);

Line should be indented with spaces, not tabs
Open

    &:active {

Selector wp-block-button__link should be written in lowercase with hyphens
Open

        a.wp-block-button__link {

@mixin declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    margin: 0;

Avoid qualifying class selectors with an element.
Open

    a.wp-block-button__link {

Line should be indented with spaces, not tabs
Open

    .border-btn {

Line should be indented with spaces, not tabs
Open

    justify-content: center;

Line should be indented with spaces, not tabs
Open

    .btn {

Line should be indented with spaces, not tabs
Open

    a.wp-block-button__link {

Line should be indented with spaces, not tabs
Open

    & > .fa {

Line should be indented with spaces, not tabs
Open

    text-align: center;

Selector wp-block-button__link should be written in lowercase with hyphens
Open

    a.wp-block-button__link {

Line should be indented with spaces, not tabs
Open

    .white-border-btn {

Color literals like #9f2020 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                                #9f2020

Avoid qualifying attribute selectors with an element.
Open

        input[type="submit"] {

Color literals like #ed6c6e should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                    #ed6c6e,

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        @include lsx-bordered-button($bg, #fff, transparent, $bg);

Selector should have depth of applicability no greater than 3, but was 4
Open

                    &.cta-red {

Avoid using id selectors
Open

        #respond input#submit,

Avoid qualifying attribute selectors with an element.
Open

        a.button,

Avoid qualifying class selectors with an element.
Open

        a.button,

Avoid qualifying class selectors with an element.
Open

        a.button,

Line should be indented with spaces, not tabs
Open

    .lsx-wc-cart-menu-item {

Selector should have depth of applicability no greater than 3, but was 5
Open

                        & > a {

Avoid using id selectors
Open

        a.button,

Selector widget_shopping_cart should be written in lowercase with hyphens
Open

        .widget_shopping_cart {

Unnecessary parent selector (&)
Open

    & > .fa {

Line should be indented with spaces, not tabs
Open

    width: 100%;

Line should be indented with spaces, not tabs
Open

    align-items: center;

Line should be indented with spaces, not tabs
Open

    #respond {

Unnecessary parent selector (&)
Open

            & > .menu {

Selector wc_am_lost_api_key_form should be written in lowercase with hyphens
Open

    #wc_am_lost_api_key_form {

Selector should have depth of applicability no greater than 3, but was 4
Open

        #respond input#submit,

Selector should have depth of applicability no greater than 3, but was 6
Open

                    .checkout-button {

Line should be indented with spaces, not tabs
Open

    .tertiary-btn {

Line should be indented with spaces, not tabs
Open

    transition: all 300ms ease;

Rule declaration should be followed by an empty line
Open

    }

Nesting should be no greater than 3, but was 4
Open

                & > .menu-item {

Avoid qualifying attribute selectors with an element.
Open

        input[type="submit"] {

Line should be indented with spaces, not tabs
Open

    .lsx-wc-cart-menu-item {

Rule declaration should be followed by an empty line
Open

        }

Selector should have depth of applicability no greater than 3, but was 6
Open

                            &:hover {

Avoid qualifying class selectors with an element.
Open

        a.button,

Selector should have depth of applicability no greater than 3, but was 4
Open

                .button.checkout {

Avoid using id selectors
Open

    #top-menu {

Selector should have depth of applicability no greater than 3, but was 4
Open

                & > .menu-item {

Color literals like #ffffff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                                #ffffff,

Avoid using id selectors
Open

    #footer-cta {

Selector should have depth of applicability no greater than 3, but was 4
Open

                .button {

Selector should have depth of applicability no greater than 3, but was 4
Open

            .woocommerce-cart-form {

Selector should have depth of applicability no greater than 3, but was 6
Open

                    .button {

Rule declaration should be preceded by an empty line
Open

                        &:hover {

Line should be indented with spaces, not tabs
Open

    display: flex;

Line should be indented with spaces, not tabs
Open

    vertical-align: middle;

Avoid qualifying class selectors with an element.
Open

        a.wp-block-button__link {

Avoid using id selectors
Open

    #respond {

Avoid qualifying attribute selectors with an element.
Open

            input[type="submit"] {

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        @include lsx-bordered-button($bg, #fff, transparent, $bg);

Selector should have depth of applicability no greater than 3, but was 4
Open

                    &.cta {

Color literals like #d93a3a should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                                #d93a3a,

Avoid using id selectors
Open

    .woocommerce-page #main {

Selector shop_table should be written in lowercase with hyphens
Open

                .shop_table {

Selector should have depth of applicability no greater than 3, but was 5
Open

                .wc-proceed-to-checkout {

Line should be indented with spaces, not tabs
Open

    .quiz {

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        @include lsx-bordered-button($bg, #fff, transparent, $bg);

Line should be indented with spaces, not tabs
Open

    .button-3d-true {

Unnecessary parent selector (&)
Open

        & > .comment-form {

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        @include lsx-bordered-button(#fff, $bg, transparent, #fff);

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        @include lsx-bordered-button(#fff, $bg, transparent, #fff);

Unnecessary parent selector (&)
Open

                        & > a {

Avoid qualifying class selectors with an element.
Open

        #respond input#submit,

!important should not be used
Open

            height: 100% !important;

Color literals like #4e8b4a should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                    #4e8b4a,

Properties should be ordered height, min-height
Open

            min-height: 40px;

Avoid qualifying class selectors with an element.
Open

        a.button,

Selector wp-block-button__link should be written in lowercase with hyphens
Open

        div.wp-block-button__link {

Line should be indented with spaces, not tabs
Open

    .cta-border-btn {

Line should be indented with spaces, not tabs
Open

    .caldera-forms-modal {

Line should be indented with spaces, not tabs
Open

    .tertiary-border-btn {

Color literals like #ffffff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                                #ffffff,

Line should be indented with spaces, not tabs
Open

    .woocommerce-page #main {

Nesting should be no greater than 3, but was 4
Open

                .wc-proceed-to-checkout {

Unnecessary parent selector (&)
Open

                        & > a {

Color #ffffff should be written as #fff
Open

                                #ffffff,

Avoid using id selectors
Open

    #wc_am_lost_api_key_form {

Avoid qualifying id selectors with an element.
Open

        #respond input#submit,

Avoid using id selectors
Open

        a.button,

Avoid qualifying attribute selectors with an element.
Open

        input[type="submit"] {

Color literals like #e73f41 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                    #e73f41,

Line should be indented with spaces, not tabs
Open

    .wp-block-button:not(.is-style-outline) {

Line should be indented with spaces, not tabs
Open

    .secondary-btn {

Line should be indented with spaces, not tabs
Open

    .secondary-border-btn {

Color literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

        @include lsx-bordered-button($bg, #fff, transparent, $bg);

Line should be indented with spaces, not tabs
Open

    #wc_am_lost_api_key_form {

Selector widget_shopping_cart should be written in lowercase with hyphens
Open

        .widget_shopping_cart {

Selector should have depth of applicability no greater than 3, but was 6
Open

                        &[name="update_cart"] {

Selector should have depth of applicability no greater than 3, but was 6
Open

                        &:hover {

Unnecessary parent selector (&)
Open

                & > .menu-item {

Color #ffffff should be written as #fff
Open

                                #ffffff,

Color literals like #9f2020 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                                #9f2020,

Line should be indented with spaces, not tabs
Open

    #footer-cta {

Avoid qualifying class selectors with an element.
Open

        #respond input#submit,

Avoid qualifying class selectors with an element.
Open

        #respond input#submit,

Line should be indented with spaces, not tabs
Open

    .course-container,

Avoid qualifying class selectors with an element.
Open

        div.wp-block-button__link {

Line should be indented with spaces, not tabs
Open

    #top-menu {

Selector should have depth of applicability no greater than 3, but was 5
Open

                        & > a {

Avoid using id selectors
Open

        #respond input#submit,

Selector should have depth of applicability no greater than 3, but was 5
Open

                .shop_table {

Color literals like #457a42 should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                    #457a42

Color literals like #e5282b should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                    #e5282b

Nesting should be no greater than 3, but was 4
Open

                .button.checkout {

Nesting should be no greater than 3, but was 4
Open

                .button {

Rule declaration should be preceded by an empty line
Open

                            &:hover {

Rule declaration should be followed by an empty line
Open

            }

Selector should have depth of applicability no greater than 3, but was 4
Open

            .cart_totals {

Color literals like #63a95f should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

                    #63a95f,

Line should be indented with spaces, not tabs
Open

    .cta-btn {

Nesting should be no greater than 3, but was 4
Open

                .shop_table {

Selector cart_totals should be written in lowercase with hyphens
Open

            .cart_totals {

There are no issues that match your filters.

Category
Status