lightspeeddevelopment/lsx

View on GitHub
assets/css/scss/layout/_nav.scss

Summary

Maintainability
Test Coverage

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

                    & + .icon-bar {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                            background-color: #979797;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                        &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &.active > a,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                            &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        span:nth-child(2) {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Properties should be ordered font-size, font-weight, letter-spacing, line-height, text-align, text-transform
Open

                text-transform: uppercase;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Prefer single quoted strings
Open

@include media("<desktop-wide") {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &.dropdown > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    &.dropdown > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                & > .menu-item.open > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Rule declaration should be followed by an empty line
Open

    }
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

            & > .nav {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                        & > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .icon-bar {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                    & + .icon-bar {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .caret {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                            &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                            &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        & > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Prefer single quoted strings
Open

@include media(">=desktop-wide") {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                            &:hover,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item + .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        &:before {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &.lsx-wc-my-account-menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                & > .menu-item a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        background-color: #979797;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Avoid using id selectors
Open

        #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Properties should be ordered margin-right, padding-right
Open

                    padding-right: 0;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .header-central & {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    & > a,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        & > .caret {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                            &:before {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Rule declaration should be preceded by an empty line
Open

                & > .icon-bar {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    &:before {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                    & > .menu-item a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

0.3 should be written without a leading zero as .3
Open

                    opacity: 0.3;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &.active > a,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .menu-item-has-children {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Properties should be ordered border, border-radius, box-shadow, display, margin, opacity, padding, transform, transform-origin, transition
Open

                    box-shadow: none;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Rule declaration should be followed by an empty line
Open

                        }
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        span {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    &.dropdown > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Rule declaration should be followed by an empty line
Open

                        }
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                            &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item.open > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    & > .menu-item a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .header-expanded &,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    & > .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .icon-bar {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

            & > .nav {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Prefer single quoted strings
Open

@include media(">=phone", "<desktop-wide") {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .header-expanded &,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                        & > .caret {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        & > .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .header-central & {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        &.dropdown {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .mobile-menu-title {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                & > .icon-bar {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item + .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                        &:before {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Rule declaration should be followed by an empty line
Open

                }
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                        &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Line should be indented with spaces, not tabs
Open

    #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

!important should not be used
Open

            display: flex !important;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                    & > .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Avoid using id selectors
Open

    #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .caret {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                    &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Avoid using id selectors
Open

    #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

0.5 should be written without a leading zero as .5
Open

                letter-spacing: 0.5px;
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                & > .menu-item + .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                    & > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    & > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                    &:before {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Prefer single quoted strings
Open

                        content: "";
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .navbar-toggle {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Avoid using id selectors
Open

    #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                        & > .dropdown-menu {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Rule declaration should be followed by an empty line
Open

                }
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                        &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .navbar-toggle {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Line should be indented with spaces, not tabs
Open

    #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                & > .menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Unnecessary parent selector (&)
Open

                    & > a,
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Prefer single quoted strings
Open

                            content: "";
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &.lsx-wc-cart-menu-item {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                & > .menu-item.open > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Line should be indented with spaces, not tabs
Open

    #masthead {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                    &:after {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                &.dropdown > a {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Line should be indented with spaces, not tabs
Open

    .mobile-header-hamburger {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                .menu-item-has-children {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

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

                    &:hover {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

Begin pseudo elements with double colons: ::
Open

                            &:before {
Severity: Minor
Found in assets/css/scss/layout/_nav.scss by scss-lint

There are no issues that match your filters.

Category
Status