openfoodfoundation/openfoodnetwork

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

Summary

Maintainability
Test Coverage

Selector no_tags should be written in lowercase with hyphens
Open

.no_tags {

Color #ffffff should be written as #fff
Open

  background-color: #ffffff;

Rule declaration should be preceded by an empty line
Open

      tr {

0px should be written without units as 0
Open

      padding: 0px;

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

          input {

Selector add_rule should be written in lowercase with hyphens
Open

  .add_rule {

Avoid using id selectors
Open

#new-tag-rule-dialog {

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

  color: #aeaeae;

Selector customer_tag should be written in lowercase with hyphens
Open

.customer_tag,

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

          background-color: #ebf3fb;

0px should be written without units as 0
Open

        padding: 0px;

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

        td {

0px should be written without units as 0
Open

      margin: 0px 0px 0px 0px;

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

        td {

0px should be written without units as 0
Open

      margin: 0px 0px 0px 0px;

0px should be written without units as 0
Open

      margin: 0px 0px 0px 0px;

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

          h5 {

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

  background-color: #ffffff;

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

      margin: 0px 0px 0px 0px;

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

        td {

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

      tr {

border: 0 is preferred over border: none
Open

          border: none;

0px should be written without units as 0
Open

      margin: 0px 0px 10px 0px;

0px should be written without units as 0
Open

      margin: 0px 0px 0px 0px;

0px should be written without units as 0
Open

        margin: 0px;

Rule declaration should be preceded by an empty line
Open

          h5 {

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

    color: #aeaeae;

Selector tag_rule should be written in lowercase with hyphens
Open

  .tag_rule {

0px should be written without units as 0
Open

      margin: 0px 0px 10px 0px;

Selector default_rules should be written in lowercase with hyphens
Open

.customer_tag,

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

      margin: 0px 0px 10px 0px;

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

      tr {

border: 0 is preferred over border: none
Open

          border: none;

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

          padding: 2px 10px 2px 10px;

Avoid qualifying class selectors with an element.
Open

    input,

0px should be written without units as 0
Open

      padding: 0px;

0px should be written without units as 0
Open

      margin: 0px 0px 10px 0px;

border: 0 is preferred over border: none
Open

        border: none;

0px should be written without units as 0
Open

          margin: 0px;

Selector customer_tag should be written in lowercase with hyphens
Open

.customer_tag {

Selector no_rules should be written in lowercase with hyphens
Open

  .no_rules {

There are no issues that match your filters.

Category
Status