lightspeeddevelopment/lsx

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

Summary

Maintainability
Test Coverage

Line should be indented with spaces, not tabs
Open

    &,

Line should be indented with spaces, not tabs
Open

    a.wp-block-button__link {

Unnecessary parent selector (&)
Open

                & > .menu-item {

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

            .woocommerce-cart-form {

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

        letter-spacing: 0.6px;

Line should be indented with spaces, not tabs
Open

    .button-3d-true {

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

                    &.cta {

Avoid using id selectors
Open

    #top-menu {

Unnecessary parent selector (&)
Open

    & > .fa {

Rule declaration should be followed by an empty line
Open

        }

Color #ffffff should be written as #fff
Open

                                #ffffff,

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

    #footer-cta {

Avoid qualifying class selectors with an element.
Open

        #respond input#submit,

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

                .shop_table {

Rule declaration should be preceded by an empty line
Open

                            &:hover {

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

    .quiz {

Avoid qualifying class selectors with an element.
Open

        div.wp-block-button__link {

Line should be indented with spaces, not tabs
Open

    justify-content: center;

Line should be indented with spaces, not tabs
Open

    vertical-align: middle;

Line should be indented with spaces, not tabs
Open

    &:active {

Line should be indented with spaces, not tabs
Open

    transition: all 300ms ease;

Avoid qualifying class selectors with an element.
Open

        a.wp-block-button__link {

Color #ffffff should be written as #fff
Open

                                #ffffff,

Avoid using id selectors
Open

    #footer-cta {

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

                .button {

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

        #respond input#submit,

Selector cart_totals should be written in lowercase with hyphens
Open

            .cart_totals {

Avoid qualifying class selectors with an element.
Open

        a.button,

Line should be indented with spaces, not tabs
Open

    display: flex;

Line should be indented with spaces, not tabs
Open

    #top-menu {

Unnecessary parent selector (&)
Open

                        & > a {

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

                                #9f2020,

Avoid using id selectors
Open

        #respond input#submit,

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

        div.wp-block-button__link {

@mixin declaration should be followed by an empty line
Open

}

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 {

Selector widget_shopping_cart should be written in lowercase with hyphens
Open

        .widget_shopping_cart {

Line should be indented with spaces, not tabs
Open

    &,

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

    align-items: center;

Rule declaration should be followed by an empty line
Open

    }

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

                .shop_table {

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

                    #e73f41,

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

                .button.checkout {

Line should be indented with spaces, not tabs
Open

    & > .fa {

Line should be indented with spaces, not tabs
Open

    width: 100%;

Line should be indented with spaces, not tabs
Open

    padding: 0;

Avoid using id selectors
Open

    #respond {

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

                        & > a {

Rule declaration should be followed by an empty line
Open

        }

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

                .wc-proceed-to-checkout {

Rule declaration should be preceded by an empty line
Open

                        &:hover {

Avoid using id selectors
Open

        a.button,

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 6
Open

                    .button {

Avoid qualifying class selectors with an element.
Open

        a.button,

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,

Line should be indented with spaces, not tabs
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-red {

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

                        & > a {

Avoid qualifying attribute selectors with an element.
Open

        input[type="submit"] {

Selector widget_shopping_cart should be written in lowercase with hyphens
Open

        .widget_shopping_cart {

Line should be indented with spaces, not tabs
Open

    .woocommerce-page #main {

Rule declaration should be followed by an empty line
Open

            }

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

                .wc-proceed-to-checkout {

Avoid using id selectors
Open

        a.button,

Line should be indented with spaces, not tabs
Open

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

Avoid using id selectors
Open

    #wc_am_lost_api_key_form {

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

                & > .menu-item {

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

    .white-border-btn {

Properties should be ordered height, min-height
Open

            min-height: 40px;

!important should not be used
Open

            height: 100% !important;

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 4
Open

                .button {

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

                .button.checkout {

Line should be indented with spaces, not tabs
Open

    .course-container,

Avoid qualifying class selectors with an element.
Open

        a.button,

Avoid qualifying attribute selectors with an element.
Open

        a.button,

Avoid using id selectors
Open

        #respond input#submit,

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

    .caldera-forms-modal {

Selector shop_table should be written in lowercase with hyphens
Open

                .shop_table {

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);

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

                & > .menu-item {

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

                                #d93a3a,

Avoid qualifying id selectors with an element.
Open

        #respond input#submit,

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

            .cart_totals {

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,

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

                    #4e8b4a,

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

                    #e5282b

Line should be indented with spaces, not tabs
Open

    .lsx-wc-cart-menu-item {

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

        a.wp-block-button__link {

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

    #wc_am_lost_api_key_form {

Avoid using id selectors
Open

    .woocommerce-page #main {

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

    .tertiary-btn {

Line should be indented with spaces, not tabs
Open

    text-align: center;

Line should be indented with spaces, not tabs
Open

    .btn {

Avoid qualifying attribute selectors with an element.
Open

        input[type="submit"] {

Line should be indented with spaces, not tabs
Open

    .cta-border-btn {

Line should be indented with spaces, not tabs
Open

    .tertiary-border-btn {

Line should be indented with spaces, not tabs
Open

    margin: 0;

Avoid qualifying class selectors with an element.
Open

    a.wp-block-button__link {

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

    .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(#fff, $bg, transparent, #fff);

Line should be indented with spaces, not tabs
Open

    .lsx-wc-cart-menu-item {

Avoid qualifying class selectors with an element.
Open

        #respond input#submit,

Unnecessary parent selector (&)
Open

        & > .comment-form {

Unnecessary parent selector (&)
Open

            & > .menu {

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

                                #ffffff,

Avoid qualifying class selectors with an element.
Open

        #respond input#submit,

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

                            &:hover {

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

                    #63a95f,

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

                    #457a42

Line should be indented with spaces, not tabs
Open

    .cta-btn {

Line should be indented with spaces, not tabs
Open

    .secondary-btn {

There are no issues that match your filters.

Category
Status