lightspeeddevelopment/lsx

View on GitHub
assets/css/admin/gutenberg-admin.scss

Summary

Maintainability
Test Coverage

Begin pseudo elements with double colons: ::
Open

        &:after {

Rule declaration should be preceded by an empty line
Open

            &:last-child {

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

            &:not(.has-text-align-center) {

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

            &.has-text-align-right {

Line should be indented with spaces, not tabs
Open

    .wp-block-button {

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

            color: #777;

Begin pseudo elements with double colons: ::
Open

                &:after {

Begin pseudo elements with double colons: ::
Open

                &:after {

Line should be indented with spaces, not tabs
Open

    font-family: "Noto Sans", sans-serif;

Selector block-editor-block-list__block should be written in lowercase with hyphens
Open

                .block-editor-block-list__block[data-align="full"] {

Prefer single quoted strings
Open

            content: "";

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

            color: #333;

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

            .block-editor-block-list__layout {

Selector block-editor-block-list__layout should be written in lowercase with hyphens
Open

            .block-editor-block-list__layout {

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be followed by an empty line
Open

    }

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

                    margin-right: 0;

Use // comments everywhere
Open

/*! Body Typography */

Line should be indented with spaces, not tabs
Open

    .lsx-title {

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

            &:last-child {

Selector wp-block-button__link should be written in lowercase with hyphens
Open

        .wp-block-button__link {

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

                .block-editor-block-list__block[data-align="full"] {

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

            background-color: #777;

Use // comments everywhere
Open

    /*! Headings - <h1> through </h6> */

Selector block-editor-block-list__block should be written in lowercase with hyphens
Open

    .wp-block-cover .block-editor-block-list__block {

Line should be indented with spaces, not tabs
Open

    .lsx-subheading {

Rule declaration should be followed by an empty line
Open

        }

Prefer single quoted strings
Open

@import "../scss/global/variables";

Prefer single quoted strings
Open

@import "../scss/global/mixins";

Line should be indented with spaces, not tabs
Open

    font-weight: normal;

Properties should be ordered background-color, content, display, height, margin, width
Open

            content: "";

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

                    background-color: #dadddf;

Merge rule .wp-block-cover .block-editor-block-list__block with rule on line 46
Open

    .wp-block-cover .block-editor-block-list__block {

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

        color: #444444;

Rule declaration should be preceded by an empty line
Open

                &:after {

Avoid qualifying class selectors with an element.
Open

body.block-editor-page {

Rule declaration should be followed by an empty line
Open

}

Avoid using id selectors
Open

#editor {

Properties should be ordered color, font-size, line-height
Open

            font-size: 26px;

Rule declaration should be followed by an empty line
Open

            }

Line should be indented with spaces, not tabs
Open

    .editor-styles-wrapper,

Line should be indented with spaces, not tabs
Open

    h1,

0.6 should be written without a leading zero as .6
Open

            letter-spacing: 0.6px;

Line should be indented with spaces, not tabs
Open

    .wp-block-cover .block-editor-block-list__block {

Unnecessary parent selector (&)
Open

        & > small {

Properties should be ordered background-color, content, display, height, margin, width
Open

                    content: "";

Rule declaration should be followed by an empty line
Open

            }

Line should be indented with spaces, not tabs
Open

    .wp-block-cover {

Selector wp-block-cover__inner-container should be written in lowercase with hyphens
Open

        .wp-block-cover__inner-container {

Properties should be ordered color, font-size, line-height
Open

            font-size: 48px;

Prefer single quoted strings
Open

                    content: "";

Rule declaration should be followed by an empty line
Open

            }

Rule declaration should be preceded by an empty line
Open

    .editor-styles-wrapper,

Color #444444 should be written as #444
Open

        color: #444444;

Begin pseudo elements with double colons: ::
Open

                &:after {

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

            .block-editor-block-list__layout {

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

            &.has-text-align-left {

Begin pseudo elements with double colons: ::
Open

                &:after {

Rule declaration should be preceded by an empty line
Open

                &:after {

There are no issues that match your filters.

Category
Status