lightspeeddevelopment/lsx-customizer

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

Summary

Maintainability
Test Coverage

Prefer single quoted strings
Open

        @include media(">=phone", "<desktop-wide") {

Prefer single quoted strings
Open

        @include media(">=desktop-wide") {

Properties should be ordered align-items, flex-direction, justify-content
Open

                flex-direction: row;

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

                .custom-logo-link {

Properties should be ordered flex-basis, order, text-align
Open

                    order: 2;

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

                    &:first-child {

Prefer single quoted strings
Open

                @include media(">=phone") {

Prefer single quoted strings
Open

            @include media("<desktop-wide") {

Line should be indented with spaces, not tabs
Open

    min-height: 0;

Color literals like rgba(0, 0, 0, 0.15) should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);

Properties should be ordered margin-bottom, margin-top, max-height, max-width, transition, width
Open

                width: auto;

Prefer single quoted strings
Open

                @include media(">=desktop-wide") {

Line should be indented with spaces, not tabs
Open

    .mobile-header-hamburger & {

Line should be indented with spaces, not tabs
Open

    border-radius: 0;

Line should be indented with spaces, not tabs
Open

    margin-bottom: 0;

0.15 should be written without a leading zero as .15
Open

    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);

Prefer single quoted strings
Open

        @include media("<desktop-wide") {

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

            & > a {

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

            & > img {

Avoid using id selectors
Open

#masthead {

Prefer single quoted strings
Open

            @include media("<desktop-wide") {

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

            & > a {

Rule declaration should be preceded by an empty line
Open

                    &:first-child {

Unnecessary parent selector (&)
Open

    & > .container {

Line should be indented with spaces, not tabs
Open

    .navbar-header {

Unnecessary parent selector (&)
Open

            & > a {

Rule declaration should be followed by an empty line
Open

    }

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

                .custom-logo-link {

Line should be indented with spaces, not tabs
Open

    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);

Line should be indented with spaces, not tabs
Open

    & > .container {

Prefer single quoted strings
Open

        @include media("<desktop-wide") {

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

            & > img {

Rule declaration should be preceded by an empty line
Open

                .custom-logo-link {

Line should be indented with spaces, not tabs
Open

    border: 0 none;

Unnecessary parent selector (&)
Open

            & > img {

There are no issues that match your filters.

Category
Status