YetiForceCompany/YetiForceCRM

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

Summary

Maintainability
Test Coverage

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

    @include button-variant(#ddd, #ddd);

!important should not be used
Open

        width: 100% !important;

Line should be indented with spaces, not tabs
Open

    &.active {

Line should be indented with spaces, not tabs
Open

    @include media-breakpoint-down(sm) {

Line should be indented with spaces, not tabs
Open

    @at-root .detailViewTitle #{&} {

!important should not be used
Open

                border-radius: 0.25rem !important;

Line should be indented with spaces, not tabs
Open

    .c-btn-block-xs-down {

Properties should be ordered border-radius, white-space, width
Open

                width: 100%;

Line should be indented with spaces, not tabs
Open

    @include button-outline-variant(#ced4da, #000, #f6f6f6);

Prefer single quoted strings
Open

    @include button-variant(material-color("light-green", "600"), material-color("light-green", "600"));

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

            margin-bottom: 0.25rem !important;

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

                border-radius: 0.25rem !important;

Line should be indented with spaces, not tabs
Open

    .c-btn-block-sm-down,

!important should not be used
Open

            margin-bottom: 0.25rem !important;

Line should be indented with spaces, not tabs
Open

    .c-btn-checkbox--checked {

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

            > {

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

    @include button-variant(#ddd, #ddd);

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

    @include button-outline-variant(#ced4da, #000, #f6f6f6);

!important should not be used
Open

        width: 100% !important;

Line should be indented with spaces, not tabs
Open

    > {

Line should be indented with spaces, not tabs
Open

    @include c-btn-floating-right-bottom($right: 25px);

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]} */

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

                    border-color: #dee2e6;

Line should be indented with spaces, not tabs
Open

    @include button-variant(#ddd, #ddd);

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

    @include button-outline-variant(#ced4da, #000, #f6f6f6);

Prefer single quoted strings
Open

    @include button-variant(material-color("light-green", "600"), material-color("light-green", "600"));

Line should be indented with spaces, not tabs
Open

    @include button-variant($color-indigo-dark, $color-indigo-dark);

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

    @include button-outline-variant(#ced4da, #000, #f6f6f6);

Line should be indented with spaces, not tabs
Open

    .c-btn-block-md-down {

Properties should be ordered margin-bottom, width
Open

            width: 100%;

!important should not be used
Open

        width: 100% !important;

Line should be indented with spaces, not tabs
Open

    @include button-outline-variant($color-indigo-dark);

Line should be indented with spaces, not tabs
Open

    @include button-variant(material-color("light-green", "600"), material-color("light-green", "600"));

There are no issues that match your filters.

Category
Status