lightspeeddevelopment/lsx

View on GitHub
assets/css/scss/templates/_page.scss

Summary

Maintainability
Test Coverage

Avoid qualifying class selectors with an element.
Open

article.page {

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be followed by an empty line
Open

        }

border: 0 is preferred over border: none
Open

            border: none;

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

            > .nav {

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

                            color: white;

Prefer single quoted strings
Open

        @include media(">=desktop") {

Line should be indented with spaces, not tabs
Open

    display: none !important;

Avoid using id selectors
Open

        #primary,

Avoid using id selectors
Open

        #masthead {

Line should be indented with spaces, not tabs
Open

    &.mobile-header-navigation-bar {

Rule declaration should be preceded by an empty line
Open

                .navbar-toggle {

Color white should be written in hexadecimal form as #ffffff
Open

                        background-color: white;

Line should be indented with spaces, not tabs
Open

    .page-template-template-no-sidebar &,

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be followed by an empty line
Open

        }

Avoid using id selectors
Open

        #masthead {

Rule declaration should be preceded by an empty line
Open

                    > .icon-bar {

Prefer single quoted strings
Open

        @include media(">=tablet") {

Rule declaration should be followed by an empty line
Open

            }

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

            .primary-navbar {

Rule declaration should be preceded by an empty line
Open

            > .nav {

Line should be indented with spaces, not tabs
Open

    .cover-header {

@include declaration should be followed by an empty line
Open

        }

Shorthand form for property padding should be written more concisely as 10rem 0 13rem instead of 10rem 0 13rem 0
Open

                    padding: 10rem 0 13rem 0;

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

            .entry-title {

Merge rule #primary with rule on line 31
Open

    #primary {

Rule declaration should be followed by an empty line
Open

    }

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

            margin-right: -15px;

Prefer single quoted strings
Open

                @include media("<=tablet") {

Rule declaration should be followed by an empty line
Open

                }

Rule declaration should be followed by an empty line
Open

    }

Avoid using id selectors
Open

    #main {

Prefer single quoted strings
Open

                    @include media("<custom") {

!important should not be used
Open

    display: none !important;

Use // comments everywhere
Open

/* -------------------------------------------------------------------------- */

Line should be indented with spaces, not tabs
Open

    &.gutenberg-compatible-template.using-gutenberg.lsx-page-title,

Avoid using id selectors
Open

    #primary {

Avoid using id selectors
Open

        #searchform {

Color white should be written in hexadecimal form as #ffffff
Open

                color: white;

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

                .menu-item {

Prefer single quoted strings
Open

                        @include media(">=desktop") {

Line should be indented with spaces, not tabs
Open

    &.mobile-header-hamburger {

Properties should be ordered bottom, left, position, right, top
Open

                    position: absolute;

Rule declaration should be followed by an empty line
Open

                }

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

                .to-the-content-wrapper {

Rule declaration should be followed by an empty line
Open

                        }

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

                        &:hover {

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

            .entry-categories-inner {

Prefer single quoted strings
Open

                    @include media("<custom") {

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

                > .nav {

Rule declaration should be followed by an empty line
Open

    }

Color white should be written in hexadecimal form as #ffffff
Open

                            color: white;

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

                        background-color: white;

Prefer single quoted strings
Open

                    content: "";

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

                .the-excerpt-wrapper {

Rule declaration should be followed by an empty line
Open

            }

Rule declaration should be followed by an empty line
Open

                }

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

            .post-meta {

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

                    &:before {

Begin pseudo elements with double colons: ::
Open

                    &:before {

Rule declaration should be preceded by an empty line
Open

            .cover-header-inner {

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

                        i {

Color white should be written in hexadecimal form as #ffffff
Open

                color: white;

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

            .post-meta {

Rule declaration should be followed by an empty line
Open

                    }

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

                    > .nav {

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

            .search-submit {

Line should be indented with spaces, not tabs
Open

    .breadcrumbs-container,

@include declaration should be preceded by an empty line
Open

        @include media("<tablet") {

Rule declaration should be followed by an empty line
Open

        }

Rule declaration should be followed by an empty line
Open

        }

Properties should be ordered display, flex-direction, justify-content, min-height, position, width
Open

            position: relative;

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

            .cover-header-inner {

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

                    a {

Rule declaration should be followed by an empty line
Open

                }

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    &.mobile-header-hamburger {

Rule declaration should be preceded by an empty line
Open

                .primary-navbar {

Rule declaration should be preceded by an empty line
Open

        &.scroll-to-fixed-fixed {

@include declaration should be preceded by an empty line
Open

                @include media("<=tablet") {

Rule declaration should be preceded by an empty line
Open

            * {

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

                    &:hover,

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

                    &:before {

Line should be indented with spaces, not tabs
Open

    padding: 0;

Prefer single quoted strings
Open

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

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

                    > a,

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

            * {

Rule declaration should be followed by an empty line
Open

            }

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

                a {

Properties should be ordered font-size, margin, text-decoration, text-transform
Open

                    text-transform: uppercase;

@include declaration should be preceded by an empty line
Open

                    @include media("<custom") {

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

                a {

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

            &.masthead-open {

Rule declaration should be followed by an empty line
Open

                }

Avoid using id selectors
Open

            #masthead {

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

            .wrapper-toggle {

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

                .navbar-toggle {

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

                    > .icon-bar {

Rule declaration should be followed by an empty line
Open

                }

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

                color: white;

Rule declaration should be followed by an empty line
Open

            }

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

            .intro-text {

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

                .vcard {

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

                .post-meta-time {

Avoid qualifying class selectors with an element.
Open

body.template-cover .entry-header {

Avoid using id selectors
Open

        #primary,

Avoid using id selectors
Open

    .breadcrumbs-container,

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

                .cover-color-overlay,

Rule declaration should be preceded by an empty line
Open

                    a {

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

                    .to-the-content {

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

                * {

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

                &:hover {

Rule declaration should be followed by an empty line
Open

            }

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

            a {

Line should be indented with spaces, not tabs
Open

    color: inherit;

Use // comments everywhere
Open

/*    Template: Cover Template

Avoid using id selectors
Open

    #masthead {

!important should not be used
Open

            position: relative !important;

Merge rule &.mobile-header-hamburger with rule on line 34
Open

    &.mobile-header-hamburger {

Rule declaration should be preceded by an empty line
Open

                        i {

@include declaration should be preceded by an empty line
Open

                    @include media("<custom") {

Line should be indented with spaces, not tabs
Open

    #primary {

Line should be indented with spaces, not tabs
Open

    #masthead {

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

            .cover-header-inner {

@include declaration should be followed by an empty line
Open

                }

Rule declaration should be preceded by an empty line
Open

                .cover-color-overlay,

0.1 should be written without a leading zero as .1
Open

                            transition: transform 0.1s linear;

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

            .intro-text {

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

                .lsx-postnav-wrapper {

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

            .moretag {

Line should be indented with spaces, not tabs
Open

    #primary {

Avoid using id selectors
Open

    #primary {

Begin pseudo elements with double colons: ::
Open

                    &:before {

Prefer single quoted strings
Open

        @include media("<tablet") {

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

            .entry-title {

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

            .moretag {

Rule declaration should be preceded by an empty line
Open

                    &:hover,

Rule declaration should be followed by an empty line
Open

        }

Rule declaration should be followed by an empty line
Open

                    }

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

            .cover-header-inner-wrapper {

Rule declaration should be followed by an empty line
Open

    }

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

                .cover-color-overlay::before {

Line should be indented with spaces, not tabs
Open

    #main {

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

            a {

Prefer single quoted strings
Open

                        content: "\f073";

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

                    &:hover,

Line should be indented with spaces, not tabs
Open

    &.page-template-template-cover,

Line should be indented with spaces, not tabs
Open

    background: transparent;

Rule declaration should be followed by an empty line
Open

    }

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

                background-color: #374750;

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

                .primary-navbar {

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

            .search-submit {

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

                color: white;

Rule declaration should be followed by an empty line
Open

    }

Prefer single quoted strings
Open

                        content: "\f007";

Properties should be ordered box-shadow, margin-bottom, z-index
Open

        margin-bottom: -80px;

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

            > .nav {

Shorthand form for property padding should be written more concisely as 10rem 0 5rem instead of 10rem 0 5rem 0
Open

                padding: 10rem 0 5rem 0;

Expected item on line 130 to appear before line 127. Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Open

                width: 100%;

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

                            i {

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

            * {

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

            .entry-categories-inner {

Expected item on line 233 to appear before line 228. Rule sets should be ordered as follows: @extends, @includes without @content, properties, @includes with @content, nested rule sets
Open

                    margin-right: $lsx-gap;

Line should be indented with spaces, not tabs
Open

    color: inherit;

There are no issues that match your filters.

Category
Status