YetiForceCompany/YetiForceCRM

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

Summary

Maintainability
Test Coverage

0.54 should be written without a leading zero as .54
Open

    border: 1px solid rgba(0, 0, 0, 0.54);

Line should be indented with spaces, not tabs
Open

    border-radius: 3px;

Line should be indented with spaces, not tabs
Open

    input[type="checkbox"]:checked::after,

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

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #384150;

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"] {

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"]:before {

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

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #404958;

Line should be indented with spaces, not tabs
Open

    width: 17px;

Line should be indented with spaces, not tabs
Open

    border-color: #d7d7d7;

Selector relatedContents should be written in lowercase with hyphens
Open

.relatedContents {

Line should be indented with spaces, not tabs
Open

    border-color: #fff;

Avoid qualifying attribute selectors with an element.
Open

.bootstrap-switch input[type="radio"],

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

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #384150;

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"]:disabled {

Properties should be ordered border-radius, content, display, height, margin, -webkit-transition, transition, width
Open

    margin: 6px 0 0 6px;

Line should be indented with spaces, not tabs
Open

    display: block;

Line should be indented with spaces, not tabs
Open

    height: 0;

Line should be indented with spaces, not tabs
Open

    -webkit-transition: all 0.25s;

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

    margin: 3px 0 0 3px;

!important should not be used
Open

    min-height: 17px !important;

Line should be indented with spaces, not tabs
Open

    content: "";

Line should be indented with spaces, not tabs
Open

    background-clip: border-box;

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

    background-color: #e6e6e6;

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

    opacity: 0.6;

Line should be indented with spaces, not tabs
Open

    content: "";

Line should be indented with spaces, not tabs
Open

    border-radius: 50%;

Line should be indented with spaces, not tabs
Open

    width: 1.5em;

Line should be indented with spaces, not tabs
Open

    background: linear-gradient(#f5f5f5 10%, #eee);

Line should be indented with spaces, not tabs
Open

    width: 4em;

0.75 should be written without a leading zero as .75
Open

    border-radius: 0.75em;

Properties should be ordered height, min-height, width
Open

        width: 20px;

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"]:checked::after,

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"]:checked::after,

Line should be indented with spaces, not tabs
Open

    transform: rotate(45deg);

0.075 should be written without a leading zero as .075
Open

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #384150;

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

    border: 2px solid #d7d7d7;

Line should be indented with spaces, not tabs
Open

    background-color: #e6e6e6;

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

    -webkit-transition: all 0.25s;

0.075 should be written without a leading zero as .075
Open

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #404958;

Line should be indented with spaces, not tabs
Open

    top: -0.3em;

0.15 should be written without a leading zero as .15
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

Line should be indented with spaces, not tabs
Open

    background: linear-gradient(rgba(#000, 0.07), rgba(#fff, 0.1)), #d0d0d0;

0.1 should be written without a leading zero as .1
Open

    background: linear-gradient(rgba(#000, 0.07), rgba(#fff, 0.1)), #d0d0d0;

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

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

    border: 1px solid rgba(0, 0, 0, 0.54);

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

    border-color: #d7d7d7;

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"]:checked::after,

Line should be indented with spaces, not tabs
Open

    border-spacing: 0;

Line should be indented with spaces, not tabs
Open

    width: 5px;

!important should not be used
Open

    opacity: 0 !important;

0.35 should be written without a leading zero as .35
Open

    opacity: 0.35;

Line should be indented with spaces, not tabs
Open

    -webkit-appearance: none;

Line should be indented with spaces, not tabs
Open

    -moz-appearance: none;

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

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #404958;

Line should be indented with spaces, not tabs
Open

    position: fixed;

Line should be indented with spaces, not tabs
Open

    position: absolute;

Line should be indented with spaces, not tabs
Open

    left: -0.3em;

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

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

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

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

Line should be indented with spaces, not tabs
Open

    height: 1em;

0.08 should be written without a leading zero as .08
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

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

    transition: 0.25s;

Rule declaration should be followed by an empty line
Open

}

Line should be indented with spaces, not tabs
Open

    margin: 0 auto;

Line should be indented with spaces, not tabs
Open

    margin: 6px 0 0 6px;

Line should be indented with spaces, not tabs
Open

    transition: all 0.25s;

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

    background: linear-gradient(rgba(#000, 0.07), rgba(#fff, 0.1)), #d0d0d0;

0.07 should be written without a leading zero as .07
Open

    background: linear-gradient(rgba(#000, 0.07), rgba(#fff, 0.1)), #d0d0d0;

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

    background: linear-gradient(rgba(#000, 0.07), rgba(#fff, 0.1)), #d0d0d0;

Line should be indented with spaces, not tabs
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

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

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

0.05 should be written without a leading zero as .05
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

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

    background: #fff;

Avoid qualifying attribute selectors with an element.
Open

    input[type="checkbox"]:checked::after,

Line should be indented with spaces, not tabs
Open

    height: 11px;

Line should be indented with spaces, not tabs
Open

    opacity: 0.35;

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"]:focus {

Line should be indented with spaces, not tabs
Open

    width: 16px;

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

    background-color: #fff;

Line should be indented with spaces, not tabs
Open

    border: 2px solid #d7d7d7;

Line should be indented with spaces, not tabs
Open

    width: 0;

Line should be indented with spaces, not tabs
Open

    width: 5.5em;

Line should be indented with spaces, not tabs
Open

    .c-checkbox-input:checked + .c-checkbox-slider::after {

Line should be indented with spaces, not tabs
Open

    border-top: 0;

Line should be indented with spaces, not tabs
Open

    height: 16px;

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"]:checked:disabled {

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

    transition: all 0.25s;

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"]:checked {

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"]:checked:before {

Line should be indented with spaces, not tabs
Open

    display: block;

Line should be indented with spaces, not tabs
Open

    border-radius: 1.5em;

Line should be indented with spaces, not tabs
Open

    transition: 350ms;

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

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

0.08 should be written without a leading zero as .08
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

Line should be indented with spaces, not tabs
Open

    top: 0;

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"]:checked {

Avoid qualifying attribute selectors with an element.
Open

.bootstrap-switch input[type="radio"],

Line should be indented with spaces, not tabs
Open

    opacity: 0 !important;

Line should be indented with spaces, not tabs
Open

    opacity: 0.6;

Avoid vendor prefixes.
Open

    -webkit-transition: all 0.25s;

Avoid qualifying attribute selectors with an element.
Open

input[type="radio"]:focus {

Line should be indented with spaces, not tabs
Open

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #404958;

Line should be indented with spaces, not tabs
Open

    border: 2px solid #4a5364;

Line should be indented with spaces, not tabs
Open

    visibility: hidden;

Line should be indented with spaces, not tabs
Open

    position: relative;

Line should be indented with spaces, not tabs
Open

    content: "";

Prefer single quoted strings
Open

    content: "";

Line should be indented with spaces, not tabs
Open

    height: 1.5em;

Properties should be ordered background, border-radius, content, height, position, transition, width
Open

    position: absolute;

0.1 should be written without a leading zero as .1
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

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

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

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

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

Line should be indented with spaces, not tabs
Open

    height: 17px;

Line should be indented with spaces, not tabs
Open

    -webkit-transform: rotate(45deg);

Line should be indented with spaces, not tabs
Open

    border-width: 2px;

Line should be indented with spaces, not tabs
Open

    background-color: #4a5364;

Line should be indented with spaces, not tabs
Open

    position: relative;

Properties should be ordered -moz-appearance, -webkit-appearance, appearance, background-clip, background-color, border, border-radius, height, position, vertical-align, width
Open

    position: relative;

Line should be indented with spaces, not tabs
Open

    appearance: none;

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

    border: 2px solid #4a5364;

Line should be indented with spaces, not tabs
Open

    transition: 250ms ease-in-out;

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

    background: linear-gradient(rgba(#000, 0.07), rgba(#fff, 0.1)), #d0d0d0;

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

        3em 0 0 0 rgba(#4c6, 0.7) inset;

Line should be indented with spaces, not tabs
Open

    .c-checkbox-slider::before {

Avoid qualifying attribute selectors with an element.
Open

    input[type="checkbox"] {

Avoid qualifying attribute selectors with an element.
Open

    input[type="checkbox"]:checked::after,

Line should be indented with spaces, not tabs
Open

    border-left: 0;

0.9 should be written without a leading zero as .9
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

0.2 should be written without a leading zero as .2
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

0.12 should be written without a leading zero as .12
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

Line should be indented with spaces, not tabs
Open

    content: "";

0.01 should be written without a leading zero as .01
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

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

        3em 0 0 0 rgba(#4c6, 0.7) inset;

Line should be indented with spaces, not tabs
Open

    -webkit-appearance: none;

Avoid qualifying attribute selectors with an element.
Open

    input[type="checkbox"]:checked::after,

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

    background-color: #4a5364;

Begin pseudo elements with double colons: ::
Open

input[type="radio"]:before {

Line should be indented with spaces, not tabs
Open

    margin: 3px 0 0 3px;

Line should be indented with spaces, not tabs
Open

    height: 6px;

Line should be indented with spaces, not tabs
Open

    width: 6px;

0.2 should be written without a leading zero as .2
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

0.3 should be written without a leading zero as .3
Open

    left: -0.3em;

Line should be indented with spaces, not tabs
Open

    border-radius: 50%;

Prefer single quoted strings
Open

    content: "";

Rule declaration should be followed by an empty line
Open

    }

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

    border-color: #384150;

Line should be indented with spaces, not tabs
Open

    background-color: #4a5364;

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

    background-color: #4a5364;

Line should be indented with spaces, not tabs
Open

    cursor: pointer;

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

    background: linear-gradient(#f5f5f5 10%, #eee);

Line should be indented with spaces, not tabs
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"] {

Line should be indented with spaces, not tabs
Open

    border: 1px solid rgba(0, 0, 0, 0.54);

Line should be indented with spaces, not tabs
Open

    input[type="checkbox"] {

!important should not be used
Open

        min-height: 20px !important;

Avoid vendor prefixes.
Open

    -webkit-transform: rotate(45deg);

Line should be indented with spaces, not tabs
Open

    vertical-align: text-bottom;

Prefer single quoted strings
Open

    content: "";

Begin pseudo elements with double colons: ::
Open

input[type="radio"]:checked:before {

Properties should be ordered background, border-radius, box-shadow, content, height, left, position, top, transition, width
Open

    position: absolute;

0.05 should be written without a leading zero as .05
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

Line should be indented with spaces, not tabs
Open

    border-radius: 0.75em;

0.15 should be written without a leading zero as .15
Open

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

Rule declaration should be followed by an empty line
Open

    }

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

    border-color: #fff;

Line should be indented with spaces, not tabs
Open

    display: table;

Line should be indented with spaces, not tabs
Open

    border-style: solid;

Prefer single quoted strings
Open

    content: "";

Line should be indented with spaces, not tabs
Open

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.075), 0 0 2px #384150;

Line should be indented with spaces, not tabs
Open

    border-radius: 50%;

Line should be indented with spaces, not tabs
Open

    background-color: #fff;

0.3 should be written without a leading zero as .3
Open

    top: -0.3em;

Line should be indented with spaces, not tabs
Open

    left: 3em;

Line should be indented with spaces, not tabs
Open

    .c-checkbox-slider {

Properties should be ordered -webkit-appearance, background, border, border-color, border-radius, height, min-height, transition, white-space, width
Open

    border: 1px solid rgba(0, 0, 0, 0.54);

Line should be indented with spaces, not tabs
Open

    transition: 0.25s;

Line should be indented with spaces, not tabs
Open

    white-space: nowrap;

Line should be indented with spaces, not tabs
Open

    min-height: 17px !important;

Line should be indented with spaces, not tabs
Open

    background: #fff;

Line should be indented with spaces, not tabs
Open

    box-sizing: border-box;

Properties should be ordered border-color, border-left, border-spacing, border-style, border-top, border-width, box-sizing, content, display, height, margin, top, -webkit-transform, transform, width
Open

    box-sizing: border-box;

Line should be indented with spaces, not tabs
Open

    border-color: #384150;

Avoid qualifying attribute selectors with an element.
Open

input[type="checkbox"]:checked:disabled {

Line should be indented with spaces, not tabs
Open

    outline: none;

Properties should be ordered box-shadow, outline
Open

    outline: none;

Properties should be ordered border-radius, cursor, display, height, position, transition, width
Open

    position: relative;

Line should be indented with spaces, not tabs
Open

    height: 1em;

Line should be indented with spaces, not tabs
Open

    transition: 250ms ease-in-out;

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

    background: linear-gradient(#f5f5f5 10%, #eee);

Line should be indented with spaces, not tabs
Open

    position: absolute;

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

    box-shadow: 0 0.08em 0.15em -0.1em rgba(#000, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(#fff, 0.7),

0.1 should be written without a leading zero as .1
Open

    box-shadow: 0 0.1em 0.15em -0.05em rgba(#fff, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(#000, 0.5);

There are no issues that match your filters.

Category
Status