lightspeeddevelopment/lsx-customizer

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

Summary

Maintainability
Test Coverage

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

            padding-top: $lsx-medium-gap;

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

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

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

            &.aligncenter {

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

            &.alignright {

Unnecessary parent selector (&)
Open

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

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

            & > .widget-title {

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

                    &:last-child {

Line should be indented with spaces, not tabs
Open

    .submit-button {

Rule declaration should be preceded by an empty line
Open

            &:before {

Avoid using id selectors
Open

#facetwp-top, .facetwp-sidebar {

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

    right: 20px;

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

            .sitemap-child {

Color #FFF should be written as #fff
Open

                color: #FFF;

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

            .archive-title,

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') {

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

            &.alignnone {

Unnecessary parent selector (&)
Open

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

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

            .woocommerce_info {

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 {

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

    content: '\f0d7';

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

            .sitemap-child {

Rule declaration should be followed by an empty line
Open

}

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;

Color #E4E4E4 should be written as #e4e4e4
Open

    border: 1px solid #E4E4E4;

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

    color: #919191;

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

            & > p {

Line should be indented with spaces, not tabs
Open

    margin-bottom: $lsx-large-gap;

Rule declaration should be followed by an empty line
Open

}

Unnecessary parent selector (&)
Open

            & > .wp-caption-text {

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

            &.alignright {

Line should be indented with spaces, not tabs
Open

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

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

                        &:before {

Begin pseudo elements with double colons: ::
Open

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

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

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

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,

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

            & > .wp-caption-text {

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

                font-size: 13px;

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

        .wp-caption,

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

            .wp-caption,

Line should be indented with spaces, not tabs
Open

    text-align: center;

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

    .archive-header-wrapper {

!important should not be used
Open

        display: none !important;

Line should be indented with spaces, not tabs
Open

    .content-area,

Unnecessary parent selector (&)
Open

                & > .rsswidget {

Avoid using id selectors
Open

#facetwp-top {

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

    position: relative;

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

    top: 3px;

Line should be indented with spaces, not tabs
Open

    &.home {

Unnecessary parent selector (&)
Open

            & > p {

Line should be indented with spaces, not tabs
Open

    + .content-area {

Line should be indented with spaces, not tabs
Open

    .entry-content {

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    .entry-content {

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

            & > .wp-caption-text {

Line should be indented with spaces, not tabs
Open

    .lsx.single-post & {

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

                    &:first-child { display: none; }

Rule declaration should be followed by an empty line
Open

    }

Line should be indented with spaces, not tabs
Open

    .content-area,

Avoid qualifying class selectors with an element.
Open

article.page,

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

                & > .rsswidget {

Begin pseudo elements with double colons: ::
Open

                        &:before {

Line should be indented with spaces, not tabs
Open

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

Rule declaration should be followed by an empty line
Open

    }

Colon after property should be followed by one space
Open

            padding:5px;

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

Prefer single quoted strings
Open

                content: "\f002";

Line should be indented with spaces, not tabs
Open

    margin-top: $lsx-large-gap;

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be followed by an empty line
Open

        }

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

            &.aligncenter {

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

                &.alignnone {

Line should be indented with spaces, not tabs
Open

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

Rule declaration should be followed by an empty line
Open

}

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

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

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

            &.alignleft,

Line should be indented with spaces, not tabs
Open

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

Unnecessary parent selector (&)
Open

            & > p {

Line should be indented with spaces, not tabs
Open

    .facetwp-template {

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

    padding: 15px;

Properties should be ordered margin-top, padding
Open

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

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

            & > p {

Line should be indented with spaces, not tabs
Open

    &.page-has-banner {

Avoid qualifying attribute selectors with an element.
Open

        .wp-caption,

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

Line should be indented with spaces, not tabs
Open

    & > .widget {

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

            .woocommerce_info {

Line should be indented with spaces, not tabs
Open

    background-color: #ffffff;

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

    font-family: FontAwesome;

Line should be indented with spaces, not tabs
Open

    .archive-header {

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

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

                color: #FFF;

Avoid qualifying class selectors with an element.
Open

article.page,

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,

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

Unnecessary parent selector (&)
Open

    & > .widget {

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 2 spaces, but was indented 4 spaces
Open

    font-size: 20px;

Line should be indented with spaces, not tabs
Open

    .home &,

Line should be indented with spaces, not tabs
Open

    &.page-has-no-banner {

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

            .content-area,

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

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

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

Selector widget_rss should be written in lowercase with hyphens
Open

        &.widget_rss {

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

            &:before {

Selector woocommerce_info should be written in lowercase with hyphens
Open

            .woocommerce_info {

Rule declaration should be followed by an empty line
Open

    }

Properties should be ordered left, position
Open

                position: relative;

Avoid qualifying class selectors with an element.
Open

article.page,

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

            &.alignnone {

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

.widget-area {

Unnecessary parent selector (&)
Open

            & > .widget-title {

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 with spaces, not tabs
Open

    font-size: 14px;

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

    font-size: 0.875rem;

Line should be indented with spaces, not tabs
Open

    line-height: normal;

Commas in function arguments should be followed by one space
Open

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

Avoid qualifying attribute selectors with an element.
Open

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

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

            &.alignleft,

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

            &.alignleft {

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

    position: absolute !important;

Avoid qualifying attribute selectors with an element.
Open

            .wp-caption,

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

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

            & > p {

Line should be indented with spaces, not tabs
Open

    white-space: nowrap;

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

            & > p {

Line should be indented with spaces, not tabs
Open

    width: auto;

Line should be indented with spaces, not tabs
Open

    .page-content {

Color #ffffff should be written as #fff
Open

    background-color: #ffffff;

Line should be indented with spaces, not tabs
Open

    padding: 5px;

Rule declaration should be preceded by an empty line
Open

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

!important should not be used
Open

    clip: auto !important;

Line should be indented with spaces, not tabs
Open

    top: 5px;

Line should be indented with spaces, not tabs
Open

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

Line should be indented with spaces, not tabs
Open

    width: 1px;

Line should be indented with spaces, not tabs
Open

    clip: auto !important;

Property font-size already defined on line 325
Open

    font-size: 0.875rem;

Line should be indented with spaces, not tabs
Open

    overflow: hidden;

Line should be indented with spaces, not tabs
Open

    font-size: 0.875rem;

Line should be indented with spaces, not tabs
Open

    display: block;

Line should be indented with spaces, not tabs
Open

    height: auto;

Line should be indented with spaces, not tabs
Open

    text-decoration: none;

Line should be indented with spaces, not tabs
Open

    font-weight: bold;

Line should be indented with spaces, not tabs
Open

    left: 5px;

Line should be indented with spaces, not tabs
Open

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

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

Use // comments everywhere
Open

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

Line should be indented with spaces, not tabs
Open

    position: absolute !important;

Commas in function arguments should be followed by one space
Open

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

!important should not be used
Open

    position: absolute !important;

Line should be indented with spaces, not tabs
Open

    border-radius: 3px;

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

Line should be indented with spaces, not tabs
Open

    height: 1px;

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

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

There are no issues that match your filters.

Category
Status