openfoodfoundation/openfoodnetwork

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

Summary

Maintainability
Test Coverage

Avoid qualifying class selectors with an element.
Open

    tr td.active {

Selector listing_order_cycles should be written in lowercase with hyphens
Open

table#listing_order_cycles {

Selector no_results should be written in lowercase with hyphens
Open

#no_results {

Rule declaration should be preceded by an empty line
Open

      &:hover {

Avoid using id selectors
Open

#header #logo {

Rule declaration should be followed by an empty line
Open

}

Rule declaration should be followed by an empty line
Open

    }

Avoid qualifying id selectors with an element.
Open

table#listing_enterprise_groups {

Selector listing_enterprise_groups should be written in lowercase with hyphens
Open

table#listing_enterprise_groups {

Avoid using id selectors
Open

#header #logo {

Avoid using id selectors
Open

#header h1 {

Avoid qualifying class selectors with an element.
Open

span.error,

Avoid using id selectors
Open

table#listing_order_cycles {

Avoid using id selectors
Open

#no_results {

Avoid qualifying class selectors with an element.
Open

span.required {

Use // comments everywhere
Open

/* Fix conflict between Spree and elRTE's styles */

Rule declaration should be followed by an empty line
Open

  }

Rule declaration should be followed by an empty line
Open

  }

Rule declaration should be preceded by an empty line
Open

    li {

Rule declaration should be followed by an empty line
Open

    }

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

    background-color: #d9fccb;

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

        border-color: #a5a5a5;

Avoid qualifying class selectors with an element.
Open

  table.checkout-options {

Rule declaration should be followed by an empty line
Open

  }

Selector listing_payment_methods should be written in lowercase with hyphens
Open

table#listing_payment_methods {

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

      border-color: #d0d0d0;

Avoid using id selectors
Open

#new_enterprise_fee_set input.search {

Merge rule a.action--disabled with rule on line 53
Open

a.action--disabled {

Rule declaration should be followed by an empty line
Open

  }

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

        .name {

Avoid qualifying id selectors with an element.
Open

table#listing_order_cycles {

Selector new_enterprise_fee_set should be written in lowercase with hyphens
Open

#new_enterprise_fee_set input.search {

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

    tr td.active {

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

      input {

Avoid qualifying class selectors with an element.
Open

  tr.upcoming td {

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

    background-color: #eee;

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

      background-color: #fafafa;

Avoid qualifying class selectors with an element.
Open

input.orange {

Rule declaration should be followed by an empty line
Open

      }

Avoid using id selectors
Open

table#listing_payment_methods {

Avoid qualifying id selectors with an element.
Open

table#listing_payment_methods {

Avoid qualifying class selectors with an element.
Open

#new_enterprise_fee_set input.search {

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

      .exchange-product-details {

Rule declaration should be followed by an empty line
Open

  }

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

      color: #c0c0c0;

Avoid qualifying class selectors with an element.
Open

span.error,

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

  background-color: #ff9848;

Avoid qualifying class selectors with an element.
Open

  tr.closed td {

Avoid qualifying class selectors with an element.
Open

input.search {

Selector order_cycle should be written in lowercase with hyphens
Open

form.order_cycle {

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

      border: 1px solid #dae7ff;

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

      .exchange-product-variant {

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

    background-color: #fbfccb;

Avoid qualifying class selectors with an element.
Open

a.action--disabled {

Avoid qualifying class selectors with an element.
Open

form.order_cycle {

Rule declaration should be followed by an empty line
Open

    }

Avoid qualifying class selectors with an element.
Open

  td.actions {

0px should be written without units as 0
Open

      margin: 0px 5px 20px 5px;

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

      margin: 0px 5px 20px 5px;

Avoid qualifying class selectors with an element.
Open

table td.actions {

Rule declaration should be followed by an empty line
Open

  }

Avoid qualifying class selectors with an element.
Open

  table.exchanges {

Shorthand form for property margin should be written more concisely as 15px 5px 25px instead of 15px 5px 25px 5px
Open

      margin: 15px 5px 25px 5px;

Avoid using id selectors
Open

table#listing_enterprise_groups {

Selector fullwidth_inputs should be written in lowercase with hyphens
Open

.fullwidth_inputs {

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

        color: #a5a5a5;

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

        background-color: #fafafa;

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

      span {

Avoid qualifying class selectors with an element.
Open

  tr.open td {

Selector field_with_errors should be written in lowercase with hyphens
Open

.field_with_errors > input {

There are no issues that match your filters.

Category
Status