lightspeeddevelopment/lsx

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

Summary

Maintainability
Test Coverage

Line should be indented with spaces, not tabs
Open

    .navbar-header {

Prefer single quoted strings
Open

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

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

                width: auto;

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

    .mobile-header-hamburger & {

Unnecessary parent selector (&)
Open

            & > img {

Rule declaration should be followed by an empty line
Open

    }

Line should be indented with spaces, not tabs
Open

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

Unnecessary parent selector (&)
Open

            & > a {

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

            & > img {

Prefer single quoted strings
Open

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

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

            & > a {

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

                flex-direction: row;

Line should be indented with spaces, not tabs
Open

    border-radius: 0;

Unnecessary parent selector (&)
Open

    & > .container {

Prefer single quoted strings
Open

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

Rule declaration should be preceded by an empty line
Open

                    &:first-child {

Line should be indented with spaces, not tabs
Open

    margin-bottom: 0;

Prefer single quoted strings
Open

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

Prefer single quoted strings
Open

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

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

            & > img {

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

                .custom-logo-link {

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

                    &:first-child {

Avoid using id selectors
Open

#masthead {

Line should be indented with spaces, not tabs
Open

    border: 0 none;

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

            & > a {

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

                .custom-logo-link {

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

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

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

Line should be indented with spaces, not tabs
Open

    min-height: 0;

Line should be indented with spaces, not tabs
Open

    & > .container {

Prefer single quoted strings
Open

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

Rule declaration should be preceded by an empty line
Open

                .custom-logo-link {

There are no issues that match your filters.

Category
Status