YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/styles/components/_Fields.scss

Summary

Maintainability
Test Coverage

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

        border: 1px solid #dee2e6 !important;

Rule declaration should be preceded by an empty line
Open

            &-main {

0.25 should be written without a leading zero as .25
Open

        margin: 0.25em 0 0.25em 0;

Avoid vendor prefixes.
Open

            -webkit-clip-path: inset(50%);

0.25 should be written without a leading zero as .25
Open

            margin: 0 0.25em 0 0.25em;

Avoid vendor prefixes.
Open

            -moz-user-select: none;

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

    padding-right: 0.5rem;

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

            &-main {

Rule declaration should be followed by an empty line
Open

            }

!important should not be used
Open

        border: 1px solid #dee2e6 !important;

!important should not be used
Open

        border-radius: 0.25rem !important;

@at-root declaration should be preceded by an empty line
Open

    @at-root #{&}--file {

0.25 should be written without a leading zero as .25
Open

        border-radius: 0.25rem !important;

Rule declaration should be preceded by an empty line
Open

        > legend {

0.25 should be written without a leading zero as .25
Open

                transition: opacity 0.25s ease-in-out;

0.5 should be written without a leading zero as .5
Open

    padding-left: 0.5rem;

Line should be indented with spaces, not tabs
Open

    @at-root #{&}--file {

0.25 should be written without a leading zero as .25
Open

        margin: 0.25em 0 0.25em 0;

0.5 should be written without a leading zero as .5
Open

    padding-right: 0.5rem;

0.25 should be written without a leading zero as .25
Open

        padding: 0.25rem !important;

Properties should be ordered align-items, display, font-size, justify-content
Open

            display: flex;

0.625 should be written without a leading zero as .625
Open

                font-size: 0.625em;

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

                opacity: 0.875;

Rule declaration should be preceded by an empty line
Open

                &:empty {

Use // comments everywhere
Open

/* Multi attachments field styles */

Properties should be ordered border, -webkit-clip-path, clip-path, height, overflow, padding, position, white-space, width
Open

            position: absolute;

Shorthand form for property margin should be written more concisely as 0 0.25em instead of 0 0.25em 0 0.25em
Open

            margin: 0 0.25em 0 0.25em;

Rule declaration should be followed by an empty line
Open

        }

Properties should be ordered border, border-radius, display, justify-content, margin, min-width, padding
Open

        justify-content: space-between !important;

!important should not be used
Open

        justify-content: space-between !important;

Shorthand form for property margin should be written more concisely as 0.25em 0 instead of 0.25em 0 0.25em 0
Open

        margin: 0.25em 0 0.25em 0;

Rule declaration should be followed by an empty line
Open

        }

Use // comments everywhere
Open

/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */

Line should be indented with spaces, not tabs
Open

    padding-left: 0.5rem;

Avoid vendor prefixes.
Open

            -ms-user-select: none;

Properties should be ordered font-size, line-height, overflow, text-align, text-overflow, white-space, width
Open

                text-align: left;

!important should not be used
Open

        padding: 0.25rem !important;

Avoid vendor prefixes.
Open

            -webkit-user-select: none;

Properties should be ordered align-items, display, flex, flex-direction, margin, min-width, pointer-events, position, -moz-user-select, -ms-user-select, -webkit-user-select, user-select
Open

            position: static;

0.25 should be written without a leading zero as .25
Open

            margin: 0 0.25em 0 0.25em;

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

            &-sub {

There are no issues that match your filters.

Category
Status