lightspeeddevelopment/lsx-customizer

View on GitHub
assets/css/scss/layout/_search-form.scss

Summary

Maintainability
Test Coverage

Avoid using id selectors
Open

#masthead {

Expected 0 spaces after ( instead of
Open

            height: calc( 100% - 43px );

Properties should be ordered background, border, box-shadow, height, line-height, padding, z-index
Open

            box-shadow: none;

Properties should be ordered border, cursor, z-index
Open

                    cursor: pointer;

@include declaration should be followed by an empty line
Open

        }

Properties should be ordered min-width, opacity, width, z-index
Open

                    opacity: 1;

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

            #searchform {

@include declaration should be preceded by an empty line
Open

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

Expected 0 spaces before ) instead of
Open

            height: calc( 100% - 43px );

Avoid using id selectors
Open

            #searchform {

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

                .search-submit {

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

            &:active {

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

            .fa {

Line should be indented with spaces, not tabs
Open

    #searchform {

Properties should be ordered align-items, display, height
Open

            height: calc( 100% - 43px );

Avoid using id selectors
Open

        #searchform {

Rule declaration should be followed by an empty line
Open

        }

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

            #searchform {

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

                &:hover,

@include declaration should be followed by an empty line
Open

                }

border: 0 is preferred over border: none
Open

            border: none;

@include declaration should be preceded by an empty line
Open

            @include media('>=tablet') {

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

                .search-field {

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

                .search-submit {

@include declaration should be followed by an empty line
Open

        }

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

                .search-field {

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

            .fa {

Rule declaration should be preceded by an empty line
Open

            .fa {

Line should be indented with spaces, not tabs
Open

    .mobile-header-hamburger & {

Rule declaration should be preceded by an empty line
Open

        .search-field {

Rule declaration should be preceded by an empty line
Open

            &:active {

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

                .search-field {

Avoid using id selectors
Open

    #searchform {

Properties should be ordered min-width, opacity, width, z-index
Open

                    opacity: 1;

Rule declaration should be followed by an empty line
Open

    }

Avoid using id selectors
Open

#primary,

Avoid using id selectors
Open

    #searchform {

Line should be indented with spaces, not tabs
Open

    #searchform {

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

                    right: initial;

border: 0 is preferred over border: none
Open

                    border: none;

Properties should be ordered min-width, opacity, width, z-index
Open

                    opacity: 1;

Properties should be ordered font-size, line-height, transition, vertical-align
Open

                vertical-align: middle;

Properties should be ordered display, flex-basis, margin-left, order, position, right
Open

                right: initial;

Avoid using id selectors
Open

#primary,

Properties should be ordered padding, text-align
Open

        text-align: center;

0px should be written without units as 0
Open

            margin-left: 0px;

Properties should be ordered height, margin-left, padding-left, padding-right, z-index
Open

            z-index: 1;

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

            &:active {

Properties should be ordered border-radius, float, height, margin-left, padding, z-index
Open

            z-index: 2;

There are no issues that match your filters.

Category
Status