lightspeeddevelopment/lsx-customizer

View on GitHub
assets/css/scss/global/mixins/_top-menu.scss

Summary

Maintainability
Test Coverage

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

                    &.open > a,

Each selector in a comma sequence should be on its own single line
Open

                        &:before, &:after { color: $icon; }

Each selector in a comma sequence should be on its own single line
Open

                        &:before, &:after { color: $icon-hover; }

Line should be indented with spaces, not tabs
Open

    #top-menu {

Unnecessary parent selector (&)
Open

            & > .menu {

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

                        &:before, &:after { color: $icon; }

Unnecessary parent selector (&)
Open

                    & > a {

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

                .dropdown-menu {

Unnecessary parent selector (&)
Open

            & > .menu-item {

Unnecessary parent selector (&)
Open

                & > .menu-item {

Unnecessary parent selector (&)
Open

                    & > .menu-item {

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

                & > .menu-item {

Begin pseudo elements with double colons: ::
Open

                        &:before, &:after { color: $icon-hover; }

Begin pseudo elements with double colons: ::
Open

                        &:before, &:after { color: $icon; }

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

                    & > a {

Begin pseudo elements with double colons: ::
Open

                        &:before, &:after { color: $icon; }

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

                .dropdown-menu {

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

                    & > .menu-item {

Avoid using id selectors
Open

    #top-menu {

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

                & > .menu-item {

Begin pseudo elements with double colons: ::
Open

                        &:before, &:after { color: $icon-hover; }

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

                        &:before, &:after { color: $icon-hover; }

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

                &.open,

There are no issues that match your filters.

Category
Status