lightspeeddevelopment/lsx

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

Summary

Maintainability
Test Coverage

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

            .sitemap-child {

Rule declaration should be followed by an empty line
Open

    }

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

        p img[class*="wp-image-"] {

Line should be indented with spaces, not tabs
Open

    .has-sidebar & {

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

            .wp-caption,

Merge rule .widget-area with rule on line 134
Open

.widget-area {

Line should be indented with spaces, not tabs
Open

    .submit-button {

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

            &:before {

Avoid using id selectors
Open

#facetwp-top, .facetwp-sidebar {

Color #ffffff should be written as #fff
Open

    background-color: #ffffff;

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

    color: #919191;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    font-family: FontAwesome;

0.7 should be written without a leading zero as .7
Open

    box-shadow: 1px 1px 5px rgba(155,155,155,0.7);

Line should be indented with spaces, not tabs
Open

    .archive-header {

Unnecessary parent selector (&)
Open

            & > p {

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

            .archive-title,

Rule declaration should be followed by an empty line
Open

        }

Avoid qualifying attribute selectors with an element.
Open

        p img[class*="wp-image-"] {

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

            .wp-caption,

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

                & + p { margin-top: $lsx-gap; }

Unnecessary parent selector (&)
Open

            & > .widget-title {

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

                    &:first-child { display: none; }

Rule declaration should be preceded by an empty line
Open

            &:before {

Properties should be ordered clip, height, overflow, position, white-space, width
Open

    position: absolute !important;

Line should be indented with spaces, not tabs
Open

    &.home {

Line should be indented with spaces, not tabs
Open

    .entry-content {

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

            & > p {

Color #FFF should be written as #fff
Open

                color: #FFF;

Line should be indented with spaces, not tabs
Open

    + .content-area {

Line should be indented with spaces, not tabs
Open

    &:not(.page-has-banner) {

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

            & > .wp-caption-text {

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

                &.alignnone {

Line should be indented with spaces, not tabs
Open

    padding: 5px;

Line should be indented with spaces, not tabs
Open

    font-size: 0.875rem;

Line should be indented with spaces, not tabs
Open

    box-shadow: 1px 1px 5px rgba(155,155,155,0.7);

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

            &.alignright {

Colon after property should be followed by one space
Open

            padding:5px;

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

            & > p {

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

    background-color: #ffffff;

Line should be indented with spaces, not tabs
Open

    overflow: hidden;

Line should be indented with spaces, not tabs
Open

    top: 5px;

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

            .sitemap-child {

Line should be indented with spaces, not tabs
Open

    .content >.content-area {

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

            .content-area,

Unnecessary parent selector (&)
Open

            & > p {

Line should be indented 2 spaces, but was indented 4 spaces
Open

    color: #919191;

Line should be indented with spaces, not tabs
Open

    padding: 15px;

!important should not be used
Open

    clip: auto !important;

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    .lsx.page-has-banner:not(.single-post) & { display: none; }

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

    &.page-has-banner {

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

            &.alignleft {

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

            &.alignnone {

Each selector in a comma sequence should be on its own single line
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

Unnecessary parent selector (&)
Open

        & + .widget { margin-top: $lsx-large-gap / 2; }

Begin pseudo elements with double colons: ::
Open

            &:before {

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

    border: 1px solid #E4E4E4;

Begin pseudo elements with double colons: ::
Open

.facetwp-per-page:after, .facetwp-sort:after {

Line should be indented with spaces, not tabs
Open

    .facetwp-type-search .facetwp-search-wrap .facetwp-search {

Line should be indented with spaces, not tabs
Open

    font-weight: bold;

Line should be indented with spaces, not tabs
Open

    line-height: normal;

Line should be indented with spaces, not tabs
Open

    text-decoration: none;

Commas in function arguments should be followed by one space
Open

    box-shadow: 1px 1px 5px rgba(155,155,155,0.7);

Line should be indented with spaces, not tabs
Open

    &.page-has-no-banner {

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

            & > .wp-caption-text {

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

        .wp-caption,

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

            &.aligncenter {

Line should be indented with spaces, not tabs
Open

    & > .widget {

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

                & > .rsswidget {

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

                        &:before {

Line should be indented 2 spaces, but was indented 4 spaces
Open

    position: relative;

0.875 should be written without a leading zero as .875
Open

    font-size: 0.875rem;

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

            &.aligncenter {

Avoid qualifying attribute selectors with an element.
Open

            .wp-caption,

Selector widget_rss should be written in lowercase with hyphens
Open

        &.widget_rss {

Line should be indented with spaces, not tabs
Open

    border: 1px solid #E4E4E4;

Begin pseudo elements with double colons: ::
Open

.facetwp-per-page:after, .facetwp-sort:after {

Line should be indented with spaces, not tabs
Open

    position: absolute !important;

Unnecessary parent selector (&)
Open

            & > .wp-caption-text {

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

            &.alignleft,

Each selector in a comma sequence should be on its own single line
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

Begin pseudo elements with double colons: ::
Open

                        &:before {

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

            .woocommerce_info {

Avoid using id selectors
Open

#facetwp-top {

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

    .facetwp-type-search .facetwp-search-wrap .facetwp-search {

Line should be indented with spaces, not tabs
Open

    clip: rect(1px, 1px, 1px, 1px);

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

                color: #FFF;

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

            .archive-title,

@include declaration should be preceded by an empty line
Open

        @include media('<=tablet') {

Each selector in a comma sequence should be on its own single line
Open

.single-post:not(.using-gutenberg), .archive {

Avoid qualifying class selectors with an element.
Open

article.page,

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

            &.alignleft,

Each selector in a comma sequence should be on its own single line
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

Unnecessary parent selector (&)
Open

    & > .widget {

Selector woocommerce_info should be written in lowercase with hyphens
Open

            .woocommerce_info {

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

            .woocommerce_info {

Rule declaration should be followed by an empty line
Open

}

Line should be indented 2 spaces, but was indented 4 spaces
Open

    right: 20px;

Line should be indented with spaces, not tabs
Open

    width: 1px;

Commas in function arguments should be followed by one space
Open

    box-shadow: 1px 1px 5px rgba(155,155,155,0.7);

Line should be indented with spaces, not tabs
Open

    .archive-header-wrapper {

Line should be indented with spaces, not tabs
Open

    margin-top: $lsx-large-gap;

Line should be indented with spaces, not tabs
Open

    .home &,

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

            .content-area,

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

            & > p {

Avoid qualifying attribute selectors with an element.
Open

        .wp-caption,

Line should be indented with spaces, not tabs
Open

    margin-bottom: $lsx-large-gap;

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

            &.alignnone {

Line should be indented with spaces, not tabs
Open

    .content-area,

Line should be indented with spaces, not tabs
Open

    background-color: #ffffff;

Line should be indented with spaces, not tabs
Open

    .content-area,

Properties should be ordered font-family, font-size, font-style, font-weight, margin-top
Open

                font-size: 13px;

Line should be indented with spaces, not tabs
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

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

            & > p {

Line should be indented with spaces, not tabs
Open

    .page-content {

Each selector in a comma sequence should be on its own single line
Open

.facetwp-per-page:after, .facetwp-sort:after {

Line should be indented 2 spaces, but was indented 4 spaces
Open

    content: '\f0d7';

Line should be indented with spaces, not tabs
Open

    white-space: nowrap;

Line should be indented with spaces, not tabs
Open

    display: block;

Line should be indented with spaces, not tabs
Open

    width: auto;

!important should not be used
Open

    position: absolute !important;

Line should be indented with spaces, not tabs
Open

    left: 5px;

Line should be indented with spaces, not tabs
Open

    padding: 15px 23px 14px;

Commas in function arguments should be followed by one space
Open

    box-shadow: 1px 1px 5px rgba(155,155,155,0.7);

Shorthand form for property padding should be written more concisely as 50px 9999rem instead of 50px 9999rem 50px
Open

            @include media('<=tablet') { padding: 50px 9999rem 50px;     margin-top: 50px; }

Avoid qualifying class selectors with an element.
Open

article.page,

Each selector in a comma sequence should be on its own single line
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

Unnecessary parent selector (&)
Open

                & + p { margin-top: $lsx-gap; }

Unnecessary parent selector (&)
Open

                & > .rsswidget {

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

                    &:last-child {

Each selector in a comma sequence should be on its own single line
Open

#facetwp-top, .facetwp-sidebar {

Line should be indented with spaces, not tabs
Open

    clip: auto !important;

Line should be indented with spaces, not tabs
Open

    font-size: 14px;

Property font-size already defined on line 325
Open

    font-size: 0.875rem;

Line should be indented with spaces, not tabs
Open

    z-index: 100000; /* Above WP toolbar. */

Properties should be ordered padding-bottom, padding-top
Open

            padding-top: $lsx-medium-gap;

Avoid qualifying class selectors with an element.
Open

article.page,

Each selector in a comma sequence should be on its own single line
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

Each selector in a comma sequence should be on its own single line
Open

    h1, h2, h3, h4, h5, h6, .widget-title { text-align: center; }

Rule declaration should be followed by an empty line
Open

    }

Line should be indented 2 spaces, but was indented 4 spaces
Open

    font-size: 20px;

Line should be indented 2 spaces, but was indented 4 spaces
Open

    top: 3px;

Rule declaration should be preceded by an empty line
Open

    .facetwp-type-search .facetwp-search-wrap .facetwp-search {

Line should be indented with spaces, not tabs
Open

    border-radius: 3px;

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

    box-shadow: 1px 1px 5px rgba(155,155,155,0.7);

Rule declaration should be followed by an empty line
Open

    }

Properties should be ordered left, position
Open

                position: relative;

Line should be indented with spaces, not tabs
Open

    .lsx.single-post & {

Properties should be ordered margin-top, padding
Open

            @include media('<=tablet') { padding: 50px 9999rem 50px;     margin-top: 50px; }

Line should be indented with spaces, not tabs
Open

    .entry-content {

Line should be indented with spaces, not tabs
Open

    text-align: center;

Line should be indented with spaces, not tabs
Open

    .search.search-no-results:not(.has-sidebar) & {

Prefer single quoted strings
Open

                content: "\f002";

Color #E4E4E4 should be written as #e4e4e4
Open

    border: 1px solid #E4E4E4;

Line should be indented with spaces, not tabs
Open

    height: auto;

Use // comments everywhere
Open

    z-index: 100000; /* Above WP toolbar. */

!important should not be used
Open

        display: none !important;

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

            &.alignleft {

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

            &.alignright {

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

            & > .widget-title {

Line should be indented with spaces, not tabs
Open

    .facetwp-template {

Properties should be ordered color, content, font-family, font-size, position, right, top
Open

    content: '\f0d7';

Line should be indented with spaces, not tabs
Open

    height: 1px;

There are no issues that match your filters.

Category
Status