openfoodfoundation/openfoodnetwork

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

Summary

Maintainability
Test Coverage

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

      color: white;

Color white should be written in hexadecimal form as #ffffff
Open

      color: white;

Rule declaration should be followed by an empty line
Open

    }

Rule declaration should be preceded by an empty line
Open

    i.icon-ok-sign {

Color white should be written in hexadecimal form as #ffffff
Open

  color: white !important;

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

        rgba(255, 255, 255, 0.25) 5px,

Avoid qualifying class selectors with an element.
Open

tags-input .tags li.tag-item {

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

        rgba(255, 255, 255, 0.25) 10px

Avoid qualifying class selectors with an element.
Open

    i.icon-ok-sign {

Color white should be written in hexadecimal form as #ffffff
Open

  color: white;

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

        rgba(84, 152, 218, 0),

Selector enterprise_producer_panel should be written in lowercase with hyphens
Open

.enterprise_package_panel,

Color black should be written in hexadecimal form as #000000
Open

    border: 2px solid black;

Rule declaration should be followed by an empty line
Open

    }

border: 0 is preferred over border: none
Open

  border: none;

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

  color: white;

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

        rgba(84, 152, 218, 0) 5px,

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

        border-right: 20px solid #000000;

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

tags-input .tags .tag-item .remove-button {

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

      background-color: #c1c1c1;

Rule declaration should be followed by an empty line
Open

    }

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

      background-color: #000000;

Selector enterprise_package_panel should be written in lowercase with hyphens
Open

.enterprise_package_panel,

Rule declaration should be followed by an empty line
Open

    }

Avoid qualifying class selectors with an element.
Open

table th.actions .no-text[class*="icon-"],

Rule declaration should be preceded by an empty line
Open

    &,

Selector enterprise_status_panel should be written in lowercase with hyphens
Open

.enterprise_status_panel {

Avoid qualifying class selectors with an element.
Open

  td.severity {

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

  color: white !important;

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

    border: 2px solid black;

Begin pseudo elements with double colons: ::
Open

      &:after {

Color #000000 should be written as #000
Open

      background-color: #000000;

0px should be written without units as 0
Open

    margin: 30px 0px;

Color #000000 should be written as #000
Open

        border-right: 20px solid #000000;

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

  background-color: #5fa5e8;

Avoid qualifying class selectors with an element.
Open

  a.selector {

Avoid qualifying class selectors with an element.
Open

  td.description {

0px should be written without units as 0
Open

      margin: 10px 0px;

Begin pseudo elements with double colons: ::
Open

      &:after {

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

        color: #ff9848;

Avoid qualifying class selectors with an element.
Open

table th.actions .no-text[class*="icon-"],

There are no issues that match your filters.

Category
Status