openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/dashboard_item.scss

Summary

Maintainability
Test Coverage

Avoid qualifying class selectors with an element.
Open

    span.omega {

0px should be written without units as 0
Open

      border-radius: 0px 4px 0px 0px;

0px should be written without units as 0
Open

      border-radius: 0px 4px 0px 0px;

0px should be written without units as 0
Open

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

0px should be written without units as 0
Open

      border-radius: 0px 0px 6px 6px;

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

      padding: 15px 2px 0px 2px;

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

      padding: 10px 2px 0px 5%;

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;

0px should be written without units as 0
Open

    padding: 0px 6px;

Selector dashboard_tab should be written in lowercase with hyphens
Open

    div.dashboard_tab {

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 0px 1px 0px;

0px should be written without units as 0
Open

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

0px should be written without units as 0
Open

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

0px should be written without units as 0
Open

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

0px should be written without units as 0
Open

    border-radius: 6px 6px 0px 0px;

Avoid qualifying class selectors with an element.
Open

    h3.alpha {

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

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

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

      color: #fff;

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

      padding: 5px 5px 0px 5px;

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.button {

Avoid qualifying class selectors with an element.
Open

div.dashboard_item {

Merge rule span.alpha with rule on line 114
Open

    span.alpha {

Avoid qualifying class selectors with an element.
Open

    span.alpha {

0px should be written without units as 0
Open

      border-radius: 0px 0px 6px 6px;

Avoid qualifying class selectors with an element.
Open

    div.dashboard_tab {

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 literals like #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

            background-color: #fff;

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 #fff should only be used in variable declarations; they should be referred to via variable everywhere else.
Open

    color: #fff;

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

    color: #fff;

0px should be written without units as 0
Open

      padding: 10px 0px;

0px should be written without units as 0
Open

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

Color #ffffff should be written as #fff
Open

        color: #ffffff;

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

  div.header {

0px should be written without units as 0
Open

      padding: 15px 2px 0px 2px;

0px should be written without units as 0
Open

      border-radius: 0px 4px 0px 0px;

0px should be written without units as 0
Open

      padding: 5px 5px 0px 5px;

0px should be written without units as 0
Open

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

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

      padding: 15px 15px;

Selector dashboard_item should be written in lowercase with hyphens
Open

div.dashboard_item {

Avoid qualifying attribute selectors with an element.
Open

    a[ofn-with-tip] {

0px should be written without units as 0
Open

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

0px should be written without units as 0
Open

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

Avoid qualifying class selectors with an element.
Open

    span.alpha {

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

        color: #ffffff;

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

          color: #fff;

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

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

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

      background-color: #fff;

0px should be written without units as 0
Open

    border-radius: 6px 6px 0px 0px;

0px should be written without units as 0
Open

      padding: 10px 5px 0px 3%;

There are no issues that match your filters.

Category
Status