openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/sidebar-item.scss

Summary

Maintainability
Test Coverage

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

    color: #fff;

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

          color: #ffffff;

Shorthand form for property padding should be written more concisely as 15px instead of 15px 15px
Open

    padding: 15px 15px;

Avoid qualifying class selectors with an element.
Open

    a.alpha,

Shorthand form for property border-width should be written more concisely as 0px 3px instead of 0px 3px 0px 3px
Open

        border-width: 0px 3px 0px 3px;

Avoid qualifying class selectors with an element.
Open

        a.alpha,

0px should be written without units as 0
Open

    border-width: 0px 1px 0px 1px;

Color #ffffff should be written as #fff
Open

        color: #ffffff;

Avoid qualifying class selectors with an element.
Open

div.sidebar_item {

0px should be written without units as 0
Open

        border-width: 0px 3px 0px 3px;

Avoid qualifying class selectors with an element.
Open

    a.alpha,

Avoid qualifying class selectors with an element.
Open

    span.omega {

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

      background-color: #fff;

Color #ffffff should be written as #fff
Open

          color: #ffffff;

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

          background-color: #fcf6ef;

0px should be written without units as 0
Open

    border-width: 0px 1px 0px 1px;

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

        a.alpha,

0px should be written without units as 0
Open

      padding: 8px 18px 8px 0px;

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

        a.alpha,

Shorthand form for property border-width should be written more concisely as 0px 1px instead of 0px 1px 0px 1px
Open

    border-width: 0px 1px 0px 1px;

0px should be written without units as 0
Open

        border-width: 0px 3px 0px 3px;

Selector sidebar_item should be written in lowercase with hyphens
Open

div.sidebar_item {

0px should be written without units as 0
Open

    padding: 10px 0px;

0px should be written without units as 0
Open

    border-radius: 0px;

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

        color: #ffffff;

Avoid qualifying class selectors with an element.
Open

  a.button {

Avoid qualifying class selectors with an element.
Open

  div.header {

There are no issues that match your filters.

Category
Status